ld: limit to 64kB flash to be compatible with most MCU

This commit is contained in:
King Kévin 2020-01-09 20:43:25 +01:00
parent 2bda3be4a0
commit e7b5ddcdef
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ PROVIDE(__flash_end = ORIGIN(rom) + LENGTH(rom));
*/
PROVIDE(__application_end = 0);
PROVIDE(__flash_end = 0);
/* RAM location reserved so application can talk to bootloader and tell to start DFU */
PROVIDE(__dfu_magic = ORIGIN(ram) - 4);