nrf-rs / microbit

A Rust crate for BBC micro:bit development
BSD Zero Clause License
276 stars 61 forks source link

Upgrade nrf52833-hal and nrf51-hal to 0.16 #115

Open BartMassey opened 1 year ago

BartMassey commented 1 year ago

The nrf52833-hal and nrf51-hal crates are currently at 0.14 here. This leads to getting an old version of nrf-usbd, which in turn leads to getting an old version of critical-section. This makes linking broken unless the client of this crate also uses the cortex-m crate with feature critical-section-single-core. I'm not sure what other kinds of issues and vulnerabilities are here, so it seems to be best to just upgrade the hal crates: this seems to compile fine.

Let me know if I'm confused somehow.