5 years, 4 months ago.

Does the nRF51-DK actually support mBed OS?

I've tried mBed 2 blinky on an nRF51-DK, and it works fine. But mBed OS (mBed 5) does not seem to work. Yet the mBed boards page claims it supports it.

Question relating to:

The nRF51 Development Kit is a single-board development kit for Bluetooth Smart, ANT and 2.4GHz proprietary applications using the nRF51 Series SoC. This kit supports both development for both nRF51822 …

Ah it does work! You just need to reset the board after flashing it. It doesn't do it automatically unfortunately.

posted by Tim H 10 Aug 2019

Also it only seems to work via the online compiler. Something is clearly wrong with the Mbed Studio build because it generates a 91 kB HEX file whereas the one from the online compiler is about 400 kB.

posted by Tim H 10 Aug 2019

1 Answer

5 years, 4 months ago.

Hi Tim,

Just used Mbed Studio 0.5.3 to build blinky example (with Mbed OS 5.13.1) on NRF51_DK, the output hex file is around 400KB and it runs well.

My host is Windows 10 and using default ARMC6 compiler.

Could you share your build environment?

Thanks, Desmond

Interesting. I'm using the latest release of Mbed Studio 0.5.3 on OSX. I'll give it another go and double check.

posted by Tim H 15 Aug 2019