nrf-softdevice icon indicating copy to clipboard operation
nrf-softdevice copied to clipboard

nrf51 series

Open deliciouslytyped opened this issue 3 years ago • 1 comments

Is there an alternative package for the nrf51 series, or how difficult would it be to support?

deliciouslytyped avatar Jun 03 '22 17:06 deliciouslytyped

There's no crate for it out there AFAIK.

It shouldn't be too hard, mostly:

  • Add headers for nrf51 softdevices in /softdevice (S110, S120, S130)
  • Generate nrf-softdevice-sXX crates for them
  • Add Cargo features for them to the nrf-softdevice crate
  • Fix whatever compilation errors pop up (I believe the nrf52 softdevice's API is mostly a superset of nrf51's, so this should be mostly cfg-ing out things?)

PRs welcome :)

(Also note embassy-nrf doesn't support nrf51, but the embassy executor does (it supports all Cortex-M), so this shouldn't be an issue if you use another HAL such as nrf-hal)

Dirbaio avatar Jun 03 '22 17:06 Dirbaio

PRs are still welcome, but at this point I don't think there's any intent to support the nrf51 so I'm closing the issue.

alexmoon avatar Sep 16 '22 14:09 alexmoon