From 157b3795d552178119c14ec4bbb8a68adc5859e4 Mon Sep 17 00:00:00 2001 From: meri Date: Tue, 10 Apr 2007 17:12:56 +0000 Subject: cleanup, added volatile storage space at the end of flash memory git-svn-id: https://svn.openpcd.org:2342/trunk@292 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld | 7 ++++--- firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld | 7 +++---- firmware/link/AT91SAM7S256-ROM-sam7dfu-app.ld | 7 ++++--- firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld | 6 +++--- 4 files changed, 14 insertions(+), 13 deletions(-) (limited to 'firmware') diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld index f5a3e56..ebac6d4 100644 --- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld +++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-app.ld @@ -2,9 +2,10 @@ MEMORY { - FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00020000 - 0x4000) - DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00008000 - 0x28) - STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000 + /* reserve 1K config area on top of flash */ + FLASH (rx) : ORIGIN = 0x00104000, LENGTH = (0x00020000 - 0x4000 - 0x400) + DATA (rw) : ORIGIN = 0x00200028, LENGTH = (0x00008000 - 0x28) + STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000 } diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld index 1c5a15f..a4436a9 100644 --- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld +++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld @@ -2,12 +2,11 @@ MEMORY { - FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00020000 - DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00008000 - STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000 + FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00004000 + DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00008000 + STACK (rw) : ORIGIN = 0x00208000, LENGTH = 0x00000000 } - /* Section Definitions */ SECTIONS 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 } diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld index 908f818..fcea409 100644 --- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld +++ b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld @@ -2,9 +2,9 @@ MEMORY { - FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000 - DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000 - STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000 + FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00004000 + DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000 + STACK (rw) : ORIGIN = 0x00210000, LENGTH = 0x00000000 } -- cgit v1.2.3