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

FDS_PHY_PAGE_SIZE setting

Good morning,

In order to save some user data in flash, I want to fix page size to 32 bytes. It will be more useful for me, and it will be easier according to my project structure.

Now, I have setup the following parameters:

- In sdk_config.h:

FDS_VIRTUAL_PAGES 384

FDS_VIRTUAL_PAGE_SIZE 8 //32 bytes

- In fds_internal_defs.h:

FDS_PHY_PAGE_SIZE   (8)

The problem is that FDS_PHY_PAGE_SIZE definition is inside a file that belongs to a Softdevice file, so it will be modified when building the project with a new Softdevice version.

So, is there any way to include the FDS_PHY_PAGE_SIZE definition in a user-project file, as the 'sdk_config' file?

Best regards,

Dani

Related