From 4e83d7fb15e19d80e9eb44df7f45e0e07f1f8a4c Mon Sep 17 00:00:00 2001 From: adustm Date: Thu, 17 Aug 2017 10:34:57 +0200 Subject: [PATCH] Fix for IAR tests --- .../TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf index 6d0f4911c2..af06fd3e65 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf +++ b/targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L496xG/device/TOOLCHAIN_IAR/stm32l496xx.icf @@ -6,8 +6,8 @@ define symbol __region_ROM_end__ = 0x08000000 + 0x100000 - 1; /* [RAM = 0x50000] */ /* Vector table dynamic copy: Total: 107 vectors = 428 bytes (0x1AC) to be reserved in RAM */ define symbol __NVIC_start__ = 0x20000000; -define symbol __NVIC_end__ = 0x200001AC; /* Aligned on 8 bytes (428 = 53 x 8) */ -define symbol __region_SRAM1_start__ = 0x20000000; +define symbol __NVIC_end__ = 0x200001AC - 1; +define symbol __region_SRAM1_start__ = 0x200001AC; /* Aligned on 8 bytes (428 = 53 x 8) */ define symbol __region_SRAM1_end__ = 0x2004FFFF; /* Memory regions */