From a596529780f9c2d5ff5e5c2a91b9d2ae4afcf5d5 Mon Sep 17 00:00:00 2001 From: Brian Daniels Date: Wed, 3 Aug 2016 18:08:53 -0500 Subject: [PATCH] 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. --- .../TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf b/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf index 673f212eba..2a765b6731 100644 --- a/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf +++ b/hal/targets/cmsis/TARGET_Freescale/TARGET_KLXX/TARGET_KL46Z/TOOLCHAIN_IAR/MKL46Z4.icf @@ -13,7 +13,7 @@ define symbol __ICFEDIT_region_RAM_end__ = 0x1fffffff; /*-Sizes-*/ /*Heap 1/4 of ram and stack 1/8*/ define symbol __ICFEDIT_size_cstack__ = 0x1000; -define symbol __ICFEDIT_size_heap__ = 0x2000; +define symbol __ICFEDIT_size_heap__ = 0x4000; /**** End of ICF editor section. ###ICF###*/ define symbol __region_RAM2_start__ = 0x20000000;