Skip to content

Conversation

@tullom
Copy link
Contributor

@tullom tullom commented Jun 24, 2025

  • NoopRawMutex changed to CriticalSectionRawMutex
  • embedded_service::Buffer fixed to use AtomicPtr<T> rather than *mut [T]

@tullom tullom requested a review from a team as a code owner June 24, 2025 22:35
@tullom tullom requested review from JamesHuard, dymk, gjpmsft and kurtjd June 24, 2025 22:35
@tullom tullom self-assigned this Jun 24, 2025
@tullom tullom added the bug Something isn't working label Jun 24, 2025
@github-actions
Copy link

github-actions bot commented Jun 24, 2025

Cargo Vet Audit Passed

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

@github-actions github-actions bot added the cargo vet PRs pending auditor review label Jun 24, 2025
@tullom tullom moved this to In review in Embedded Controller Jun 25, 2025
@tullom tullom force-pushed the fix-embassy-sync-regressions branch 2 times, most recently from bb315c4 to a161f15 Compare June 25, 2025 00:53
@tullom
Copy link
Contributor Author

tullom commented Jun 25, 2025

Looks like the CI failures are due to a circular dependency between embassy-imxrt and embedded-services, through storage-bus

@tullom tullom linked an issue Jun 25, 2025 that may be closed by this pull request
JamesHuard
JamesHuard previously approved these changes Jun 25, 2025
Copy link
Contributor

@JamesHuard JamesHuard left a comment

Choose a reason for hiding this comment

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

Awesome work @tullom! Did we happen to test this with embassy tip of main to see if it can build now?

@tullom tullom force-pushed the fix-embassy-sync-regressions branch from a161f15 to a431ab7 Compare June 25, 2025 22:53
@tullom
Copy link
Contributor Author

tullom commented Jun 25, 2025

Awesome work @tullom! Did we happen to test this with embassy tip of main to see if it can build now?

Yes, this PR includes changes to Cargo.lock that updates the embassy git sha and it builds. CI is failing due to the circular dependency issue.

@tullom tullom requested review from JamesHuard and jerrysxie June 26, 2025 00:46
JamesHuard
JamesHuard previously approved these changes Jun 26, 2025
@jerrysxie jerrysxie requested a review from felipebalbi June 26, 2025 15:55
asasine
asasine previously approved these changes Jun 26, 2025
@tullom tullom dismissed stale reviews from asasine and JamesHuard via cd40d22 June 26, 2025 20:58
@tullom tullom force-pushed the fix-embassy-sync-regressions branch from 5ceceae to 79da228 Compare July 2, 2025 22:13
@tullom tullom force-pushed the fix-embassy-sync-regressions branch from 79da228 to 4bfbf0a Compare July 2, 2025 22:15
@tullom tullom force-pushed the fix-embassy-sync-regressions branch from 4bfbf0a to 7a6ed4f Compare July 2, 2025 22:19
@tullom tullom enabled auto-merge (squash) July 2, 2025 23:00
jerrysxie
jerrysxie previously approved these changes Jul 2, 2025
kurtjd
kurtjd previously approved these changes Jul 2, 2025
@jerrysxie jerrysxie disabled auto-merge July 3, 2025 00:50
@jerrysxie jerrysxie enabled auto-merge (squash) July 3, 2025 00:53
asasine
asasine previously approved these changes Jul 3, 2025
@asasine
Copy link

asasine commented Jul 3, 2025

All of my comments are non-blocking.

@tullom tullom dismissed stale reviews from asasine, kurtjd, and jerrysxie via 0b65599 July 3, 2025 14:45
@tullom tullom requested review from asasine, jerrysxie and kurtjd July 3, 2025 14:49
@jerrysxie jerrysxie merged commit 80c8794 into OpenDevicePartnership:main Jul 3, 2025
21 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Embedded Controller Jul 3, 2025
kurtjd pushed a commit that referenced this pull request Jul 8, 2025
… and update examples (#386)

Thank you to @magravel for fixing the changes in embedded-cfu-protocol.
This PR includes the same .rs changes in #341.

- Update cfu-service to use constructs in embedded-cfu-protocol v0.2.0
- Further testing showed that I missed some Cells in
battery-service/device.rs that should've been fixed in #372
    - Fixed in this PR
- Update examples to be Sync safe and patch embedded-services to remove
a circular dependency in the examples' `Cargo.toml`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cargo vet PRs pending auditor review

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Failure to compile with latest embassy-sync

6 participants