From c668472f01d90ebafd6fe77afeea3b2499cafcb2 Mon Sep 17 00:00:00 2001 From: Sarah Marsh Date: Thu, 21 Feb 2019 16:37:19 +0000 Subject: [PATCH] NUCLEO_L073RZ: IAR linker script issue --- .../device/TOOLCHAIN_IAR/stm32l073xx.icf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_IAR/stm32l073xx.icf b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_IAR/stm32l073xx.icf index d6044086c4..125164280f 100644 --- a/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_IAR/stm32l073xx.icf +++ b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_IAR/stm32l073xx.icf @@ -3,12 +3,12 @@ if (!isdefinedsymbol(MBED_APP_START)) { } if (!isdefinedsymbol(MBED_APP_SIZE)) { - define symbol MBED_APP_SIZE = 0x3000; + define symbol MBED_APP_SIZE = 0x30000; } define symbol __intvec_start__ = MBED_APP_START; -define symbol __region_ROM_start__ = MBED_APP_SIZE; -define symbol __region_ROM_end__ = MBED_APP_START - MBED_APP_SIZE - 1; +define symbol __region_ROM_start__ = MBED_APP_START; +define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1; /* [RAM = 20kb = 0x5000] Vector table dynamic copy: 48 vectors = 192 bytes (0xC0) to be reserved in RAM */ define symbol __NVIC_start__ = 0x20000000;