
However if I replace this line :
Code: Select all
_estack = ORIGIN(RAM) + LENGTH(RAM)
with this:
Code: Select all
_estack = 0x2001c000;
the application (simple blink) starts from address I set.
All the rest is almost the same.
The memory declaration remains the same as with STM files except from LD_FLASH_OFFSET replaced by offset 0x8000:
Code: Select all
MEMORY
{
CCMRAM (xrw) : ORIGIN = 0x10000000, LENGTH = 64K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = LD_MAX_DATA_SIZE
FLASH (rx) : ORIGIN = 0x8000000 + 0x8000, LENGTH = LD_MAX_SIZE - 0x8000
}
Thank you
Omar