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'
Hello,
Please make sure that the module's are enabled in the sdk_config.h file as well, and that you have added the source code files to your project through the project navigator in SES.
Best regards,
Karl
I enabled the modules in sdk_config.h still getting the errors
Thanks, karl but I did that earlier and check again path is set in preprocessor option still getting the same errors
Please show me the sdk_config configurations you added along with a screenshot of the preprocessor user included directories and a screenshot of the added source files so that I may take a look to see if I can spot the issue.
Best regards,
Karl
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!
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