Skip to content

Commit a596529

Browse files
committed
Increasing the heap for KL46Z for IAR.
The KL46Z passes all tests except the following when built with IAR: tests-mbedmicro-rtos-mbed-threads. This is because the heap is becomes fully allocated.This commit increases the heap from 8K to 16K.
1 parent 8996227 commit a596529

File tree

1 file changed

+1
-1
lines changed
  • hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR

1 file changed

+1
-1
lines changed

hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff;
1313
/*-Sizes-*/
1414
/*Heap 1/4 of ram and stack 1/8*/
1515
define symbol __ICFEDIT_size_cstack__ = 0x1000;
16-
define symbol __ICFEDIT_size_heap__ = 0x2000;
16+
define symbol __ICFEDIT_size_heap__ = 0x4000;
1717
/**** End of ICF editor section. ###ICF###*/
1818

1919
define symbol __region_RAM2_start__ = 0x20000000;

0 commit comments

Comments
 (0)