aboutsummaryrefslogtreecommitdiff
path: root/hexedit/pico_persist.ld
diff options
context:
space:
mode:
Diffstat (limited to 'hexedit/pico_persist.ld')
-rw-r--r--hexedit/pico_persist.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/hexedit/pico_persist.ld b/hexedit/pico_persist.ld
new file mode 100644
index 0000000..32cc42f
--- /dev/null
+++ b/hexedit/pico_persist.ld
@@ -0,0 +1,11 @@
+MEMORY {
+ FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M
+ SRAM(rx) : ORIGIN = 0x20041f00, LENGTH = 252
+}
+
+SECTIONS {
+ .text : {
+ *(.entry)
+ *(.text)
+ } >SRAM AT>FLASH
+}