aboutsummaryrefslogtreecommitdiff
path: root/octedit/pico_persist.ld
diff options
context:
space:
mode:
Diffstat (limited to 'octedit/pico_persist.ld')
-rw-r--r--octedit/pico_persist.ld5
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
}