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:
140:97feb9bacc10
Parent:
120:7c328cabac7e
--- a/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld	Thu Mar 30 13:26:47 2017 +0100
+++ b/TARGET_KL27Z/TOOLCHAIN_GCC_ARM/MKL27Z64xxx4.ld	Wed Apr 12 16:07:08 2017 +0100
@@ -53,9 +53,11 @@
 
 __ram_vector_table__ = 1;
 
-/* Heap 1/4 of ram and stack 1/8 */
-__stack_size__ = 0x800;
-__heap_size__ = 0x1000;
+/* With the RTOS in use, this does not affect the main stack size. The size of
+ * the stack where main runs is determined via the RTOS. */
+__stack_size__ = 0x400;
+/* With the RTOS in use, this does not affect the main heap size. */
+__heap_size__ = 0x0;
 
 HEAP_SIZE  = DEFINED(__heap_size__)  ? __heap_size__  : 0x0400;
 STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;