The official mbed C/C SDK provides the software platform and libraries to build your applications.

Fork of mbed by mbed official

Revision:
95:7e07b6fb45cf
Parent:
93:e188a91d3eaa
diff -r 9ad691361fac -r 7e07b6fb45cf TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf
--- a/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf	Mon Feb 16 16:32:49 2015 +0000
+++ b/TARGET_NUCLEO_F302R8/TOOLCHAIN_IAR/stm32f302x8.icf	Wed Mar 04 07:31:39 2015 +0100
@@ -15,8 +15,9 @@
 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
 
 /* Stack and Heap */
-define symbol __size_cstack__ = 0x1000;
-define symbol __size_heap__   = 0x1700;
+/*Heap 1/4 of ram and stack 1/8*/
+define symbol __size_cstack__ = 0x800;
+define symbol __size_heap__   = 0x1000;
 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 };