embassy-rs / nrf-softdevice

Apache License 2.0
269 stars 80 forks source link

Switch to nrfxlib #259

Closed danielstuart14 closed 5 months ago

danielstuart14 commented 5 months ago

Nordic doesn't release softdevice binaries anymore, which means that newer SoCs (nRF53 and nRF54) are not supported by this library, but also that an older BLE stack (with potential security issues) has to be used.

With the newer nRF SDK, softdevice is distribuited by the nrfxlib project through a static library plus the C headers needed.

Switching to it would mean that the static library would need to be linked to the rust firmware, as well as the headers and ABI calls would need to be updated.

Everything about it can be found here: https://github.com/nrfconnect/sdk-nrfxlib/blob/main/softdevice_controller/README.rst

danielstuart14 commented 5 months ago

One thing that I didn't have in mind is that nrfxlib only includes the controller library, as with nRF sdk the Zephyr host is used.

I'm closing this as it would only be feasible after https://github.com/embassy-rs/trouble is finished / ready for production.