This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Flash read/write with template nrf52810

Hello All,

i my project there are 2 ble services now i want to add Flash read/write application i tried with fds as well as flash_write example from the SDK 15.3.0 

i added all the drivers and libraries and its path to template example, but i am getting error of undeclared function....so plz let me know what and all changes need to be done with SDK config file..??

regard 

Nagendra 

Parents
  • If you have added all the required files to the project, you probably lack some sdk_config.h configuration macros. You can typically check this by seeing which function there is a undelacredreference to. If for instance you see that fds_init() is undeclared, you can search and find that it is implemented in fds.c. And looking at the beginning of that file you can see:

    #if NRF_MODULE_ENABLED(FDS)

    This means that the file content of the file is only included if you have FDS_ENABLED set to 1 in your sdk_config.h. The same method can be applied to other modules.

Reply
  • If you have added all the required files to the project, you probably lack some sdk_config.h configuration macros. You can typically check this by seeing which function there is a undelacredreference to. If for instance you see that fds_init() is undeclared, you can search and find that it is implemented in fds.c. And looking at the beginning of that file you can see:

    #if NRF_MODULE_ENABLED(FDS)

    This means that the file content of the file is only included if you have FDS_ENABLED set to 1 in your sdk_config.h. The same method can be applied to other modules.

Children
No Data
Related