We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a33b2 commit 8484467Copy full SHA for 8484467
targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/device/TOOLCHAIN_GCC_ARM/STM32L151XC.ld
@@ -1,11 +1,17 @@
1
/* Linker script to configure memory regions. */
2
+#if !defined(MBED_APP_START)
3
+ #define MBED_APP_START 0x08000000
4
+#endif
5
6
+#if !defined(MBED_APP_SIZE)
7
+ #define MBED_APP_SIZE 256k
8
9
MEMORY
10
{
11
/* 256KB FLASH, 32KB RAM, Reserve up till 0x13C. There are 0x73 vectors = 292
12
* bytes (0x124) in RAM. But all GCC scripts seem to require BootRAM @0x138
13
*/
- FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256k
14
+ FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
15
RAM (rwx) : ORIGIN = 0x2000013C, LENGTH = 0x8000-0x13C
16
}
17
0 commit comments