Alessandro Angelino / target-mcu-k64f

Fork of target-mcu-k64f by Morpheus

Revision:
3:45d1072eb12f
Parent:
2:55d6ee55cf2a
--- a/cmsis/TOOLCHAIN_GCC_ARM/K64FN1M0xxx12.ld	Mon Apr 04 13:49:58 2016 +0100
+++ b/cmsis/TOOLCHAIN_GCC_ARM/K64FN1M0xxx12.ld	Mon Apr 04 13:50:46 2016 +0100
@@ -186,6 +186,19 @@
         __uvisor_secure_end = .;
     } >FLASH
 
+    /* Uninitialized memory section
+     * The C/C++ library initialization will not touch this section. Data
+     * written here will keep its value on reboots (assuming no power loss). */
+    .uninitialized (NOLOAD):
+    {
+        . = ALIGN(32);
+        __uninitialized_start = .;
+        *(.uninitialized)
+        KEEP(*(.keep.uninitialized))
+        . = ALIGN(32);
+        __uninitialized_end = .;
+    } > RAM
+
     .bss :
     {
         __bss_start__ = .;