Loading...
 
Skip to main content

System Workbench for STM32


Bootloader, linker and application start address

Hi

For relocation of the application I do the change in LinkerScript.ld in MEMORY section as you did.
Also I change in system_stm32xxxx.c, system_stm32l4xx.c for example, the line

Copy to clipboard
#define VECT_TAB_OFFSET offset

where offset would be 0x30000 in your case.

Nothing else and no change within the application at all.

This works, but overwrites the bootloader.. So I have to flash the bootloader thereafter.

Dieter