diff options
Diffstat (limited to 'firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld')
-rw-r--r-- | firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld b/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld index a151de8..7f133da 100644 --- a/firmware/link/AT91SAM7S256-ROM-sam7dfu-dfu.ld +++ b/firmware/link/AT91SAM7S256-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 ( LOADADDR(.text) + SIZEOF(.text) + SIZEOF(.data.shared)) { |