diff options
Diffstat (limited to 'firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld')
-rw-r--r-- | firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld index a0f7c3e..dfcfff1 100644 --- a/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld +++ b/firmware/link/AT91SAM7S128-ROM-sam7dfu-dfu.ld @@ -31,7 +31,8 @@ SECTIONS . = ALIGN(4); } >DATA - _edata_shared = LOADADDR(.data.shared) + SIZEOF(.data.shared); + _edata_shared = . ; + _data_flash = LOADADDR(.data.shared) + SIZEOF(.data.shared); /* 0x00200000 ... */ .data (0x00200000 + SIZEOF(.text)): AT |