Skip to content

Update embedded-usb-pd - #130

Merged
RobertZ2011 merged 2 commits into
OpenDevicePartnership:mainfrom
RobertZ2011:usci-versioning-fix
Sep 4, 2026
Merged

Update embedded-usb-pd#130
RobertZ2011 merged 2 commits into
OpenDevicePartnership:mainfrom
RobertZ2011:usci-versioning-fix

Conversation

@RobertZ2011

Copy link
Copy Markdown
Contributor

No description provided.

@RobertZ2011 RobertZ2011 self-assigned this Sep 4, 2026
Copilot AI lite review requested due to automatic review settings September 4, 2026 19:15
@RobertZ2011
RobertZ2011 requested a review from a team as a code owner September 4, 2026 19:15
@RobertZ2011
RobertZ2011 marked this pull request as draft September 4, 2026 19:15
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Cargo Vet Audit Passed

cargo vet has passed in this PR. No new unvetted dependencies were found.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The update introduces unpinned git dependencies and results in multiple sources of the same crates in the example lockfile, which risks non-reproducible builds and type/version incompatibilities.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates this crate (and the RT685 example) to use the UCSI v1.2 LPM module path from embedded-usb-pd, reflecting upstream API/feature changes.

Changes:

  • Switch lpm imports to embedded_usb_pd::ucsi::v1_2::lpm in driver/UCSI code.
  • Update embedded-usb-pd dependency configuration to enable the ucsi-v1_2 feature.
  • Refresh lockfiles to reflect new git revisions and updated transitive dependencies.
File summaries
File Description
src/odp/driver.rs Updates UCSI LPM import path to v1.2 module.
src/asynchronous/embassy/ucsi.rs Updates UCSI LPM import path to v1.2 module.
Cargo.toml Adjusts embedded-usb-pd dependency to enable ucsi-v1_2.
Cargo.lock Updates resolved dependency graph for the workspace.
examples/rt685s-evk/Cargo.toml Adjusts embedded-usb-pd dependency to enable ucsi-v1_2 for the example.
examples/rt685s-evk/Cargo.lock Updates resolved dependencies for the example.
Review details
  • Files reviewed: 4/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Cargo.toml
Comment thread examples/rt685s-evk/Cargo.toml
@RobertZ2011 RobertZ2011 changed the title Updated embedded-usb-pd Update embedded-usb-pd Sep 4, 2026
@RobertZ2011
RobertZ2011 marked this pull request as ready for review September 4, 2026 20:31
@RobertZ2011
RobertZ2011 requested a review from a team as a code owner September 4, 2026 20:31
@RobertZ2011
RobertZ2011 enabled auto-merge (squash) September 4, 2026 21:47
@RobertZ2011
RobertZ2011 merged commit 7544070 into OpenDevicePartnership:main Sep 4, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants