diff --git a/bsp/gd32/arm/gd32103c-eval/rtconfig.py b/bsp/gd32/arm/gd32103c-eval/rtconfig.py index 76aab52412..74fe465518 100644 --- a/bsp/gd32/arm/gd32103c-eval/rtconfig.py +++ b/bsp/gd32/arm/gd32103c-eval/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32105c-eval/rtconfig.py b/bsp/gd32/arm/gd32105c-eval/rtconfig.py index 76aab52412..74fe465518 100644 --- a/bsp/gd32/arm/gd32105c-eval/rtconfig.py +++ b/bsp/gd32/arm/gd32105c-eval/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32105r-start/rtconfig.py b/bsp/gd32/arm/gd32105r-start/rtconfig.py index 7c11694b78..8bbe8957ad 100644 --- a/bsp/gd32/arm/gd32105r-start/rtconfig.py +++ b/bsp/gd32/arm/gd32105r-start/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32107c-eval/rtconfig.py b/bsp/gd32/arm/gd32107c-eval/rtconfig.py index 76aab52412..74fe465518 100644 --- a/bsp/gd32/arm/gd32107c-eval/rtconfig.py +++ b/bsp/gd32/arm/gd32107c-eval/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32205r-start/rtconfig.py b/bsp/gd32/arm/gd32205r-start/rtconfig.py index 76aab52412..74fe465518 100644 --- a/bsp/gd32/arm/gd32205r-start/rtconfig.py +++ b/bsp/gd32/arm/gd32205r-start/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32207i-eval/rtconfig.py b/bsp/gd32/arm/gd32207i-eval/rtconfig.py index 76aab52412..74fe465518 100644 --- a/bsp/gd32/arm/gd32207i-eval/rtconfig.py +++ b/bsp/gd32/arm/gd32207i-eval/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32303c-start/rtconfig.py b/bsp/gd32/arm/gd32303c-start/rtconfig.py index 6f74f7c0b9..91f5b13925 100644 --- a/bsp/gd32/arm/gd32303c-start/rtconfig.py +++ b/bsp/gd32/arm/gd32303c-start/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32303e-eval/rtconfig.py b/bsp/gd32/arm/gd32303e-eval/rtconfig.py index 6f74f7c0b9..91f5b13925 100644 --- a/bsp/gd32/arm/gd32303e-eval/rtconfig.py +++ b/bsp/gd32/arm/gd32303e-eval/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32305r-start/rtconfig.py b/bsp/gd32/arm/gd32305r-start/rtconfig.py index 6f74f7c0b9..91f5b13925 100644 --- a/bsp/gd32/arm/gd32305r-start/rtconfig.py +++ b/bsp/gd32/arm/gd32305r-start/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32307e-start/rtconfig.py b/bsp/gd32/arm/gd32307e-start/rtconfig.py index 6f74f7c0b9..91f5b13925 100644 --- a/bsp/gd32/arm/gd32307e-start/rtconfig.py +++ b/bsp/gd32/arm/gd32307e-start/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32407v-start/rtconfig.py b/bsp/gd32/arm/gd32407v-start/rtconfig.py index 7c1b52143c..9b8be8b91d 100644 --- a/bsp/gd32/arm/gd32407v-start/rtconfig.py +++ b/bsp/gd32/arm/gd32407v-start/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/gd32/arm/gd32450z-eval/rtconfig.py b/bsp/gd32/arm/gd32450z-eval/rtconfig.py index 34a3ca9974..81ad46ee79 100644 --- a/bsp/gd32/arm/gd32450z-eval/rtconfig.py +++ b/bsp/gd32/arm/gd32450z-eval/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/hc32/ev_hc32f460_lqfp100_v2/rtconfig.py b/bsp/hc32/ev_hc32f460_lqfp100_v2/rtconfig.py index 6545163d85..734f7beca4 100644 --- a/bsp/hc32/ev_hc32f460_lqfp100_v2/rtconfig.py +++ b/bsp/hc32/ev_hc32f460_lqfp100_v2/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/mm32/mm32f3270-100ask-pitaya/SConstruct b/bsp/mm32/mm32f3270-100ask-pitaya/SConstruct index 01bcd4d2e4..5da698a41a 100644 --- a/bsp/mm32/mm32f3270-100ask-pitaya/SConstruct +++ b/bsp/mm32/mm32f3270-100ask-pitaya/SConstruct @@ -26,7 +26,7 @@ env = Environment(tools = ['mingw'], LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS) 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(ARFLAGS = ['']) env.Replace(LINKCOM = env["LINKCOM"] + ' --map rt-thread.map') diff --git a/bsp/mm32/mm32f3270-100ask-pitaya/rtconfig.py b/bsp/mm32/mm32f3270-100ask-pitaya/rtconfig.py index 8460077322..0c161f9756 100644 --- a/bsp/mm32/mm32f3270-100ask-pitaya/rtconfig.py +++ b/bsp/mm32/mm32f3270-100ask-pitaya/rtconfig.py @@ -22,7 +22,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' if os.getenv('RTT_EXEC_PATH'): @@ -127,7 +127,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/n32/n32g45xvl-stb/rtconfig.py b/bsp/n32/n32g45xvl-stb/rtconfig.py index 71dc5b0aa2..7b53b18e9e 100644 --- a/bsp/n32/n32g45xvl-stb/rtconfig.py +++ b/bsp/n32/n32g45xvl-stb/rtconfig.py @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/stm32/stm32f103-100ask-mini/rtconfig.py b/bsp/stm32/stm32f103-100ask-mini/rtconfig.py index afe3d54b16..d1e49f8cb1 100644 --- a/bsp/stm32/stm32f103-100ask-mini/rtconfig.py +++ b/bsp/stm32/stm32f103-100ask-mini/rtconfig.py @@ -128,7 +128,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/stm32/stm32f103-100ask-pro/rtconfig.py b/bsp/stm32/stm32f103-100ask-pro/rtconfig.py index afe3d54b16..d1e49f8cb1 100644 --- a/bsp/stm32/stm32f103-100ask-pro/rtconfig.py +++ b/bsp/stm32/stm32f103-100ask-pro/rtconfig.py @@ -128,7 +128,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/synwit/swm341/rtconfig.py b/bsp/synwit/swm341/rtconfig.py index ba869870a9..8d449d49b9 100644 --- a/bsp/synwit/swm341/rtconfig.py +++ b/bsp/synwit/swm341/rtconfig.py @@ -19,7 +19,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armclang' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' if os.getenv('RTT_EXEC_PATH'): @@ -124,7 +124,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm'