This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need to change BOOTLOADER_SETTINGS_ADDRESS when changing BOOTLOADER_REGION_START

Hello

I have some trouble with my DFU bootloader, because I changed the BOOTLOADER_REGION_START. This is, because I need some more space for bootloader.

Do I have to also change the BOOTLOADER_SETTINGS_ADDRESS?

So this are my current addresses:

#define BOOTLOADER_REGION_START         0x0003AC00
#define BOOTLOADER_SETTINGS_ADDRESS     0x0003E800

But, if I try to compile this, I get a linker error that the linker is unable to place the settings automatically with the required base address. I used the same offset between REGION_START and SETTINGS_ADDRESS as in the Nordic example (0x3C00). How can I get a working new SETTINGS_ADDRESS. Or do I even have to change the SETTINGS_ADDRESS?

Regards, BTprogrammer

Related