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.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/octedit/pico_persist.ld b/octedit/pico_persist.ld
new file mode 100644
index 0000000..9c37aba
--- /dev/null
+++ b/octedit/pico_persist.ld
@@ -0,0 +1,13 @@
+MEMORY {
+ FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M
+ SRAM(rx) : ORIGIN = 0x20041f00, LENGTH = 256
+}
+
+SECTIONS {
+ .text : {
+ *(.entry);
+ *(.text);
+ . = 252;
+ *(.stage_2_crc);
+ } >SRAM AT>FLASH
+}