Beware that this post is related to an SDK in maintenance mode
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
  • Hi! I'm having the same issue with de fstorage library. I can see it included in MakeFile (no trailing spaces, relative path, included exactly in the same way as others libraries) and i have also enabled it in sdk_config.h:

    #define NRF_FSTORAGE_ENABLED 1

    I had also reenabled the BSP_BTN_BLE_ENABLED as per your recommendation, but i still fail compiling due to undefined reference to "nrf_fstorage_sd" and " nrf_fstorage_init" . (i did not code the write/read/erase functions yet)

    Any recommendations?

    Regards,

    M!

Children
Related