Skip to content

Commit 942d16f

Browse files
committed
Merge pull request #566 from cedar-renjun/patch-4
[BSP] include iar startup code in stm32f4
2 parents c086258 + 34a2200 commit 942d16f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bsp/stm32f40x/Libraries/SConscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ if rtconfig.CROSS_TOOL == 'gcc':
1818
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f4xx.s']
1919
elif rtconfig.CROSS_TOOL == 'keil':
2020
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/arm/startup_stm32f4xx.s']
21-
# elif rtconfig.CROSS_TOOL == 'iar':
22-
# src = src + ['CMSIS/CM3/DeviceSupport/ST/STM32F10x/startup/iar/' + startup_scripts[rtconfig.STM32_TYPE]]
21+
elif rtconfig.CROSS_TOOL == 'iar':
22+
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/iar/startup_stm32f4xx.s']
2323

2424
path = [cwd + '/STM32F4xx_StdPeriph_Driver/inc',
2525
cwd + '/CMSIS/ST/STM32F4xx/Include',

0 commit comments

Comments
 (0)