From 4b7e163b5777dfc71c6f82d76e1d69d1a2c41813 Mon Sep 17 00:00:00 2001 From: Deepika Date: Fri, 12 Apr 2019 15:28:52 -0500 Subject: [PATCH] Add missing boot stack size memory from heap calculation --- .../TARGET_STM32L443xC/device/TOOLCHAIN_ARM_STD/stm32l443xx.sct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L443xC/device/TOOLCHAIN_ARM_STD/stm32l443xx.sct b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L443xC/device/TOOLCHAIN_ARM_STD/stm32l443xx.sct index bd875efc83..326c5ceca3 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L443xC/device/TOOLCHAIN_ARM_STD/stm32l443xx.sct +++ b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L443xC/device/TOOLCHAIN_ARM_STD/stm32l443xx.sct @@ -79,7 +79,7 @@ ; Minimum heap should be larger then smallest RAM bank (else can use ; that bank for heap) and less then largest RAM bank. #define MINIMUM_HEAP 0x4000 -#define RAM_FIXED_SIZE 0x0 +#define RAM_FIXED_SIZE MBED_BOOT_STACK_SIZE ;Splitting the RW and ZI section in IRAM1 (MBED_RAM_SIZE-MINIMUM_HEAP = 0x8000 available) ;and IRAM2 (MBED_IRAM2_SIZE = 0x3E70 available)