diff options
Diffstat (limited to 'bsp/lpc43xx/Libraries/Device/SConscript')
| -rw-r--r-- | bsp/lpc43xx/Libraries/Device/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/lpc43xx/Libraries/Device/SConscript b/bsp/lpc43xx/Libraries/Device/SConscript index fed180fd71..da99bf9cc8 100644 --- a/bsp/lpc43xx/Libraries/Device/SConscript +++ b/bsp/lpc43xx/Libraries/Device/SConscript @@ -12,14 +12,14 @@ CPPDEFINES = [rtconfig.USE_CORE] CPPDEFINES += ['USE_SPIFI'] # add for startup script if rtconfig.USE_CORE =='CORE_M4': - if rtconfig.PLATFORM == 'gcc': + if rtconfig.PLATFORM in ['gcc']: 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': src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx.s'] else: - if rtconfig.PLATFORM == 'gcc': + 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'] |
