Upgrade embassy-embedded-hal to the latest release (0.6.0)

Aperta
#72 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
build-system

Direzione di ricerca

Start in libs/ec-slimloader-imxrt/Cargo.toml, where the embassy-embedded-hal = "0.5.0" requirement lives, and bump it to 0.6.0. Run cargo tree (or cargo update -p embassy-embedded-hal) to check the lockfiles no longer resolve embassy-sync 0.7.2 or heapless 0.8.0, and read the 0.6.0 changelog to find any API breakage in the imxrt HAL glue. Done means the dependency tree resolves heapless 0.9.4+ and the supported i.MX RT builds and tests still pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Requested update

Upgrade ec-slimloader-imxrt to the latest published embassy-embedded-hal, currently 0.6.0, and validate its supported builds and tests.

The revision consumed by rs-surface-mcu (4d16376a90211a9f246d53b6984e4dc3a4771651) declares embassy-embedded-hal = "0.5.0" in libs/ec-slimloader-imxrt/Cargo.toml. That requirement excludes 0.6.0 and retains this dependency chain:

ec-slimloader-imxrt 0.2.0
└── embassy-embedded-hal 0.5.0
    └── embassy-sync 0.7.2
        └── heapless 0.8.0

The available crates.io upgrade path is:

embassy-embedded-hal 0.6.0
└── embassy-sync ^0.8.0
    └── heapless ^0.9

This permits resolving heapless 0.9.4 or newer in the 0.9 series. The published requirements do not themselves enforce a 0.9.4 minimum, so refresh and inspect the affected lockfiles as part of the update.

Acceptance criteria

  • Update the embassy-embedded-hal requirement to 0.6.0 and make any necessary API adjustments.
  • Regenerate affected lockfiles and confirm this path no longer resolves embassy-sync 0.7.2 or heapless 0.8.0.
  • Resolve heapless to at least 0.9.4 and validate supported i.MX RT builds and relevant tests.

Related: #71 tracks the broader heapless upgrade. This issue specifically tracks the old embassy-embedded-hal requirement; direct heapless 0.8 dependencies still need separate migration under #71.

References:

Lingua principale
Rust
Stelle
3
Fork
15
Merge medio
1g 3h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenDevicePartnership/ec-slimloader

Tutte le issue di OpenDevicePartnership/ec-slimloader

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.