Skip to content

Commit 82a33b2

Browse files
committed
IAR Bootloader support
1 parent a4c7a29 commit 82a33b2

File tree

1 file changed

+5
-3
lines changed
  • targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/device/TOOLCHAIN_IAR

1 file changed

+5
-3
lines changed

targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/device/TOOLCHAIN_IAR/stm32l152xc.icf

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
if (!isdefinedsymbol(MBED_APP_START)) { define symbol MBED_APP_START = 0x08000000; }
2+
if (!isdefinedsymbol(MBED_APP_SIZE)) { define symbol MBED_APP_SIZE = 0x40000; }
13
/* [ROM = 256kb = 0x40000] */
2-
define symbol __intvec_start__ = 0x08000000;
3-
define symbol __region_ROM_start__ = 0x08000000;
4-
define symbol __region_ROM_end__ = 0x0803FFFF;
4+
define symbol __intvec_start__ = MBED_APP_START;
5+
define symbol __region_ROM_start__ = MBED_APP_START;
6+
define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
57

68
/* [RAM = 32kb = 0x8000] Vector table dynamic copy: 73 vectors = 292 bytes (0x124) to be reserved in RAM */
79
define symbol __NVIC_start__ = 0x20000000;

0 commit comments

Comments
 (0)