Update linker script to accommodate for larger CCFG size

This commit is contained in:
George Oikonomou 2015-04-20 08:32:05 +01:00
parent 7a5b670f76
commit 8673bbdd55

View file

@ -35,14 +35,14 @@ ENTRY(ResetISR)
MEMORY MEMORY
{ {
/* Flash Size 128 KB minus the CCA area below (76 bytes) */ /* Flash Size 128 KB minus the CCA area below (88 bytes) */
FLASH (RX) : ORIGIN = 0x00000000, LENGTH = 0x0001FFAC FLASH (RX) : ORIGIN = 0x00000000, LENGTH = 0x0001FFA8
/* /*
* Customer Configuration Area and Bootloader Backdoor configuration * Customer Configuration Area and Bootloader Backdoor configuration
* in flash, up to 80 bytes * in flash, up to 88 bytes
*/ */
FLASH_CCFG (RX) : ORIGIN = 0x0001FFAC, LENGTH = 84 FLASH_CCFG (RX) : ORIGIN = 0x0001FFA8, LENGTH = 88
/* RAM Size 20KB (PG2.1) */ /* RAM Size 20KB (PG2.1) */
SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00005000 SRAM (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00005000