Skip to content

Commit f1926c0

Browse files
committed
Fix linker script errors
1 parent a07a373 commit f1926c0

File tree

2 files changed

+4
-1
lines changed
  • targets
    • TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR
    • TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/TOOLCHAIN_ARM_STD

2 files changed

+4
-1
lines changed

targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_IAR/M487.icf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ define symbol __ICFEDIT_region_IRAM_end__ = 0x20028000 - 1;
1313
/*-Sizes-*/
1414
define symbol __ICFEDIT_size_cstack__ = 0x800;
1515
define symbol __ICFEDIT_size_crash_data__ = 0x100;
16-
define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 96))
16+
define symbol __ICFEDIT_size_intvec__ = (4 * (16 + 96));
1717
define symbol __ICFEDIT_size_heap__ = 0x10000;
1818
/**** End of ICF editor section. ###ICF###*/
1919

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/device/TOOLCHAIN_ARM_STD/stm32f429xx.sct

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE { ; load region size_region
5353
*(InRoot$$Sections)
5454
.ANY (+RO)
5555
}
56+
57+
RW_m_crash_data MBED_CRASH_REPORT_RAM_START EMPTY MBED_CRASH_REPORT_RAM_SIZE { ; RW data
58+
}
5659

5760
; Total: 107 vectors = 428 bytes (0x1AC) 8-byte aligned = 0x1B0 (0x1AC + 0x4) to be reserved in RAM
5861
RW_IRAM1 (MBED_RAM0_START) (MBED_RAM0_SIZE) { ; RW data

0 commit comments

Comments
 (0)