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.
Diff: TARGET_K82F/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld
- Revision:
- 140:97feb9bacc10
- Parent:
- 129:0ab6a29f35bf
diff -r 856d2700e60b -r 97feb9bacc10 TARGET_K82F/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld --- a/TARGET_K82F/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld Thu Mar 30 13:26:47 2017 +0100 +++ b/TARGET_K82F/TOOLCHAIN_GCC_ARM/MK82FN256xxx15.ld Wed Apr 12 16:07:08 2017 +0100 @@ -52,9 +52,15 @@ __ram_vector_table__ = 1; -/* Heap 1/4 of ram and stack 1/8 */ -__stack_size__ = 0x8000; -__heap_size__ = 0x10000; +/* 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; + +/* This is the guaranteed minimum available heap size for an application. When + * uVisor is enabled, this is also the maximum available heap size. The + * HEAP_SIZE value is set by uVisor porters to balance the size of the legacy + * heap and the page heap in uVisor applications. */ +__heap_size__ = 0x6000; HEAP_SIZE = DEFINED(__heap_size__) ? __heap_size__ : 0x0400; STACK_SIZE = DEFINED(__stack_size__) ? __stack_size__ : 0x0400;