aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp-examples/memory.x
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-rp-examples/memory.x')
-rw-r--r--embassy-rp-examples/memory.x13
1 files changed, 13 insertions, 0 deletions
diff --git a/embassy-rp-examples/memory.x b/embassy-rp-examples/memory.x
new file mode 100644
index 000000000..0596611d2
--- /dev/null
+++ b/embassy-rp-examples/memory.x
@@ -0,0 +1,13 @@
1MEMORY {
2 BOOT2 : ORIGIN = 0x10000000, LENGTH = 0x100
3 FLASH : ORIGIN = 0x10000100, LENGTH = 2048K - 0x100
4 RAM : ORIGIN = 0x20000000, LENGTH = 256K
5}
6
7SECTIONS {
8 /* ### Boot loader */
9 .boot2 ORIGIN(BOOT2) :
10 {
11 KEEP(*(.boot2));
12 } > BOOT2
13} INSERT BEFORE .text; \ No newline at end of file