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

オープン
#72 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
build-system

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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:

主要言語
Rust
スター
3
フォーク
15
平均マージ
1日 3時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenDevicePartnership/ec-slimloader のほかの issue

OpenDevicePartnership/ec-slimloader の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。