The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_SAKURAIO_EVB_01/TOOLCHAIN_GCC_ARM/STM32F411XE.ld
- Revision:
- 167:84c0a372a020
- Parent:
- 160:5571c4ff569f
- Child:
- 171:3a7713b1edbc
diff -r 5aab5a7997ee -r 84c0a372a020 TARGET_SAKURAIO_EVB_01/TOOLCHAIN_GCC_ARM/STM32F411XE.ld --- a/TARGET_SAKURAIO_EVB_01/TOOLCHAIN_GCC_ARM/STM32F411XE.ld Fri Apr 20 11:08:29 2018 +0100 +++ b/TARGET_SAKURAIO_EVB_01/TOOLCHAIN_GCC_ARM/STM32F411XE.ld Fri May 11 16:51:14 2018 +0100 @@ -1,7 +1,15 @@ +#if !defined(MBED_APP_START) + #define MBED_APP_START 0x08000000 +#endif + +#if !defined(MBED_APP_SIZE) + #define MBED_APP_SIZE 512K +#endif + /* Linker script to configure memory regions. */ MEMORY -{ - FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K +{ + FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE RAM (rwx) : ORIGIN = 0x20000198, LENGTH = 128k - 0x198 }