8 years, 3 months ago.

Does the nrf51 dongle work with mbed OS 3.0 and 5.0 ?

Hi. I have a nrf51 dongle with BLE. I want to use it with mbed OS 3.0 and 5.0 but when I search for targets using yotta, it is not listed there. So, is it supported by mbed OS 3.0 and 5.0 or any plans to support it ?? If it is supported, then what is the target name for it ?? Thanks : )

Question relating to:

The nRF51822-mKIT is a low cost ARM mbed enabled development board for Bluetooth® Smart designs with the nRF51822 SoC. The kit gives access to all GPIO pins via pin headers …

1 Answer

8 years, 3 months ago.

Hello Anuj,

The NRF51 dongle will be supported by mbed OS 5 in the coming weeks. There is no plans for its support on mbed OS 3.

Accepted Answer

Can you give an estimate of in how much time I can start playing with nrf51 dongles using mbed OS 5 ? Thanks : )

posted by Anuj Dutt 19 Aug 2016

No,

I can't tell you know when the updated target will be released. But I can explain you the step to make it work on mbed OS 5:

  • Open the file targets.json in mbed-os/hal.
  • Go to the definition of the NRF51_DONGLE https:github.com/ARMmbed/mbed-os/blob/master/hal/targets.json#L1490
  • Replace the inherits value by [MCU_NRF51_32K_UNIFIED].
  • Replace the release_versions properties value by: ["2", "5"]
  • Move the folder mbed-os/hal/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51_DONGLE into mbed-os/hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/

Your in good shape to have a port of the NRF51 dongle for mbed-os 5.

posted by Vincent (pan-) Coubard 22 Aug 2016