Backport embassy-sync non-reentrant `Mutex` uptake to `stable-v0.1.y`

Open
#61 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start after OpenDevicePartnership/odp-embedded-controller#60 lands and the new embassy-sync release is available. Read the stable-v0.1.y branches in embedded-services and tps6699x, then check their CI builds and tests against the released dependency. Coordinate the breaking dependency bump with downstream v0.1 consumers; done means both branches pass CI and those consumers have been notified.

Written by the indexing model from the issue text.

Description

Backport of OpenDevicePartnership/odp-embedded-controller#60 to the stable-v0.1.y branches, which currently exist in embedded-services and tps6699x. Both are on embassy-sync 0.8.

Considerations

  • Semver. embedded-services exposes embassy-sync types in its public API (GlobalRawMutex, Signal/Channel/Mutex parameters). Moving stable-v0.1.y to a new embassy-sync major is a breaking change for downstream consumers of v0.1. It needs either a coordinated downstream bump or a v0.2 stable line instead.
  • Scope. The same changes as mainline: std feature removal, GlobalRawMutex → PanicRawMutex, and HAL time-driver borrow(cs) migration if those HALs are pinned by v0.1 consumers.
  • Ordering. Start only after OpenDevicePartnership/odp-embedded-controller#60 lands on mainline and embassy-sync is released.

Done when

  • embedded-services and tps6699x stable-v0.1.y build and pass CI on the released embassy-sync
  • Downstream consumers of v0.1 notified of the dependency bump
Dominant language
Rust
Stars
3
Forks
8
Avg merge
7h 51m
Merged PRs (30d)
3

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/odp-embedded-controller

All issues in OpenDevicePartnership/odp-embedded-controller

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.