Skip to content

Commit 7d9c633

Browse files
authored
Merge pull request #9977 from jeromecoutant/PR_L073_IAR
NUCLEO_L073RZ: IAR linker script issue
2 parents b19fa51 + c668472 commit 7d9c633

File tree

1 file changed

+3
-3
lines changed
  • targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_IAR

1 file changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L073RZ/device/TOOLCHAIN_IAR/stm32l073xx.icf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ if (!isdefinedsymbol(MBED_APP_START)) {
33
}
44

55
if (!isdefinedsymbol(MBED_APP_SIZE)) {
6-
define symbol MBED_APP_SIZE = 0x3000;
6+
define symbol MBED_APP_SIZE = 0x30000;
77
}
88

99
define symbol __intvec_start__ = MBED_APP_START;
10-
define symbol __region_ROM_start__ = MBED_APP_SIZE;
11-
define symbol __region_ROM_end__ = MBED_APP_START - MBED_APP_SIZE - 1;
10+
define symbol __region_ROM_start__ = MBED_APP_START;
11+
define symbol __region_ROM_end__ = MBED_APP_START + MBED_APP_SIZE - 1;
1212

1313
/* [RAM = 20kb = 0x5000] Vector table dynamic copy: 48 vectors = 192 bytes (0xC0) to be reserved in RAM */
1414
define symbol __NVIC_start__ = 0x20000000;

0 commit comments

Comments
 (0)