summaryrefslogtreecommitdiff
path: root/bsp/lpc43xx/Libraries/Device/SConscript
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-01-08 21:14:23 -0500
committerMan, Jianting (Meco) <[email protected]>2023-01-08 22:52:13 -0500
commit9bc68d26a446158aad13f910fa5a2b8b09febec1 (patch)
tree638edf21bde9c986b80dd5271360b3c1e9813ef9 /bsp/lpc43xx/Libraries/Device/SConscript
parentf4b285dc9cc1a2751ad090afa2f582349197d179 (diff)
format Kconfig and sconscript
Diffstat (limited to 'bsp/lpc43xx/Libraries/Device/SConscript')
-rw-r--r--bsp/lpc43xx/Libraries/Device/SConscript26
1 files changed, 13 insertions, 13 deletions
diff --git a/bsp/lpc43xx/Libraries/Device/SConscript b/bsp/lpc43xx/Libraries/Device/SConscript
index 8084ff93ff..9380ad9409 100644
--- a/bsp/lpc43xx/Libraries/Device/SConscript
+++ b/bsp/lpc43xx/Libraries/Device/SConscript
@@ -10,21 +10,21 @@ NXP/LPC43xx/Source/Templates/system_LPC43xx.c
CPPPATH = [cwd + '/NXP/LPC43xx/Include', cwd + '/../CMSIS/Include']
CPPDEFINES = [rtconfig.USE_CORE]
CPPDEFINES += ['USE_SPIFI']
-# add for startup script
+# add for startup script
if rtconfig.USE_CORE =='CORE_M4':
- 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.PLATFORM in ['iccarm']:
- src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx.s']
+ 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.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.PLATFORM in ['iccarm']:
- src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx_M0.s']
+ 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.PLATFORM in ['iccarm']:
+ src += ['NXP/LPC43xx/Source/Templates/IAR/startup_LPC43xx_M0.s']
group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')