I would like to use a #include inside my linker script to set the origin address of the flash, something like :
FLASH (rx) : ORIGIN = CURRENT_ADDRESS, LENGTH = 80K
CURRENT_ADDRESS is defined in a header file used by my source code :
#define CURRENT_ADDRESS 0x0800C000
I know it’s possible, I tried some things I found on google but without any success.
Do you know a way to do that with SW4STM32 ?