diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-08-07 12:07:43 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-08-07 12:07:43 +0300 |
commit | 6b5b59329023d98f6653f2211c8d49be9bd7dbdc (patch) | |
tree | df6883ffbe6c15a12057650b06503e5c260f1937 /src/Hardware/SAME70 | |
parent | 28502071fbeea324d1b0f7236029b682ea83a571 (diff) |
Added _firmware_end to linker scripts
Diffstat (limited to 'src/Hardware/SAME70')
-rw-r--r-- | src/Hardware/SAME70/same70q20b_flash.ld | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hardware/SAME70/same70q20b_flash.ld b/src/Hardware/SAME70/same70q20b_flash.ld index 5cfabe2f..8287c78a 100644 --- a/src/Hardware/SAME70/same70q20b_flash.ld +++ b/src/Hardware/SAME70/same70q20b_flash.ld @@ -145,7 +145,8 @@ SECTIONS _erelocate = .; } > ram - _firmware_crc = _etext + (_erelocate - _srelocate); /* We append the CRC32 to the binary file. This is its offset in memory. */ + _firmware_end = _etext + (_erelocate - _srelocate); /* Embedded files start here */ + _firmware_crc = _firmware_end; /* We append the CRC32 to the binary file. This is its offset in memory if we don't append embedded files */ /* .bss section which is used for uninitialized data */ .bss ALIGN(4) (NOLOAD) : |