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

Open
#62 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
48/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
embedded-iot

Research direction

Read the pinned Embassy revisions in platform/dev-mcxa and the Embassy fork configuration in platform/dev-mec, then check the embassy-sync dependency in platform/platform-common. Update these dependencies for the new non-reentrant Mutex API, rebase the fork, and update documentation that mentions ThreadModeRawMutex. The upstream change is embassy-rs/embassy#7634; verify the project builds and its documentation no longer refers to the removed type.

Written by the indexing model from the issue text.

Description

  • platform/dev-mcxa: bump pinned embassy git rev (bef4118).
  • platform/dev-mec: rebase the bjackson312006/embassy fork (microchip-uart-buffer-hack.update-embassy) onto the new embassy-sync.
  • platform/platform-common: bump embassy-sync.
  • Update documentation that refers to ThreadModeRawMutex.

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

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.