nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

getting undefined reference error

Included "bsp.h" and "nrf_fstorage.h"  still getting these below errors:

undefined refence to `bsp_indication_set'

undefined reference to `nrf_fstorage_init'

undefined reference to `nrf_fstorage_read'

undefined reference to `nrf_fstorage_sd'

Parents Reply
  • You should use either relative or absolute paths in your project, and since the SDK is based on relative paths I would recommend that you add new directories using relative paths as well. Please also make sure to have no trailing whitespaces in the included directory paths - please confirm that this is not the case.

    Furthermore, I can not see that you have enabled the BSP BLE button configuration since you do not have the following in your sdk_config.h

    #ifndef BSP_BTN_BLE_ENABLED
    #define BSP_BTN_BLE_ENABLED 1
    #endif


    Best regards,
    Karl

Children
No Data
Related