Hello,
In my application (nrf52840, v. sdk 3.0.2) I have a partition named "settings_storageuser", which is defined in the internal flash using partition manager and that I use for application parameters: 
In order to initialize this flash space I extract the device name and offset with SDK macros and then pass them to a nvs_fs object:

And I can correctly use the space for my non-volatile parameter. So far so good.
Now I would like to have this space on the external flash (which is correctly setup and working because I use the double image update with the support image on external flash. Also the littlefs is built inside the external flash). In order to do this, I add a similar partition to the external flash (settings_storageuser_external) and I replace it to the one built in the internal flash:

In doing so, however, the macro FIXED_PARTITION_OFFSET seems to fail:
It must be noted that FIXED_PARTITION_DEVICE does not fail. Also, if I set NVS_PARTITION_OFFSET to a fixed value instead of invoking the macro the project compiles (not sure it works as expected though, I did not try):
What am I doing wrong with the external flash-defined partition?
Thank you.
Regards,
Stefano


