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.

Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
--- a/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/stm32l476xx.icf	Thu Nov 08 11:45:42 2018 +0000
+++ b/TARGET_DISCO_L476VG/TOOLCHAIN_IAR/stm32l476xx.icf	Wed Feb 20 20:53:29 2019 +0000
@@ -12,15 +12,22 @@
 define symbol __NVIC_end__            = 0x10000187;
 define symbol __region_SRAM2_start__  = 0x10000188;
 define symbol __region_SRAM2_end__    = 0x10007FFF;
-define symbol __region_SRAM1_start__  = 0x20000000;
+define symbol __region_CRASH_DATA_RAM_start__  = 0x20000000;
+define symbol __region_CRASH_DATA_RAM_end__  = 0x200000FF;
+define symbol __region_SRAM1_start__  = 0x20000100;
 define symbol __region_SRAM1_end__    = 0x20017FFF;
 
 /* Memory regions */
 define memory mem with size = 4G;
 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
 define region SRAM2_region = mem:[from __region_SRAM2_start__ to __region_SRAM2_end__];
+define region CRASH_DATA_RAM_region = mem:[from __region_CRASH_DATA_RAM_start__ to __region_CRASH_DATA_RAM_end__];
 define region SRAM1_region = mem:[from __region_SRAM1_start__ to __region_SRAM1_end__];
 
+/* Define Crash Data Symbols */
+define exported symbol __CRASH_DATA_RAM_START__ = __region_CRASH_DATA_RAM_start__;
+define exported symbol __CRASH_DATA_RAM_END__ = __region_CRASH_DATA_RAM_end__;
+
 /* Stack complete SRAM2 and Heap 2/3 of SRAM1 */
 define symbol __size_cstack__ = 0x7e00;
 define symbol __size_heap__   = 0x10000;