aboutsummaryrefslogtreecommitdiff
path: root/hexedit/pico_bin.ld
diff options
context:
space:
mode:
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
+}