I'm trying to use the full potential of the external memory on the NRF52840-DK.
I want to modify the FLASH_SECTOR_SIZE:
#define FLASH_TEST_REGION_OFFSET 0xff000 #endif #define FLASH_SECTOR_SIZE 4096
4096 are in bytes. When i try to add, for example 256 to the size i will the following error:

At what interval can i add byets to enlargen the FLASH_SECTOR_SIZE?