I want to add fstorage functionality to my applikation. I added all the files and functions as in the fstorage example from Nordic, but I get a linker error that the fstorage function are undefined references. My guess is that the fstorage module is not actuated in the sdk_config file. I've startet my application with the example of TWI Master from Nordic.
Now I found two sdk_config files in the SDK. One is in the examples folder for the specific example, which is shortened to only the modules the example needs (at least this is my guess) and one is in SDK components/config/nrf52832/config folder, where are far more module defines.
If I now want to add fstorage functionality to my TWI App, what do I have to do in the SDK config? Copy and paste from the 'big' sdk_config?
Can you help me how I can proceed?
Thanks in advance for your help!!!
Your suggestion is correct. Depending on the SDK version, there is a template sdk_config.h, in e.g. <sdk folder>/config/nrf52832/config, which contains all possible settings. The examples tend not to include settings that are not used in the particular example, so if you include other modules you may need to copy the settings for those modules into your project specific sdk_config.h file.
Can you give me a hint, how I can implement the fstorage module. What do I have to do first and so on?
I tried to implement the module and I'm now stuck in an error "implicit declaration of function 'sd_flash_write'" and I don't know what is wrong. I'm using SDK15.2 with GCC compiler in Eclipse.