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'
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'
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
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:
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!
Sorry... just found the problem... missing source files in makefile