embassy-rs / nrf-softdevice

Apache License 2.0
269 stars 80 forks source link

Add BBC micro:bit v2 support for examples #270

Closed BartMassey closed 3 months ago

BartMassey commented 4 months ago

Added sufficient configuration to get the examples to work on the BBC micro:bit v2 (nRF52833, s140).

In the process, added two new features nrf52840-dk and microbit-v2. These are currently used only by the ble_peripheral_onoff example to specify the GPIO used by the buttons on those boards. I couldn't find anything else board-specific in the examples. I've edited the top-level README to correspond to the new configuration info. Would it make sense to move the example-specific stuff to examples/README.md?

closes #269

alexmoon commented 3 months ago

Looks good to me! Thanks!