diff options
Diffstat (limited to 'firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld')
-rw-r--r-- | firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld index a5eb057..85bf7b8 100644 --- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld +++ b/firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld @@ -2,9 +2,10 @@ MEMORY { - FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00040000 - 0x4000) - DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00010000 - 0x28) - STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000 + /* reserve 1K config area on top of flash */ + FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00040000 - 0x4000 - 0x400) + DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00010000 - 0x28) + STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000 } |