diff options
author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-07-01 12:16:02 -0500 |
---|---|---|
committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2024-07-01 12:16:02 -0500 |
commit | 83aef192e447c800cba6f4dbde8a450a4f8581a5 (patch) | |
tree | c5b21bb6238d9117057f3433d4122d66f4add9f8 /octedit/pico_persist.ld | |
parent | 4e018fc5bdd4ff9ee6065a5167fa291404e20576 (diff) |
Use in-house CRC32 computation for boot sector
Diffstat (limited to 'octedit/pico_persist.ld')
-rw-r--r-- | octedit/pico_persist.ld | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/octedit/pico_persist.ld b/octedit/pico_persist.ld index fd9cf67..14caad7 100644 --- a/octedit/pico_persist.ld +++ b/octedit/pico_persist.ld @@ -1,6 +1,6 @@ MEMORY { FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M - SRAM(rx) : ORIGIN = 0x20041f00, LENGTH = 256 + SRAM(rx) : ORIGIN = 0x20041f00, LENGTH = 252 } SECTIONS { @@ -8,7 +8,6 @@ SECTIONS { setup.o(.text); octedit.o(.text); uart.o(.text); - . = 252; - *(.stage_2_crc); + . = LENGTH(SRAM); } >SRAM AT>FLASH } |