ld: limit to 64kB flash to be compatible with most MCU
This commit is contained in:
parent
2bda3be4a0
commit
e7b5ddcdef
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue