summaryrefslogtreecommitdiff
path: root/bsp/xplorer4330/Libraries/Device/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/xplorer4330/Libraries/Device/SConscript')
-rw-r--r--bsp/xplorer4330/Libraries/Device/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/xplorer4330/Libraries/Device/SConscript b/bsp/xplorer4330/Libraries/Device/SConscript
index da99bf9cc8..8084ff93ff 100644
--- a/bsp/xplorer4330/Libraries/Device/SConscript
+++ b/bsp/xplorer4330/Libraries/Device/SConscript
@@ -16,14 +16,14 @@ if rtconfig.USE_CORE =='CORE_M4':
src += ['NXP/LPC43xx/Source/Templates/GCC/startup_LPC43xx.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += ['NXP/LPC43xx/Source/Templates/ARM/startup_LPC43xx.s']
- elif rtconfig.CROSS_TOOL == 'iar':
+ elif rtconfig.PLATFORM in ['iccarm']:
src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx.s']
else:
if rtconfig.PLATFORM in ['gcc']:
src += ['NXP/LPC43xx/Source/Templates/GCC/startup_LPC43xx_M0.s']
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += ['NXP/LPC43xx/Source/Templates/ARM/startup_LPC43xx_M0.s']
- elif rtconfig.CROSS_TOOL == 'iar':
+ elif rtconfig.PLATFORM in ['iccarm']:
src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx_M0.s']
group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)