You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
378 B

MEMORY {
bank0 (rx) : org = 0x08000000, len = 16K
eeprom (rx) : org = 0x08004000, len = 16K
bank1 (rx) : org = 0x08008000, len = 2016K
}
SECTIONS {
.loader : {
*(.iap)
} > bank0
.eeprom : {
. = ALIGN(4);
KEEP(*(.eeprom))
. = ORIGIN(eeprom) + LENGTH(eeprom) - 1;
BYTE(0xff)
. = ALIGN(4);
} > eeprom = 0xff
.app : {
*(.firmware)
} > bank1
}