aboutsummaryrefslogtreecommitdiff
path: root/octedit/pico_persist.ld
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-04 19:28:25 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-04 19:28:25 -0500
commitf2f186c3594a922e51abf25b24052c61f833a2bf (patch)
treea4cd5bb88adc8b94582ed40a8a7ad04235a9db69 /octedit/pico_persist.ld
parentb38a844ed9f6ad17d58db3e143ebc0c858762ec6 (diff)
Rename stage 0 editor
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
+}