From 4ede959e682c41b431eb3eb7d456ff2ceb51234d Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Wed, 1 Nov 2017 13:05:48 +0800 Subject: [PATCH] [BSP] fix compiling issue under linux --- bsp/stm32f411-nucleo/Libraries/CMSIS/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32f411-nucleo/Libraries/CMSIS/SConscript b/bsp/stm32f411-nucleo/Libraries/CMSIS/SConscript index c54d816716..7425889371 100644 --- a/bsp/stm32f411-nucleo/Libraries/CMSIS/SConscript +++ b/bsp/stm32f411-nucleo/Libraries/CMSIS/SConscript @@ -18,7 +18,7 @@ elif rtconfig.CROSS_TOOL == 'keil': elif rtconfig.CROSS_TOOL == 'iar': folder = 'iar' #Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f411xe.s -src += ['Device/ST/STM32F4xx/Source/Templates/' + folder + '/startup_' + rtconfig.PART_TYPE+ '.s'] +src += ['Device/ST/STM32F4xx/Source/Templates/' + folder + '/startup_' + rtconfig.PART_TYPE.lower() + '.s'] group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)