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

Where to define BLE_STACK_SUPPORT_REQD?

I am developing an application from scratch for the pca10001 by copying a lot of code from the heart rate example.

When calling "softdevice_ble_evt_handler_set" I get an implicit decleration error, after some digging it seems that in "softdevice_handler.c" BLE_STACK_SUPPORT_REQD needs to be defined. Defining it at the start of my code solves the problem but that is not how it is done in the example, I would like to know where it is supposed to be defined for prepossessing so I can write my application correctly.

Related