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

"Undefined Symbol" error message when using BLE_ADVERTISING_DEF macro

Hello everybody

I'm trying to initialise an advertising module for my project.

When using the macro for creating an advertising instante I get the following:

BLE_ADVERTISING_DEF(my_adv);

After compiling I get:

.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ble_advertising_on_ble_evt (referred from main.o).
.\_build\nrf52832_xxaa.axf: Error: L6218E: Undefined symbol ble_advertising_on_sys_evt (referred from main.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.

What is missing?

Thanks for helping

Related