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

Đang mở
#72 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
55/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
build-system

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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:

Ngôn ngữ chính
Rust
Star
3
Fork
15
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenDevicePartnership/ec-slimloader

Tất cả issue của OpenDevicePartnership/ec-slimloader

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.