Skip to content

Commit 95fc6d0

Browse files
committed
STM32: fix F410RB vectors size
On F410RB, the size reserved to vectors with ARM toolchains was not properly defined,which was not the case for other toolchains. This would cause few tests to fail like EXAMPLE_1 with below error: HOST: Unknown property: mbed assertation failed: _ptr == (T *)&_data, file: C:/github/mbed/BUILD/mbed/platform/SingletonPtr.h, line 91
1 parent 7653f65 commit 95fc6d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F410xB/device/TOOLCHAIN_ARM_MICRO/stm32f410xb.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ LR_IROM1 0x08000000 0x20000 { ; load region size_region
3636
.ANY (+RO)
3737
}
3838

39-
; Total: 112 vectors = 448 bytes (0x1C0) to be reserved in RAM
40-
RW_IRAM1 (0x20000000+0x1C0) (0x8000-0x1C0) { ; RW data
39+
; Total: 114 vectors = 456 bytes (0x1C8) to be reserved in RAM
40+
RW_IRAM1 (0x20000000+0x1C8) (0x8000-0x1C8) { ; RW data
4141
.ANY (+RW +ZI)
4242
}
4343

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F410xB/device/TOOLCHAIN_ARM_STD/stm32f410xb.sct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ LR_IROM1 0x08000000 0x20000 { ; load region size_region
3636
.ANY (+RO)
3737
}
3838

39-
; Total: 112 vectors = 448 bytes (0x1C0) to be reserved in RAM
40-
RW_IRAM1 (0x20000000+0x1C0) (0x8000-0x1C0) { ; RW data
39+
; Total: 114 vectors = 456 bytes (0x1C8) to be reserved in RAM
40+
RW_IRAM1 (0x20000000+0x1C8) (0x8000-0x1C8) { ; RW data
4141
.ANY (+RW +ZI)
4242
}
4343

0 commit comments

Comments
 (0)