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_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld
- Revision:
- 172:65be27845400
- Parent:
- 171:3a7713b1edbc
--- a/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld Thu Nov 08 11:45:42 2018 +0000 +++ b/TARGET_ELMO_F411RE/TOOLCHAIN_GCC_ARM/STM32F411XE.ld Wed Feb 20 20:53:29 2019 +0000 @@ -6,6 +6,8 @@ #define MBED_APP_SIZE 512K #endif +M_CRASH_DATA_RAM_SIZE = 0x100; + /* Linker script to configure memory regions. */ MEMORY { @@ -84,6 +86,18 @@ __etext = .; _sidata = .; + + .crash_data_ram : + { + . = ALIGN(8); + __CRASH_DATA_RAM__ = .; + __CRASH_DATA_RAM_START__ = .; /* Create a global symbol at data start */ + KEEP(*(.keep.crash_data_ram)) + *(.m_crash_data_ram) /* This is a user defined section */ + . += M_CRASH_DATA_RAM_SIZE; + . = ALIGN(8); + __CRASH_DATA_RAM_END__ = .; /* Define a global symbol at data end */ + } > RAM .data : AT (__etext) {