Cannot compile with settings_load_one() or settings_get_val_len()

Hi,

I'm facing an issue with using some of the settings subsystem functionality. 

Setup:
Device: NRF9151 DK
SDK: v2.9.0
Base example: nrf_cloud_multi_service 


Issue description: 
In shadow_config.c i want to call some of the settings subsystem functions. I'm able to compile and run the application
when using settings_load(), settings_save(), and settings_save_one(). However, when i try to use either of settings_load_one() or
settings_get_val_len(), I'm getting a "undefined reference" to either function when compiling.

My prj.conf includes the following:

CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y

CONFIG_NVS=y
CONFIG_NVS_LOOKUP_CACHE=y

CONFIG_SETTINGS=y
CONFIG_SETTINGS_NVS=y
CONFIG_SETTINGS_RUNTIME=y



Expected behavior:
The application compiles when calling settings_load_one() or settings_get_val_len().



Thanks in advance,
Mats

Parents Reply Children
No Data
Related