summaryrefslogtreecommitdiff
path: root/bsp/lpc5410x/Libraries/Device/SConscript
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-04-19 21:56:04 -0400
committerGitHub <[email protected]>2022-04-20 09:56:04 +0800
commita0f8d43744aea08165f6d89eb1fef8d068c5bbe2 (patch)
tree1453fbe45372452948de00c36f07939909649a0e /bsp/lpc5410x/Libraries/Device/SConscript
parent08bebb40ba4c9a8c47be4c2686379e6a919aced7 (diff)
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
Diffstat (limited to 'bsp/lpc5410x/Libraries/Device/SConscript')
-rw-r--r--bsp/lpc5410x/Libraries/Device/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/lpc5410x/Libraries/Device/SConscript b/bsp/lpc5410x/Libraries/Device/SConscript
index 40a74f1541..56fd075178 100644
--- a/bsp/lpc5410x/Libraries/Device/SConscript
+++ b/bsp/lpc5410x/Libraries/Device/SConscript
@@ -12,9 +12,9 @@ CPPDEFINES = ['CORE_M4']
# add for startup script
-if rtconfig.CROSS_TOOL == 'gcc':
+if rtconfig.PLATFORM == 'gcc':
src += ['startup/gcc_startup_lpc5410x.c']
-elif rtconfig.CROSS_TOOL == 'keil':
+elif rtconfig.PLATFORM in ['armcc', 'armclang']:
src += ['startup/keil_startup_lpc5410x.s']
group = DefineGroup('CMSIS', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)