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:
169:a7c7b631e539
Parent:
156:ff21514d8981
Child:
171:3a7713b1edbc
--- a/TARGET_NCS36510/TOOLCHAIN_GCC_ARM/NCS36510.ld	Thu May 24 15:35:55 2018 +0100
+++ b/TARGET_NCS36510/TOOLCHAIN_GCC_ARM/NCS36510.ld	Fri Jun 22 15:38:59 2018 +0100
@@ -3,10 +3,12 @@
  */
 
 MEMORY {
+    FIB (rx)              : ORIGIN = 0x00002000, LENGTH = 0x00000800
+    TRIM (rx)             : ORIGIN = 0x00002800, LENGTH = 0x00000800
     VECTORS (rx)          : ORIGIN = 0x00003000, LENGTH = 0x00000090
-        FLASH (rx)            : ORIGIN = 0x00003090, LENGTH = 320K - 4K - 0x90
-        RAM (rwx)             : ORIGIN = 0x3FFF4090, LENGTH = 48K - 0x90 /* 8_byte_aligned(35 vectors * 4 bytes each) = 0x90 */
-    }
+    FLASH (rx)            : ORIGIN = 0x00003090, LENGTH = 320K - 4K - 0x90
+    RAM (rwx)             : ORIGIN = 0x3FFF4090, LENGTH = 48K - 0x90 /* 8_byte_aligned(35 vectors * 4 bytes each) = 0x90 */
+}
 
     /* Linker script to place sections and symbol values. Should be used together
      * with other linker script that defines memory regions FLASH and RAM.
@@ -37,7 +39,17 @@
     ENTRY(Reset_Handler)
 
     SECTIONS {
-.isr_vector :
+    .fib :
+    {
+        KEEP(*(.fib))
+    } > FIB
+
+    .trim :
+    {
+        KEEP(*(.trim))
+    } > TRIM
+
+    .isr_vector :
     {
         __vector_table = .;
         KEEP(*(.vector_table))