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_NUCLEO_F303ZE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld
- Revision:
- 170:e95d10626187
- Parent:
- 126:abea610beb85
- Child:
- 171:3a7713b1edbc
--- a/TARGET_NUCLEO_F303ZE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld Fri Jun 22 15:38:59 2018 +0100 +++ b/TARGET_NUCLEO_F303ZE/TOOLCHAIN_GCC_ARM/STM32F303XE.ld Thu Sep 06 13:39:34 2018 +0100 @@ -1,7 +1,15 @@ /* Linker script to configure memory regions. */ +#ifndef MBED_APP_START +#define MBED_APP_START 0x08000000 +#endif + +#ifndef MBED_APP_SIZE +#define MBED_APP_SIZE 512K +#endif + MEMORY { - FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K + FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE CCM (rwx) : ORIGIN = 0x10000000, LENGTH = 16K RAM (rwx) : ORIGIN = 0x20000194, LENGTH = 64K - 0x194 }