diff options
| author | MurphyZhao <[email protected]> | 2018-01-10 15:08:14 +0800 |
|---|---|---|
| committer | MurphyZhao <[email protected]> | 2018-01-10 15:10:02 +0800 |
| commit | 472491e7ca4ffa5b64b6dce735c5f736c8ebdcbe (patch) | |
| tree | 7ab409bb0654f8fd36625be8467114c0c97ae152 /bsp | |
| parent | c258ca794d6aeb84d35099781e066cf8b60ebb6a (diff) | |
Fix IAR Version Problem
[bsp/lpc54608-LPCXpresso/applications/SConscript]
[bsp/imxrt1052-evk/applications/SConscript]
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/imxrt1052-evk/applications/SConscript | 4 | ||||
| -rw-r--r-- | bsp/lpc54608-LPCXpresso/applications/SConscript | 8 |
2 files changed, 2 insertions, 10 deletions
diff --git a/bsp/imxrt1052-evk/applications/SConscript b/bsp/imxrt1052-evk/applications/SConscript index 79416cbc8b..7725e3b910 100644 --- a/bsp/imxrt1052-evk/applications/SConscript +++ b/bsp/imxrt1052-evk/applications/SConscript @@ -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 = [] diff --git a/bsp/lpc54608-LPCXpresso/applications/SConscript b/bsp/lpc54608-LPCXpresso/applications/SConscript index ce22322176..01eb940dfb 100644 --- a/bsp/lpc54608-LPCXpresso/applications/SConscript +++ b/bsp/lpc54608-LPCXpresso/applications/SConscript @@ -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') |
