This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

softdevice_enable() does not return on nRF52, sdk12.0.0

I am using s132_nrf52_3.0.0_softdevice.hex and sdk12 and compiling with arm-none-eabi-gcc. The problem is that the bluetooth set up just jams at:

   // Enable BLE stack.
    err_code = softdevice_enable(&ble_enable_params);
    APP_ERROR_CHECK(err_code);

So I do not get any error code, because the softdevice_enable never returns. I am thinking could the problem have something to do with the define in the Makefile:

CFLAGS += -DNRF_SD_BLE_API_VERSION=3 

Is that correct for the softdevice version I am using? Or what could be the reason for the problem?

Related