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_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld
- Revision:
- 154:fb8e0ae1cceb
- Parent:
- 112:6f327212ef96
--- a/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld Wed Oct 11 12:36:33 2017 +0100 +++ b/TARGET_B96B_F446VE/TOOLCHAIN_GCC_ARM/STM32F446XE.ld Wed Oct 25 14:40:21 2017 +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 = 0x200001C4, LENGTH = 128k - 0x1C4 } @@ -9,7 +17,7 @@ * with other linker script that defines memory regions FLASH and RAM. * It references following symbols, which must be defined in code: * Reset_Handler : Entry of reset handler - * + * * It defines following symbols, which code can use without definition: * __exidx_start * __exidx_end