mbed library sources for small microcontrollers such as STM32F050F6P6 (with 4 kB RAM)

Dependents:   STM32F031_blink_LED_1

Fork of mbed-src by mbed official

Revision:
483:37da4976ca27
Parent:
20:4263a77256ae
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/LPC43xx.icf	Fri Feb 27 10:00:08 2015 +0000
+++ b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_IAR/LPC43xx.icf	Sat Feb 28 07:15:07 2015 +0000
@@ -20,8 +20,9 @@
 define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__];
 
 /* Stack and Heap */
-define symbol __size_cstack__   = 0x800;
-define symbol __size_heap__     = 0x800;
+/*Heap 1/4 of ram and stack 1/8*/
+define symbol __size_cstack__   = 0x4000;
+define symbol __size_heap__     = 0x8000;
 define block CSTACK    with alignment = 8, size = __size_cstack__   { };
 define block HEAP      with alignment = 8, size = __size_heap__     { };
 define block STACKHEAP with fixed order { block HEAP, block CSTACK };