Fix IAR Version Problem
[bsp/lpc54608-LPCXpresso/applications/SConscript] [bsp/imxrt1052-evk/applications/SConscript]
This commit is contained in:
parent
c258ca794d
commit
472491e7ca
|
@ -7,9 +7,7 @@ src = Glob('*.c')
|
|||
CPPPATH = [cwd, str(Dir('#'))]
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.CROSS_TOOL == 'iar':
|
||||
CPPDEFINES = ['_TIMESPEC_DEFINED']
|
||||
elif rtconfig.CROSS_TOOL == 'gcc':
|
||||
if rtconfig.CROSS_TOOL == 'gcc':
|
||||
CPPDEFINES = ['__START=entry']
|
||||
else:
|
||||
CPPDEFINES = []
|
||||
|
|
|
@ -6,12 +6,6 @@ cwd = os.path.join(str(Dir('#')), 'applications')
|
|||
src = Glob('*.c')
|
||||
CPPPATH = [cwd, str(Dir('#'))]
|
||||
|
||||
# add for startup script
|
||||
if rtconfig.CROSS_TOOL == 'iar':
|
||||
CPPDEFINES = ['_TIMESPEC_DEFINED']
|
||||
else:
|
||||
CPPDEFINES = []
|
||||
|
||||
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
|
||||
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
|
|
Loading…
Reference in New Issue