mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
include iar startup code
fixed bug: 'scons --target=iar -s' output iar project missing startup code, and link file 修复scons生成IAR工程中没有startup code和链接文件,导致工程中断异常和Finsh无法工作
This commit is contained in:
1 parent
850343f353
commit
34a2200428
1 file changed
+2
-2
@@ -18,8 +18,8 @@ if rtconfig.CROSS_TOOL == 'gcc':
|
||||
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f4xx.s']
|
||||
elif rtconfig.CROSS_TOOL == 'keil':
|
||||
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/arm/startup_stm32f4xx.s']
|
||||
# elif rtconfig.CROSS_TOOL == 'iar':
|
||||
# src = src + ['CMSIS/CM3/DeviceSupport/ST/STM32F10x/startup/iar/' + startup_scripts[rtconfig.STM32_TYPE]]
|
||||
elif rtconfig.CROSS_TOOL == 'iar':
|
||||
src = src + ['CMSIS/ST/STM32F4xx/Source/Templates/iar/startup_stm32f4xx.s']
|
||||
|
||||
path = [cwd + '/STM32F4xx_StdPeriph_Driver/inc',
|
||||
cwd + '/CMSIS/ST/STM32F4xx/Include',
|
||||
|
||||
Reference in new issue
Block a user