aboutsummaryrefslogtreecommitdiff
path: root/assembler/pico_bin.ld
diff options
context:
space:
mode:
Diffstat (limited to 'assembler/pico_bin.ld')
-rw-r--r--assembler/pico_bin.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/assembler/pico_bin.ld b/assembler/pico_bin.ld
new file mode 100644
index 0000000..3059501
--- /dev/null
+++ b/assembler/pico_bin.ld
@@ -0,0 +1,13 @@
+ENTRY(main)
+
+MEMORY {
+ FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M
+ SRAM(rwx) : ORIGIN = 0x20001000, LENGTH = 260K
+}
+
+SECTIONS {
+ .text : {
+ *(.text);
+ . = ALIGN(4);
+ } > SRAM
+}