aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32wl5x-lp/memory.x
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stm32wl5x-lp/memory.x')
-rw-r--r--examples/stm32wl5x-lp/memory.x15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/stm32wl5x-lp/memory.x b/examples/stm32wl5x-lp/memory.x
new file mode 100644
index 000000000..4590867a8
--- /dev/null
+++ b/examples/stm32wl5x-lp/memory.x
@@ -0,0 +1,15 @@
1MEMORY
2{
3 /* NOTE 1 K = 1 KiBi = 1024 bytes */
4 FLASH : ORIGIN = 0x08000000, LENGTH = 256K
5 SHARED_RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 128
6 RAM (rwx) : ORIGIN = 0x20000080, LENGTH = 64K - 128
7}
8
9SECTIONS
10{
11 .shared_data :
12 {
13 *(.shared_data)
14 } > SHARED_RAM
15}