aboutsummaryrefslogtreecommitdiff
path: root/hexedit/pico_bin.ld
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-22 17:43:20 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-22 17:43:20 -0500
commitc12b1b99f2e3ab731c483bc93fa21b4763624fac (patch)
treee09f571b32c17dee364f682daa2f41565d18c1b4 /hexedit/pico_bin.ld
parentef5584d60def8e9f778f9332cb43a22591b6ff24 (diff)
Finish hexedit machine code
Diffstat (limited to 'hexedit/pico_bin.ld')
-rw-r--r--hexedit/pico_bin.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/hexedit/pico_bin.ld b/hexedit/pico_bin.ld
new file mode 100644
index 0000000..0aa7974
--- /dev/null
+++ b/hexedit/pico_bin.ld
@@ -0,0 +1,13 @@
+ENTRY(SETUP)
+
+MEMORY {
+ FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M
+ SRAM(rwx) : ORIGIN = 0x20000000, LENGTH = 264K
+}
+
+SECTIONS {
+ .text : {
+ *(.text);
+ . = ALIGN(4);
+ } > SRAM
+}