Skip to content

Initialize repo as a workspace#1

Merged
jerrysxie merged 2 commits into
OpenDevicePartnership:mainfrom
jerrysxie:initialize-the-repo
May 23, 2025
Merged

Initialize repo as a workspace#1
jerrysxie merged 2 commits into
OpenDevicePartnership:mainfrom
jerrysxie:initialize-the-repo

Conversation

@jerrysxie
Copy link
Copy Markdown
Contributor

@jerrysxie jerrysxie commented May 21, 2025

  • Set up as workspace

  • Add dummy crate as a submodule

  • Update README

- Set up as workspace

- Add storage-bus as a submodule

- Update README
@jerrysxie jerrysxie marked this pull request as ready for review May 21, 2025 20:37
Copilot AI review requested due to automatic review settings May 21, 2025 20:37
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR initializes the repository as a workspace and integrates storage-bus as a submodule while updating documentation.

  • Introduces interfaces for NOR and NAND storage bus drivers.
  • Sets up the workspace structure and updates Cargo.toml files.
  • Revises README files to reflect the new setup.

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
storage-bus/src/nor.rs Adds enums, structs, and traits for NOR storage bus communication.
storage-bus/src/nand.rs Introduces empty traits for NAND storage bus drivers.
storage-bus/src/lib.rs Exposes the new storage modules.
storage-bus/README.md Provides documentation for the generic storage bus interface.
storage-bus/Cargo.toml Sets up package metadata for the storage-bus submodule.
src/main.rs & src/baremetal/mod.rs Removes previous binary and baremetal support as part of workspace refactor.
README.md Updates documentation to reflect the new MCU-agnostic focus.
Cargo.toml Configures the workspace and dependency resolution.
.vscode/settings.json Adjusts settings, including removal of a hardcoded target.
Comments suppressed due to low confidence (1)

storage-bus/src/nor.rs:56

  • [nitpick] Consider renaming 'cmdtype' to 'cmd_type' for improved clarity and to better follow Rust's snake_case naming convention.
pub cmdtype: Option<NorStorageCmdType>,

Comment thread README.md
@jerrysxie jerrysxie enabled auto-merge (squash) May 21, 2025 20:45
RobertZ2011
RobertZ2011 previously approved these changes May 21, 2025
Comment thread storage-bus/Cargo.toml Outdated
Comment thread storage-bus/Cargo.toml Outdated
Comment thread storage-bus/Cargo.toml Outdated
Comment thread storage-bus/Cargo.toml Outdated
Comment thread storage-bus/src/nor.rs Outdated
Comment thread storage-bus/src/nor.rs Outdated
Comment thread storage-bus/src/nor.rs Outdated
Comment thread storage-bus/src/nor.rs Outdated
Comment thread storage-bus/src/nor.rs Outdated
@jerrysxie jerrysxie force-pushed the initialize-the-repo branch from cd2c5bf to 911f4cf Compare May 22, 2025 16:26
@jerrysxie jerrysxie changed the title Initialize repo as a workspace with storage-bus Initialize repo as a workspace May 22, 2025
felipebalbi
felipebalbi previously approved these changes May 22, 2025
@jerrysxie jerrysxie force-pushed the initialize-the-repo branch from 0c69866 to b0c754d Compare May 22, 2025 16:32
Copy link
Copy Markdown

@tullom tullom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For just initializing the repo, this is good.

@jerrysxie jerrysxie merged commit a251485 into OpenDevicePartnership:main May 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants