aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32/memory_ble.x
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stm32/memory_ble.x')
-rw-r--r--tests/stm32/memory_ble.x23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/stm32/memory_ble.x b/tests/stm32/memory_ble.x
new file mode 100644
index 000000000..4332e2c72
--- /dev/null
+++ b/tests/stm32/memory_ble.x
@@ -0,0 +1,23 @@
1/*
2 Memory size for STM32WB55xG with 512K FLASH
3*/
4
5MEMORY
6{
7 FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K
8 RAM (xrw) : ORIGIN = 0x20000008, LENGTH = 0x2FFF8
9 RAM_SHARED (xrw) : ORIGIN = 0x20030000, LENGTH = 10K
10}
11
12/* Place stack at the end of SRAM1 */
13_stack_start = ORIGIN(RAM) + LENGTH(RAM);
14
15/*
16 * Scatter the mailbox interface memory sections in shared memory
17 */
18SECTIONS {
19 TL_REF_TABLE (NOLOAD) : { *(TL_REF_TABLE) } >RAM_SHARED
20
21 MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
22 MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
23}