[iar] PLATFOMR更正为'iccarm'

This commit is contained in:
Meco Man 2022-09-29 14:44:06 -04:00 committed by Man, Jianting (Meco)
parent 0fadf23b8d
commit 688b6e2014
19 changed files with 21 additions and 21 deletions

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -26,7 +26,7 @@ env = Environment(tools = ['mingw'],
LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
env.PrependENVPath('PATH', rtconfig.EXEC_PATH) env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
if rtconfig.PLATFORM == 'iar': if rtconfig.PLATFORM == 'iccarm':
env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES']) env.Replace(CCCOM = ['$CC $CFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -o $TARGET $SOURCES'])
env.Replace(ARFLAGS = ['']) env.Replace(ARFLAGS = [''])
env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map') env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map')

View File

@ -22,7 +22,7 @@ elif CROSS_TOOL == 'keil':
PLATFORM = 'armcc' PLATFORM = 'armcc'
EXEC_PATH = r'C:/Keil_v5' EXEC_PATH = r'C:/Keil_v5'
elif CROSS_TOOL == 'iar': elif CROSS_TOOL == 'iar':
PLATFORM = 'iar' PLATFORM = 'iccarm'
EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2'
if os.getenv('RTT_EXEC_PATH'): if os.getenv('RTT_EXEC_PATH'):
@ -127,7 +127,7 @@ elif PLATFORM == 'armclang':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -93,7 +93,7 @@ elif PLATFORM == 'armcc':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -128,7 +128,7 @@ elif PLATFORM == 'armclang':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -128,7 +128,7 @@ elif PLATFORM == 'armclang':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'

View File

@ -19,7 +19,7 @@ elif CROSS_TOOL == 'keil':
PLATFORM = 'armclang' PLATFORM = 'armclang'
EXEC_PATH = r'C:/Keil_v5' EXEC_PATH = r'C:/Keil_v5'
elif CROSS_TOOL == 'iar': elif CROSS_TOOL == 'iar':
PLATFORM = 'iar' PLATFORM = 'iccarm'
EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0'
if os.getenv('RTT_EXEC_PATH'): if os.getenv('RTT_EXEC_PATH'):
@ -124,7 +124,7 @@ elif PLATFORM == 'armclang':
POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET'
elif PLATFORM == 'iar': elif PLATFORM == 'iccarm':
# toolchains # toolchains
CC = 'iccarm' CC = 'iccarm'
CXX = 'iccarm' CXX = 'iccarm'