Update to latest embassy-sync (non-reentrant blocking `Mutex`, `ThreadModeRawMutex` removed)

Open Beginner friendly
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
embedded-iot

Research direction

Start with the embassy-sync dev-dependency in Cargo.toml and review the upstream embassy-sync changelog linked in the issue. Remove the unsupported std feature and bump the dependency version; then run the host tests. Done when the dependency resolves without that feature and the host tests pass.

Written by the indexing model from the issue text.

Description

  • Cargo.toml dev-dependencies: remove features = ["std"] from embassy-sync (feature removed upstream; critical-section/std already provides host support).
  • Bump embassy-sync.

No source changes needed (M: RawMutex bounds still work). Prototype: 59 host tests pass.

Part of OpenDevicePartnership/odp-embedded-controller#60. Upstream: embassy-rs/embassy#7634 (CHANGELOG).

Dominant language
Rust
Stars
2
Forks
6
Avg merge
21h 32m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenDevicePartnership/pcal6416a

All issues in OpenDevicePartnership/pcal6416a

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.