aboutsummaryrefslogtreecommitdiff
path: root/newasm/pico_bin.ld
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-08-21 00:21:54 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-08-21 00:21:54 -0500
commited6f1106322f8ca4a6e26d08365bb9558ffa9d09 (patch)
tree0258d4a7b0429c82b4f7af8d63106ea93e7150de /newasm/pico_bin.ld
parentd23ab4295a865580f6cb7bb4526978bac388b5ac (diff)
Start new assembler
Diffstat (limited to 'newasm/pico_bin.ld')
-rw-r--r--newasm/pico_bin.ld13
1 files changed, 13 insertions, 0 deletions
diff --git a/newasm/pico_bin.ld b/newasm/pico_bin.ld
new file mode 100644
index 0000000..258ba57
--- /dev/null
+++ b/newasm/pico_bin.ld
@@ -0,0 +1,13 @@
+ENTRY(main)
+
+MEMORY {
+ FLASH(rx) : ORIGIN = 0x10000000, LENGTH = 2M
+ SRAM(rwx) : ORIGIN = 0x20001000, LENGTH = 264K
+}
+
+SECTIONS {
+ .text : {
+ *(.text);
+ . = ALIGN(4);
+ } > SRAM
+}