summaryrefslogtreecommitdiff
path: root/bsp/tae32f5300/Libraries/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-05-30 18:11:15 -0400
committerguo <[email protected]>2022-06-09 07:01:59 +0800
commit83b3aadaa30f60fe011bf05f9212e2f583183d10 (patch)
tree2c71de66189a2d5edb283c3ecdd8443c3057039c /bsp/tae32f5300/Libraries/SConscript
parent50f041f5c2fb69b06283f54ce4619a08751d9367 (diff)
[Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链 此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
Diffstat (limited to 'bsp/tae32f5300/Libraries/SConscript')
-rw-r--r--bsp/tae32f5300/Libraries/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/tae32f5300/Libraries/SConscript b/bsp/tae32f5300/Libraries/SConscript
index e2625632cb..ae4c35e5fb 100644
--- a/bsp/tae32f5300/Libraries/SConscript
+++ b/bsp/tae32f5300/Libraries/SConscript
@@ -43,7 +43,7 @@ if rtconfig.PLATFORM in ['gcc']:
src = src + ['CMSIS/Device/Tai_action/TAE32F53xx/Source/GCC/startup_ARMCM3.S']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src = src + ['CMSIS/Device/Tai_action/TAE32F53xx/Source/startup_tae32f53xx.c']
-elif rtconfig.CROSS_TOOL == 'iar':
+elif rtconfig.PLATFORM in ['iccarm']:
src = src + ['CMSIS/Device/Tai_action/TAE32F53xx/Source/IAR/startup_ARMCM3.s']
#add headfile script