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:
122:f9eeca106725
Parent:
99:dbbf35b96557
--- a/TARGET_NRF51822/TOOLCHAIN_GCC_ARM/NRF51822.ld	Wed May 25 16:44:06 2016 +0100
+++ b/TARGET_NRF51822/TOOLCHAIN_GCC_ARM/NRF51822.ld	Thu Jul 07 14:34:11 2016 +0100
@@ -124,18 +124,20 @@
 		__bss_end__ = .;
 	} > RAM
 
-	.heap (COPY):
+	.heap (NOLOAD):
 	{
 		__end__ = .;
 		end = __end__;
+		__HeapBase = .;
 		*(.heap*)
+		. = ORIGIN(RAM) + LENGTH(RAM) - Stack_Size;
 		__HeapLimit = .;
 	} > RAM
 
 	/* .stack_dummy section doesn't contains any symbols. It is only
 	 * used for linker to calculate size of stack sections, and assign
 	 * values to stack symbols later */
-	.stack_dummy (COPY):
+	.stack_dummy (NOLOAD):
 	{
 		*(.stack*)
 	} > RAM