6 years, 3 months ago.

nRF52 - mbed without softdevice

Hi,

Is there a way to build an mbed application for the nRF52 without the softdevice?

I have scripts that move the produced application hex back to address 0x0 so the location of the program should not be an issue.

The softdevice makes debugging a simple test program infinitely harder (can't break realtime constraints, etc). I'm not trying to use bluetooth for this application.

If it can't be built without it, is there a way to disable the softdevice without breaking mbed? Can you simply use the Nordic softdevice manager API to disable it or can this destabilize mbed in some way?

1 Answer

6 years, 3 months ago.

Hi, Should be possible as long as you don't use BLE

It depends how you build it, with an mbed-cli exported Makefile (debug profile) you should get an i.e. blinky.hex (without softdevice) and blinky-combined.hex (with softdevice).