aboutsummaryrefslogtreecommitdiff
path: root/hexedit/pico_persist.ld
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-05-26 14:21:59 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-05-26 14:21:59 -0500
commit5bbad5026cb810f61c2466d5c4bf3438ba820842 (patch)
tree1fa99f91c1af046d812485ac52abf7b83eb2acdc /hexedit/pico_persist.ld
parent7388c270069c2d1418539bca1d2789a6d468ecc2 (diff)
Finish hexedit and update README
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
+}