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

Undefined reference to sd_softdevice_enable?

In the function ble_init, I am getting an undefined reference to sd_softdevice_enable during the linking process.

I see that in nrf_sdm.h there is SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lf_cfg_t const * p_clock_lf_cfg, nrf_fault_handler_t fault_handler));

Is this the only reference to sd_softdevice_enable? If so it looks like I may need to include something for the linker to recognize this statement to reference sd_softdevice_enable.

Are there any other declarations or reasons that calls to sd_softdevice_enable are undefined?

Thank you

Related