From c9878aacd2bdad1df7af779cff82b434458e9b81 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Mon, 30 May 2022 18:30:42 -0400 Subject: [PATCH] =?UTF-8?q?[scons][iar]=20=E5=B0=86IAR=E7=9A=84PLATFORM?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=94=B1iar=E8=B0=83=E6=95=B4=E4=B8=BAiccarm?= =?UTF-8?q?=20=E5=B0=86=E8=B7=AF=E5=BE=84=E6=9B=B4=E6=96=B0=E4=B8=BAIAR?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC=E7=9A=84=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/CME_M7/rtconfig.py | 2 +- bsp/Vango/v85xx/rtconfig.py | 6 +++--- bsp/Vango/v85xxp/rtconfig.py | 6 +++--- bsp/acm32/acm32f0x0-nucleo/rtconfig.py | 6 +++--- bsp/acm32/acm32f4xx-nucleo/rtconfig.py | 6 +++--- bsp/airm2m/air105/rtconfig.py | 6 +++--- bsp/amebaz/rtconfig.py | 4 ++-- bsp/apm32/apm32f103xe-minibroard/rtconfig.py | 6 +++--- bsp/asm9260t/rtconfig.py | 6 +++--- bsp/at32/at32f403a-start/rtconfig.py | 6 +++--- bsp/at32/at32f407-start/rtconfig.py | 6 +++--- bsp/at32/at32f413-start/rtconfig.py | 6 +++--- bsp/at32/at32f415-start/rtconfig.py | 6 +++--- bsp/at32/at32f435-start/rtconfig.py | 6 +++--- bsp/at32/at32f437-start/rtconfig.py | 6 +++--- bsp/at91/at91sam9260/rtconfig.py | 2 +- bsp/at91/at91sam9g45/rtconfig.py | 4 ++-- bsp/dm365/rtconfig.py | 2 +- bsp/essemi/es32f0654/rtconfig.py | 4 ++-- bsp/essemi/es32f365x/rtconfig.py | 4 ++-- bsp/essemi/es32f369x/rtconfig.py | 4 ++-- bsp/fm33lc026/rtconfig.py | 6 +++--- bsp/ft32/ft32f072xb-starter/rtconfig.py | 6 +++--- bsp/fujitsu/mb9x/mb9bf500r/rtconfig.py | 2 +- bsp/fujitsu/mb9x/mb9bf506r/rtconfig.py | 4 ++-- bsp/fujitsu/mb9x/mb9bf618s/rtconfig.py | 4 ++-- bsp/gd32/docs/GD32系列BSP制作教程.md | 2 +- bsp/gd32/gd32103c-eval/rtconfig.py | 6 +++--- bsp/gd32/gd32105c-eval/rtconfig.py | 6 +++--- bsp/gd32/gd32105r-start/rtconfig.py | 6 +++--- bsp/gd32/gd32107c-eval/rtconfig.py | 6 +++--- bsp/gd32/gd32205r-start/rtconfig.py | 6 +++--- bsp/gd32/gd32303e-eval/rtconfig.py | 6 +++--- bsp/gd32/gd32305r-start/rtconfig.py | 6 +++--- bsp/gd32/gd32407v-start/rtconfig.py | 6 +++--- bsp/gd32/gd32450i-eval/rtconfig.py | 6 +++--- bsp/gd32/gd32450z-eval/rtconfig.py | 6 +++--- bsp/gd32105c-eval/rtconfig.py | 6 +++--- bsp/gd32107c-eval/rtconfig.py | 6 +++--- bsp/gd32303e-eval/rtconfig.py | 6 +++--- bsp/gd32350r-eval/rtconfig.py | 6 +++--- bsp/gd32450z-eval/rtconfig.py | 6 +++--- bsp/gd32e230k-start/rtconfig.py | 6 +++--- bsp/hc32/ev_hc32f4a0_lqfp176/rtconfig.py | 4 ++-- bsp/hc32f460/rtconfig.py | 4 ++-- bsp/hc32l136/rtconfig.py | 4 ++-- bsp/hc32l196/rtconfig.py | 6 +++--- bsp/hk32/hk32f030c8-mini/rtconfig.py | 6 +++--- bsp/imx6sx/cortex-a9/rtconfig.py | 2 +- bsp/imxrt/imxrt1021-nxp-evk/rtconfig.py | 4 ++-- bsp/imxrt/imxrt1052-atk-commander/rtconfig.py | 6 +++--- bsp/imxrt/imxrt1052-fire-pro/rtconfig.py | 6 +++--- bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py | 6 +++--- bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.py | 6 +++--- bsp/imxrt/imxrt1060-nxp-evk/rtconfig.py | 6 +++--- bsp/imxrt/imxrt1064-nxp-evk/rtconfig.py | 6 +++--- bsp/imxrt/imxrt1170-nxp-evk/rtconfig.py | 6 +++--- bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py | 6 +++--- bsp/imxrt/libraries/templates/imxrt1064xxx/rtconfig.py | 6 +++--- bsp/lpc176x/rtconfig.py | 4 ++-- bsp/lpc2148/rtconfig.py | 2 +- bsp/lpc2478/rtconfig.py | 2 +- bsp/lpc43xx/M0/rtconfig.py | 4 ++-- bsp/lpc43xx/M4/rtconfig.py | 4 ++-- bsp/lpc54114-lite/rtconfig.py | 4 ++-- bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/rtconfig.py | 4 ++-- bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.py | 4 ++-- bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.py | 4 ++-- bsp/lpc824/rtconfig.py | 6 +++--- bsp/m16c62p/rtconfig.py | 4 ++-- bsp/maxim/MAX32660_EVSYS/rtconfig.py | 2 +- bsp/microchip/samc21/rtconfig.py | 4 ++-- bsp/microchip/same54/rtconfig.py | 4 ++-- bsp/microchip/same70/rtconfig.py | 4 ++-- bsp/microchip/saml10/rtconfig.py | 4 ++-- bsp/mini2440/rtconfig.py | 2 +- bsp/mm32f103x/rtconfig.py | 4 ++-- bsp/mm32f327x/rtconfig.py | 4 ++-- bsp/mm32l07x/rtconfig.py | 4 ++-- bsp/mm32l3xx/rtconfig.py | 4 ++-- bsp/n32g452xx/n32g452xx-mini-system/rtconfig.py | 6 +++--- bsp/nrf5x/docs/nRF5x系列BSP制作教程.md | 2 +- bsp/nuvoton/numaker-iot-m487/rtconfig.py | 4 ++-- bsp/nuvoton/numaker-m032ki/rtconfig.py | 4 ++-- bsp/nuvoton/numaker-m2354/rtconfig.py | 4 ++-- bsp/nuvoton/numaker-pfm-m487/rtconfig.py | 4 ++-- bsp/nv32f100x/rtconfig.py | 2 +- bsp/raspberry-pico/rtconfig.py | 4 ++-- bsp/renesas/libraries/bsp-template/rtconfig.py | 2 +- bsp/renesas/ra6m4-cpk/rtconfig.py | 2 +- bsp/renesas/ra6m4-iot/rtconfig.py | 2 +- bsp/rm48x50/rtconfig.py | 2 +- bsp/sam7x/rtconfig.py | 2 +- bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32f10x/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32f2xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32f3xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32h7xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32l1xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32l5xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32mp1xx/rtconfig.py | 6 +++--- bsp/stm32/libraries/templates/stm32wbxx/rtconfig.py | 6 +++--- bsp/stm32/stm32f072-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f091-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-atk-nano/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-blue-pill/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-dofly-M3S/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-gizwits-gokitv21/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-onenet-nbiot/rtconfig.py | 6 +++--- bsp/stm32/stm32f103-yf-ufun/rtconfig.py | 6 +++--- bsp/stm32/stm32f107-uc-eval/rtconfig.py | 6 +++--- bsp/stm32/stm32f207-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f302-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f401-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py | 6 +++--- bsp/stm32/stm32f407-armfly-v5/rtconfig.py | 6 +++--- bsp/stm32/stm32f407-atk-explorer/rtconfig.py | 6 +++--- bsp/stm32/stm32f407-robomaster-c/rtconfig.py | 6 +++--- bsp/stm32/stm32f407-st-discovery/rtconfig.py | 6 +++--- bsp/stm32/stm32f410-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f411-atk-nano/rtconfig.py | 6 +++--- bsp/stm32/stm32f411-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f411-weact-MiniF4/rtconfig.py | 6 +++--- bsp/stm32/stm32f412-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f413-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f427-robomaster-a/rtconfig.py | 6 +++--- bsp/stm32/stm32f429-armfly-v6/rtconfig.py | 6 +++--- bsp/stm32/stm32f429-atk-apollo/rtconfig.py | 6 +++--- bsp/stm32/stm32f429-fire-challenger/rtconfig.py | 6 +++--- bsp/stm32/stm32f429-st-disco/rtconfig.py | 6 +++--- bsp/stm32/stm32f446-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f469-st-disco/rtconfig.py | 6 +++--- bsp/stm32/stm32f746-st-disco/rtconfig.py | 6 +++--- bsp/stm32/stm32f746-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f767-atk-apollo/rtconfig.py | 6 +++--- bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.py | 6 +++--- bsp/stm32/stm32f767-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32f769-st-disco/rtconfig.py | 6 +++--- bsp/stm32/stm32g070-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32g071-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32g431-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32g474-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32h743-armfly-v7/rtconfig.py | 6 +++--- bsp/stm32/stm32h743-atk-apollo/rtconfig.py | 6 +++--- bsp/stm32/stm32h743-openmv-h7plus/rtconfig.py | 6 +++--- bsp/stm32/stm32h743-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32h747-st-discovery/rtconfig.py | 6 +++--- bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.py | 6 +++--- bsp/stm32/stm32h750-artpi/rtconfig.py | 6 +++--- bsp/stm32/stm32l010-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l053-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l412-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l431-BearPi/rtconfig.py | 6 +++--- bsp/stm32/stm32l432-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l433-ali-startkit/rtconfig.py | 6 +++--- bsp/stm32/stm32l433-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l452-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l475-atk-pandora/rtconfig.py | 6 +++--- bsp/stm32/stm32l475-st-discovery/rtconfig.py | 6 +++--- bsp/stm32/stm32l476-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l496-ali-developer/rtconfig.py | 6 +++--- bsp/stm32/stm32l496-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32l4r5-st-nucleo/rtconfig.py | 4 ++-- bsp/stm32/stm32l4r9-st-eval/rtconfig.py | 6 +++--- bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.py | 6 +++--- bsp/stm32/stm32l552-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32mp157a-st-discovery/rtconfig.py | 6 +++--- bsp/stm32/stm32mp157a-st-ev1/rtconfig.py | 6 +++--- bsp/stm32/stm32u575-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32wb55-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32wl55-st-nucleo/rtconfig.py | 6 +++--- bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py | 6 +++--- bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py | 6 +++--- bsp/swm320/rtconfig.py | 6 +++--- bsp/tkm32F499/rtconfig.py | 4 ++-- bsp/tm4c123bsp/rtconfig.py | 6 +++--- bsp/tm4c129x/rtconfig.py | 6 +++--- bsp/upd70f3454/rtconfig.py | 4 ++-- bsp/w60x/rtconfig.py | 4 ++-- bsp/wch/arm/ch32f103c8-core/rtconfig.py | 6 +++--- bsp/wch/arm/ch32f203r-evt/rtconfig.py | 6 +++--- bsp/wch/arm/ch579m/rtconfig.py | 4 ++-- bsp/xplorer4330/M0/rtconfig.py | 4 ++-- bsp/xplorer4330/M4/rtconfig.py | 4 ++-- bsp/yichip/yc3121-pos/rtconfig.py | 4 ++-- .../libc/compilers/common/extension/fcntl/octal/SConscript | 2 +- components/lwp/SConscript | 2 +- documentation/scons/scons.md | 2 +- tools/building.py | 2 +- tools/mkdist.py | 2 +- 197 files changed, 507 insertions(+), 507 deletions(-) diff --git a/bsp/CME_M7/rtconfig.py b/bsp/CME_M7/rtconfig.py index 650d4bb7f8..29439a54f2 100644 --- a/bsp/CME_M7/rtconfig.py +++ b/bsp/CME_M7/rtconfig.py @@ -83,7 +83,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/Vango/v85xx/rtconfig.py b/bsp/Vango/v85xx/rtconfig.py index 8302af0cf5..9229eac306 100644 --- a/bsp/Vango/v85xx/rtconfig.py +++ b/bsp/Vango/v85xx/rtconfig.py @@ -17,8 +17,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/Vango/v85xxp/rtconfig.py b/bsp/Vango/v85xxp/rtconfig.py index 22c83aa6ef..5436044fc4 100644 --- a/bsp/Vango/v85xxp/rtconfig.py +++ b/bsp/Vango/v85xxp/rtconfig.py @@ -17,8 +17,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/acm32/acm32f0x0-nucleo/rtconfig.py b/bsp/acm32/acm32f0x0-nucleo/rtconfig.py index e9814d2286..2242cd3daf 100644 --- a/bsp/acm32/acm32f0x0-nucleo/rtconfig.py +++ b/bsp/acm32/acm32f0x0-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'D:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -94,7 +94,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/acm32/acm32f4xx-nucleo/rtconfig.py b/bsp/acm32/acm32f4xx-nucleo/rtconfig.py index b63b56b878..ad5f30c560 100644 --- a/bsp/acm32/acm32f4xx-nucleo/rtconfig.py +++ b/bsp/acm32/acm32f4xx-nucleo/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armclang' EXEC_PATH = r'D:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'D:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -91,7 +91,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/airm2m/air105/rtconfig.py b/bsp/airm2m/air105/rtconfig.py index 18f2bdc0dc..2b44ba2996 100644 --- a/bsp/airm2m/air105/rtconfig.py +++ b/bsp/airm2m/air105/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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 += 'python ./makesoc.py' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/bsp/amebaz/rtconfig.py b/bsp/amebaz/rtconfig.py index 86b5b955b4..ddca674942 100644 --- a/bsp/amebaz/rtconfig.py +++ b/bsp/amebaz/rtconfig.py @@ -18,7 +18,7 @@ if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' EXEC_PATH = 'C:/work/env/tools/gnu_gcc/arm_gcc/mingw/bin' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.0' else: print 'Please make sure your toolchains is GNU GCC!' @@ -67,7 +67,7 @@ if PLATFORM == 'gcc': M_CFLAGS = CFLAGS + ' -mlong-calls -Dsourcerygxx -O0 -fPIC ' M_LFLAGS = DEVICE + ' -Wl,-z,max-page-size=0x4 -shared -fPIC -e main -nostdlib' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/apm32/apm32f103xe-minibroard/rtconfig.py b/bsp/apm32/apm32f103xe-minibroard/rtconfig.py index 888e1566ba..3d78c3b4b0 100644 --- a/bsp/apm32/apm32f103xe-minibroard/rtconfig.py +++ b/bsp/apm32/apm32f103xe-minibroard/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/asm9260t/rtconfig.py b/bsp/asm9260t/rtconfig.py index 60d4f2051a..0c760ed17a 100644 --- a/bsp/asm9260t/rtconfig.py +++ b/bsp/asm9260t/rtconfig.py @@ -16,8 +16,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -90,7 +90,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output ' + TARGET_NAME + ' \n' POST_ACTION += 'fromelf -z $TARGET\n' #------- IAR settings ---------------------------------------------------------- -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/at32/at32f403a-start/rtconfig.py b/bsp/at32/at32f403a-start/rtconfig.py index 8e78aa373b..b542aa27e3 100644 --- a/bsp/at32/at32f403a-start/rtconfig.py +++ b/bsp/at32/at32f403a-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/at32/at32f407-start/rtconfig.py b/bsp/at32/at32f407-start/rtconfig.py index 8e78aa373b..b542aa27e3 100644 --- a/bsp/at32/at32f407-start/rtconfig.py +++ b/bsp/at32/at32f407-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/at32/at32f413-start/rtconfig.py b/bsp/at32/at32f413-start/rtconfig.py index 8e78aa373b..b542aa27e3 100644 --- a/bsp/at32/at32f413-start/rtconfig.py +++ b/bsp/at32/at32f413-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/at32/at32f415-start/rtconfig.py b/bsp/at32/at32f415-start/rtconfig.py index f9cad296fb..54265a30af 100644 --- a/bsp/at32/at32f415-start/rtconfig.py +++ b/bsp/at32/at32f415-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/at32/at32f435-start/rtconfig.py b/bsp/at32/at32f435-start/rtconfig.py index 8e78aa373b..b542aa27e3 100644 --- a/bsp/at32/at32f435-start/rtconfig.py +++ b/bsp/at32/at32f435-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/at32/at32f437-start/rtconfig.py b/bsp/at32/at32f437-start/rtconfig.py index 8e78aa373b..b542aa27e3 100644 --- a/bsp/at32/at32f437-start/rtconfig.py +++ b/bsp/at32/at32f437-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/at91/at91sam9260/rtconfig.py b/bsp/at91/at91sam9260/rtconfig.py index da3be0fd59..309ebac4d3 100644 --- a/bsp/at91/at91sam9260/rtconfig.py +++ b/bsp/at91/at91sam9260/rtconfig.py @@ -15,7 +15,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): diff --git a/bsp/at91/at91sam9g45/rtconfig.py b/bsp/at91/at91sam9g45/rtconfig.py index bd29b56f4f..254d2c3925 100644 --- a/bsp/at91/at91sam9g45/rtconfig.py +++ b/bsp/at91/at91sam9g45/rtconfig.py @@ -15,7 +15,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -89,7 +89,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output ' + TARGET_NAME + ' \n' POST_ACTION += 'fromelf -z $TARGET\n' #------- IAR settings ---------------------------------------------------------- -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/dm365/rtconfig.py b/bsp/dm365/rtconfig.py index 0b699be2eb..22601f00d3 100644 --- a/bsp/dm365/rtconfig.py +++ b/bsp/dm365/rtconfig.py @@ -72,7 +72,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'armcc' AS = 'armasm' diff --git a/bsp/essemi/es32f0654/rtconfig.py b/bsp/essemi/es32f0654/rtconfig.py index ed0d5930f0..3a2f6a22c0 100644 --- a/bsp/essemi/es32f0654/rtconfig.py +++ b/bsp/essemi/es32f0654/rtconfig.py @@ -22,7 +22,7 @@ elif CROSS_TOOL == 'keil': EXEC_PATH = r'C:/Keil' elif CROSS_TOOL == 'iar': # not support iar yet - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/IAR' if os.getenv('RTT_EXEC_PATH'): @@ -87,7 +87,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/essemi/es32f365x/rtconfig.py b/bsp/essemi/es32f365x/rtconfig.py index 133aa4372e..001fc474a5 100644 --- a/bsp/essemi/es32f365x/rtconfig.py +++ b/bsp/essemi/es32f365x/rtconfig.py @@ -22,7 +22,7 @@ elif CROSS_TOOL == 'keil': EXEC_PATH = r'C:/Keil' elif CROSS_TOOL == 'iar': # not support iar yet - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/IAR' if os.getenv('RTT_EXEC_PATH'): @@ -87,7 +87,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/essemi/es32f369x/rtconfig.py b/bsp/essemi/es32f369x/rtconfig.py index 133aa4372e..001fc474a5 100644 --- a/bsp/essemi/es32f369x/rtconfig.py +++ b/bsp/essemi/es32f369x/rtconfig.py @@ -22,7 +22,7 @@ elif CROSS_TOOL == 'keil': EXEC_PATH = r'C:/Keil' elif CROSS_TOOL == 'iar': # not support iar yet - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/IAR' if os.getenv('RTT_EXEC_PATH'): @@ -87,7 +87,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/fm33lc026/rtconfig.py b/bsp/fm33lc026/rtconfig.py index 00c8bc7413..19cd290404 100644 --- a/bsp/fm33lc026/rtconfig.py +++ b/bsp/fm33lc026/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/ft32/ft32f072xb-starter/rtconfig.py b/bsp/ft32/ft32f072xb-starter/rtconfig.py index daaefbe30a..9818b62f9d 100644 --- a/bsp/ft32/ft32f072xb-starter/rtconfig.py +++ b/bsp/ft32/ft32f072xb-starter/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'D:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/fujitsu/mb9x/mb9bf500r/rtconfig.py b/bsp/fujitsu/mb9x/mb9bf500r/rtconfig.py index 24ae26d0ab..a6a5180fc7 100644 --- a/bsp/fujitsu/mb9x/mb9bf500r/rtconfig.py +++ b/bsp/fujitsu/mb9x/mb9bf500r/rtconfig.py @@ -82,7 +82,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/fujitsu/mb9x/mb9bf506r/rtconfig.py b/bsp/fujitsu/mb9x/mb9bf506r/rtconfig.py index d8b525f291..8114941fda 100644 --- a/bsp/fujitsu/mb9x/mb9bf506r/rtconfig.py +++ b/bsp/fujitsu/mb9x/mb9bf506r/rtconfig.py @@ -18,7 +18,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' if os.getenv('RTT_EXEC_PATH'): @@ -79,7 +79,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/fujitsu/mb9x/mb9bf618s/rtconfig.py b/bsp/fujitsu/mb9x/mb9bf618s/rtconfig.py index 474ff3dd57..ca1942a11a 100644 --- a/bsp/fujitsu/mb9x/mb9bf618s/rtconfig.py +++ b/bsp/fujitsu/mb9x/mb9bf618s/rtconfig.py @@ -23,7 +23,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'E:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation' if os.getenv('RTT_EXEC_PATH'): @@ -84,7 +84,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/gd32/docs/GD32系列BSP制作教程.md b/bsp/gd32/docs/GD32系列BSP制作教程.md index 6607aa335d..03c7764741 100644 --- a/bsp/gd32/docs/GD32系列BSP制作教程.md +++ b/bsp/gd32/docs/GD32系列BSP制作教程.md @@ -151,7 +151,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 rtthread.map') diff --git a/bsp/gd32/gd32103c-eval/rtconfig.py b/bsp/gd32/gd32103c-eval/rtconfig.py index 4285e6b03c..a8cb7dc467 100644 --- a/bsp/gd32/gd32103c-eval/rtconfig.py +++ b/bsp/gd32/gd32103c-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32105c-eval/rtconfig.py b/bsp/gd32/gd32105c-eval/rtconfig.py index 4285e6b03c..a8cb7dc467 100644 --- a/bsp/gd32/gd32105c-eval/rtconfig.py +++ b/bsp/gd32/gd32105c-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32105r-start/rtconfig.py b/bsp/gd32/gd32105r-start/rtconfig.py index 1839e540bf..c28bbfc9dc 100644 --- a/bsp/gd32/gd32105r-start/rtconfig.py +++ b/bsp/gd32/gd32105r-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32107c-eval/rtconfig.py b/bsp/gd32/gd32107c-eval/rtconfig.py index 4285e6b03c..a8cb7dc467 100644 --- a/bsp/gd32/gd32107c-eval/rtconfig.py +++ b/bsp/gd32/gd32107c-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32205r-start/rtconfig.py b/bsp/gd32/gd32205r-start/rtconfig.py index 4285e6b03c..a8cb7dc467 100644 --- a/bsp/gd32/gd32205r-start/rtconfig.py +++ b/bsp/gd32/gd32205r-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32303e-eval/rtconfig.py b/bsp/gd32/gd32303e-eval/rtconfig.py index a91905a233..2075890edf 100644 --- a/bsp/gd32/gd32303e-eval/rtconfig.py +++ b/bsp/gd32/gd32303e-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32305r-start/rtconfig.py b/bsp/gd32/gd32305r-start/rtconfig.py index a91905a233..2075890edf 100644 --- a/bsp/gd32/gd32305r-start/rtconfig.py +++ b/bsp/gd32/gd32305r-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32407v-start/rtconfig.py b/bsp/gd32/gd32407v-start/rtconfig.py index a91905a233..2075890edf 100644 --- a/bsp/gd32/gd32407v-start/rtconfig.py +++ b/bsp/gd32/gd32407v-start/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32450i-eval/rtconfig.py b/bsp/gd32/gd32450i-eval/rtconfig.py index c0c0b203cf..c6165614cb 100644 --- a/bsp/gd32/gd32450i-eval/rtconfig.py +++ b/bsp/gd32/gd32450i-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32450z-eval/rtconfig.py b/bsp/gd32/gd32450z-eval/rtconfig.py index c0c0b203cf..c6165614cb 100644 --- a/bsp/gd32/gd32450z-eval/rtconfig.py +++ b/bsp/gd32/gd32450z-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/gd32105c-eval/rtconfig.py b/bsp/gd32105c-eval/rtconfig.py index 7a845afd38..253e258b37 100644 --- a/bsp/gd32105c-eval/rtconfig.py +++ b/bsp/gd32105c-eval/rtconfig.py @@ -17,8 +17,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/gd32107c-eval/rtconfig.py b/bsp/gd32107c-eval/rtconfig.py index 7a845afd38..253e258b37 100644 --- a/bsp/gd32107c-eval/rtconfig.py +++ b/bsp/gd32107c-eval/rtconfig.py @@ -17,8 +17,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/gd32303e-eval/rtconfig.py b/bsp/gd32303e-eval/rtconfig.py index c631bc3e44..691c41e9a4 100644 --- a/bsp/gd32303e-eval/rtconfig.py +++ b/bsp/gd32303e-eval/rtconfig.py @@ -17,8 +17,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/gd32350r-eval/rtconfig.py b/bsp/gd32350r-eval/rtconfig.py index 1db5d5c2ba..62a01d8186 100644 --- a/bsp/gd32350r-eval/rtconfig.py +++ b/bsp/gd32350r-eval/rtconfig.py @@ -18,8 +18,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'D:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -82,7 +82,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/gd32450z-eval/rtconfig.py b/bsp/gd32450z-eval/rtconfig.py index 1f01ffe88b..56fce9b8c0 100644 --- a/bsp/gd32450z-eval/rtconfig.py +++ b/bsp/gd32450z-eval/rtconfig.py @@ -18,8 +18,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'D:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -82,7 +82,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/gd32e230k-start/rtconfig.py b/bsp/gd32e230k-start/rtconfig.py index 7f466916bb..9aad0f59ae 100644 --- a/bsp/gd32e230k-start/rtconfig.py +++ b/bsp/gd32e230k-start/rtconfig.py @@ -17,8 +17,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armclang' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -87,7 +87,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/hc32/ev_hc32f4a0_lqfp176/rtconfig.py b/bsp/hc32/ev_hc32f4a0_lqfp176/rtconfig.py index b0b7b6a25e..734f7beca4 100644 --- a/bsp/hc32/ev_hc32f4a0_lqfp176/rtconfig.py +++ b/bsp/hc32/ev_hc32f4a0_lqfp176/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.4' if os.getenv('RTT_EXEC_PATH'): @@ -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/hc32f460/rtconfig.py b/bsp/hc32f460/rtconfig.py index 462c2009f6..d0d81cd0c0 100644 --- a/bsp/hc32f460/rtconfig.py +++ b/bsp/hc32f460/rtconfig.py @@ -21,7 +21,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:\03_software\Program Files\Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'D:\03_software\Program Files\IAR Systems\Embedded Workbench 8.0' if os.getenv('RTT_EXEC_PATH'): @@ -84,7 +84,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/hc32l136/rtconfig.py b/bsp/hc32l136/rtconfig.py index 4556c8a87e..e55becc53c 100644 --- a/bsp/hc32l136/rtconfig.py +++ b/bsp/hc32l136/rtconfig.py @@ -21,7 +21,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:\03_software\Program Files\Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'D:\03_software\Program Files\IAR Systems\Embedded Workbench 7.5' if os.getenv('RTT_EXEC_PATH'): @@ -84,7 +84,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/hc32l196/rtconfig.py b/bsp/hc32l196/rtconfig.py index cd1789c846..a63cea240e 100644 --- a/bsp/hc32l196/rtconfig.py +++ b/bsp/hc32l196/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -92,7 +92,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/hk32/hk32f030c8-mini/rtconfig.py b/bsp/hk32/hk32f030c8-mini/rtconfig.py index 8e4b701f1c..97aa33f0c5 100644 --- a/bsp/hk32/hk32f030c8-mini/rtconfig.py +++ b/bsp/hk32/hk32f030c8-mini/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/imx6sx/cortex-a9/rtconfig.py b/bsp/imx6sx/cortex-a9/rtconfig.py index 3832ca675b..349852950f 100644 --- a/bsp/imx6sx/cortex-a9/rtconfig.py +++ b/bsp/imx6sx/cortex-a9/rtconfig.py @@ -83,7 +83,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1021-nxp-evk/rtconfig.py b/bsp/imxrt/imxrt1021-nxp-evk/rtconfig.py index f05d337efe..70a8122496 100644 --- a/bsp/imxrt/imxrt1021-nxp-evk/rtconfig.py +++ b/bsp/imxrt/imxrt1021-nxp-evk/rtconfig.py @@ -23,7 +23,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\IAR Systems\Embedded Workbench 9.0' if os.getenv('RTT_EXEC_PATH'): @@ -101,7 +101,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1052-atk-commander/rtconfig.py b/bsp/imxrt/imxrt1052-atk-commander/rtconfig.py index cf79de685a..fe92208216 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/rtconfig.py +++ b/bsp/imxrt/imxrt1052-atk-commander/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -101,7 +101,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1052-fire-pro/rtconfig.py b/bsp/imxrt/imxrt1052-fire-pro/rtconfig.py index 552cefe835..60d2a9fc13 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/rtconfig.py +++ b/bsp/imxrt/imxrt1052-fire-pro/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -101,7 +101,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py b/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py index 1c90a8bdaa..456c1f9267 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py +++ b/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -104,7 +104,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.py b/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.py index cf79de685a..fe92208216 100644 --- a/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.py +++ b/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -101,7 +101,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1060-nxp-evk/rtconfig.py b/bsp/imxrt/imxrt1060-nxp-evk/rtconfig.py index 71d719d5eb..57e61851aa 100644 --- a/bsp/imxrt/imxrt1060-nxp-evk/rtconfig.py +++ b/bsp/imxrt/imxrt1060-nxp-evk/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': # EXEC_PATH = r'C:/Keil_v5' EXEC_PATH = r'D:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -141,7 +141,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.py b/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.py index 9689ac0bcb..b2256edd04 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.py +++ b/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': # EXEC_PATH = r'C:/Keil_v5' EXEC_PATH = r'D:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -106,7 +106,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' # POST_ACTION = 'fromelf --i32combined $TARGET --output="rtthread-mdk.hex" \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/imxrt1170-nxp-evk/rtconfig.py b/bsp/imxrt/imxrt1170-nxp-evk/rtconfig.py index 1c90a8bdaa..456c1f9267 100644 --- a/bsp/imxrt/imxrt1170-nxp-evk/rtconfig.py +++ b/bsp/imxrt/imxrt1170-nxp-evk/rtconfig.py @@ -23,8 +23,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -104,7 +104,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py b/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py index 6944bf739b..517946d2d5 100644 --- a/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py +++ b/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py @@ -19,8 +19,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -97,7 +97,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/imxrt/libraries/templates/imxrt1064xxx/rtconfig.py b/bsp/imxrt/libraries/templates/imxrt1064xxx/rtconfig.py index bd8fbea1ba..331106dac0 100644 --- a/bsp/imxrt/libraries/templates/imxrt1064xxx/rtconfig.py +++ b/bsp/imxrt/libraries/templates/imxrt1064xxx/rtconfig.py @@ -19,8 +19,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -99,7 +99,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' # POST_ACTION = 'fromelf --i32combined $TARGET --output="rtthread-mdk.hex" \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc176x/rtconfig.py b/bsp/lpc176x/rtconfig.py index 6ea5b5c8a4..01845cfcfb 100644 --- a/bsp/lpc176x/rtconfig.py +++ b/bsp/lpc176x/rtconfig.py @@ -15,7 +15,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' if os.getenv('RTT_EXEC_PATH'): @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc2148/rtconfig.py b/bsp/lpc2148/rtconfig.py index 95e0c18e45..c2b1678fda 100644 --- a/bsp/lpc2148/rtconfig.py +++ b/bsp/lpc2148/rtconfig.py @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc2478/rtconfig.py b/bsp/lpc2478/rtconfig.py index 1622ed54cc..81b28c4064 100644 --- a/bsp/lpc2478/rtconfig.py +++ b/bsp/lpc2478/rtconfig.py @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc43xx/M0/rtconfig.py b/bsp/lpc43xx/M0/rtconfig.py index e577355e83..3aa2326c4a 100644 --- a/bsp/lpc43xx/M0/rtconfig.py +++ b/bsp/lpc43xx/M0/rtconfig.py @@ -24,7 +24,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files/IAR Systems/Embedded Workbench 6.0' if os.getenv('RTT_EXEC_PATH'): @@ -89,7 +89,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc43xx/M4/rtconfig.py b/bsp/lpc43xx/M4/rtconfig.py index 226c6e2cc5..7bca80f91b 100644 --- a/bsp/lpc43xx/M4/rtconfig.py +++ b/bsp/lpc43xx/M4/rtconfig.py @@ -28,7 +28,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files/IAR Systems/Embedded Workbench 6.0' if os.getenv('RTT_EXEC_PATH'): @@ -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' AS = 'iasmarm' diff --git a/bsp/lpc54114-lite/rtconfig.py b/bsp/lpc54114-lite/rtconfig.py index dca2f52e79..1199adf6f1 100644 --- a/bsp/lpc54114-lite/rtconfig.py +++ b/bsp/lpc54114-lite/rtconfig.py @@ -16,7 +16,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -86,7 +86,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/rtconfig.py b/bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/rtconfig.py index 25d2373c38..15fcb3f0ce 100644 --- a/bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/rtconfig.py +++ b/bsp/lpc55sxx/Libraries/template/lpc55s6xxxx/rtconfig.py @@ -21,7 +21,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.3' if os.getenv('RTT_EXEC_PATH'): @@ -102,7 +102,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.py b/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.py index 1f394bbcea..98b2a68e36 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.py +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/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.3' if os.getenv('RTT_EXEC_PATH'): @@ -103,7 +103,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.py b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.py index cfed933ffa..a789fbda1f 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.py +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.py @@ -21,7 +21,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.3' if os.getenv('RTT_EXEC_PATH'): @@ -102,7 +102,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf -z $TARGET' # POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/lpc824/rtconfig.py b/bsp/lpc824/rtconfig.py index 1d130785ce..851296762d 100644 --- a/bsp/lpc824/rtconfig.py +++ b/bsp/lpc824/rtconfig.py @@ -18,8 +18,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/m16c62p/rtconfig.py b/bsp/m16c62p/rtconfig.py index 0e800d3532..5443ee57b8 100644 --- a/bsp/m16c62p/rtconfig.py +++ b/bsp/m16c62p/rtconfig.py @@ -13,7 +13,7 @@ if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' EXEC_PATH = 'C:/Program Files/Renesas/Hew/Tools/KPIT Cummins/GNUM16CM32C-ELF/v11.01/m32c-elf/bin' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench Evaluation 6.0' # EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench Evaluation 6.0' elif CROSS_TOOL == 'keil': @@ -55,7 +55,7 @@ if PLATFORM == 'gcc': POST_ACTION = OBJCPY + ' -O srec $TARGET rtthread.mot\n' + SIZE + ' $TARGET \n' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccm16c' AS = 'am16c' diff --git a/bsp/maxim/MAX32660_EVSYS/rtconfig.py b/bsp/maxim/MAX32660_EVSYS/rtconfig.py index dbb190a93d..7e7dab0f73 100644 --- a/bsp/maxim/MAX32660_EVSYS/rtconfig.py +++ b/bsp/maxim/MAX32660_EVSYS/rtconfig.py @@ -86,7 +86,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/microchip/samc21/rtconfig.py b/bsp/microchip/samc21/rtconfig.py index 61d50ab753..74e0d5a3bd 100644 --- a/bsp/microchip/samc21/rtconfig.py +++ b/bsp/microchip/samc21/rtconfig.py @@ -25,8 +25,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') diff --git a/bsp/microchip/same54/rtconfig.py b/bsp/microchip/same54/rtconfig.py index 61f9e4cc1a..a1076592e4 100644 --- a/bsp/microchip/same54/rtconfig.py +++ b/bsp/microchip/same54/rtconfig.py @@ -27,8 +27,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') diff --git a/bsp/microchip/same70/rtconfig.py b/bsp/microchip/same70/rtconfig.py index be5cf773d5..8f54bc28fd 100644 --- a/bsp/microchip/same70/rtconfig.py +++ b/bsp/microchip/same70/rtconfig.py @@ -27,8 +27,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') diff --git a/bsp/microchip/saml10/rtconfig.py b/bsp/microchip/saml10/rtconfig.py index 46ce7f1255..17ed6713df 100644 --- a/bsp/microchip/saml10/rtconfig.py +++ b/bsp/microchip/saml10/rtconfig.py @@ -25,8 +25,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') diff --git a/bsp/mini2440/rtconfig.py b/bsp/mini2440/rtconfig.py index f8332f1e6c..afeec633af 100644 --- a/bsp/mini2440/rtconfig.py +++ b/bsp/mini2440/rtconfig.py @@ -92,7 +92,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'armcc' AS = 'armasm' diff --git a/bsp/mm32f103x/rtconfig.py b/bsp/mm32f103x/rtconfig.py index 1e87cf72e0..78f52f55e9 100644 --- a/bsp/mm32f103x/rtconfig.py +++ b/bsp/mm32f103x/rtconfig.py @@ -21,7 +21,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -86,7 +86,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/mm32f327x/rtconfig.py b/bsp/mm32f327x/rtconfig.py index 1e87cf72e0..78f52f55e9 100644 --- a/bsp/mm32f327x/rtconfig.py +++ b/bsp/mm32f327x/rtconfig.py @@ -21,7 +21,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -86,7 +86,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/mm32l07x/rtconfig.py b/bsp/mm32l07x/rtconfig.py index 92983b6e94..2194a68adf 100644 --- a/bsp/mm32l07x/rtconfig.py +++ b/bsp/mm32l07x/rtconfig.py @@ -21,7 +21,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -86,7 +86,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/mm32l3xx/rtconfig.py b/bsp/mm32l3xx/rtconfig.py index 1e87cf72e0..78f52f55e9 100644 --- a/bsp/mm32l3xx/rtconfig.py +++ b/bsp/mm32l3xx/rtconfig.py @@ -21,7 +21,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -86,7 +86,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/n32g452xx/n32g452xx-mini-system/rtconfig.py b/bsp/n32g452xx/n32g452xx-mini-system/rtconfig.py index 9e1e88529a..c7cbe3fb64 100755 --- a/bsp/n32g452xx/n32g452xx-mini-system/rtconfig.py +++ b/bsp/n32g452xx/n32g452xx-mini-system/rtconfig.py @@ -30,9 +30,9 @@ elif CROSS_TOOL == 'keil': if ('EXEC_PATH' in dir()) == False: EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' if ('EXEC_PATH' in dir()) == False: - 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.3' BUILD = 'debug' @@ -99,7 +99,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/nrf5x/docs/nRF5x系列BSP制作教程.md b/bsp/nrf5x/docs/nRF5x系列BSP制作教程.md index 761db1bde9..651bb0f9b6 100644 --- a/bsp/nrf5x/docs/nRF5x系列BSP制作教程.md +++ b/bsp/nrf5x/docs/nRF5x系列BSP制作教程.md @@ -53,7 +53,7 @@ elif GetDepend('SOC_NRF51822') == True: if rtconfig.PLATFORM == 'gcc': src += ['./mdk/gcc_startup_nrf51.S'] - if rtconfig.PLATFORM == 'iar': + if rtconfig.PLATFORM == 'iccarm': D_SRC += ['./mdk/iar_startup_nrf51.s'] ``` diff --git a/bsp/nuvoton/numaker-iot-m487/rtconfig.py b/bsp/nuvoton/numaker-iot-m487/rtconfig.py index 180fc90efa..4e398961d8 100644 --- a/bsp/nuvoton/numaker-iot-m487/rtconfig.py +++ b/bsp/nuvoton/numaker-iot-m487/rtconfig.py @@ -20,7 +20,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'): @@ -88,7 +88,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/nuvoton/numaker-m032ki/rtconfig.py b/bsp/nuvoton/numaker-m032ki/rtconfig.py index ba712aa806..e773f34a1f 100644 --- a/bsp/nuvoton/numaker-m032ki/rtconfig.py +++ b/bsp/nuvoton/numaker-m032ki/rtconfig.py @@ -20,7 +20,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'): @@ -87,7 +87,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/nuvoton/numaker-m2354/rtconfig.py b/bsp/nuvoton/numaker-m2354/rtconfig.py index df687dafb1..71272644e1 100644 --- a/bsp/nuvoton/numaker-m2354/rtconfig.py +++ b/bsp/nuvoton/numaker-m2354/rtconfig.py @@ -20,7 +20,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.2' if os.getenv('RTT_EXEC_PATH'): @@ -87,7 +87,7 @@ elif PLATFORM == 'armclang': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/nuvoton/numaker-pfm-m487/rtconfig.py b/bsp/nuvoton/numaker-pfm-m487/rtconfig.py index 180fc90efa..4e398961d8 100644 --- a/bsp/nuvoton/numaker-pfm-m487/rtconfig.py +++ b/bsp/nuvoton/numaker-pfm-m487/rtconfig.py @@ -20,7 +20,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'): @@ -88,7 +88,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/nv32f100x/rtconfig.py b/bsp/nv32f100x/rtconfig.py index 7e1e24facd..6852728f1f 100644 --- a/bsp/nv32f100x/rtconfig.py +++ b/bsp/nv32f100x/rtconfig.py @@ -86,7 +86,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/raspberry-pico/rtconfig.py b/bsp/raspberry-pico/rtconfig.py index 3ce354b9ca..08a550fbcc 100644 --- a/bsp/raspberry-pico/rtconfig.py +++ b/bsp/raspberry-pico/rtconfig.py @@ -24,8 +24,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') diff --git a/bsp/renesas/libraries/bsp-template/rtconfig.py b/bsp/renesas/libraries/bsp-template/rtconfig.py index 9a404b2dfa..f03ce7604d 100644 --- a/bsp/renesas/libraries/bsp-template/rtconfig.py +++ b/bsp/renesas/libraries/bsp-template/rtconfig.py @@ -20,7 +20,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/IAR Systems/Embedded Workbench 8.0' if os.getenv('RTT_EXEC_PATH'): diff --git a/bsp/renesas/ra6m4-cpk/rtconfig.py b/bsp/renesas/ra6m4-cpk/rtconfig.py index 16968de0db..9565e9fad4 100644 --- a/bsp/renesas/ra6m4-cpk/rtconfig.py +++ b/bsp/renesas/ra6m4-cpk/rtconfig.py @@ -20,7 +20,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/IAR Systems/Embedded Workbench 8.0' if os.getenv('RTT_EXEC_PATH'): diff --git a/bsp/renesas/ra6m4-iot/rtconfig.py b/bsp/renesas/ra6m4-iot/rtconfig.py index 9a404b2dfa..f03ce7604d 100644 --- a/bsp/renesas/ra6m4-iot/rtconfig.py +++ b/bsp/renesas/ra6m4-iot/rtconfig.py @@ -20,7 +20,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/IAR Systems/Embedded Workbench 8.0' if os.getenv('RTT_EXEC_PATH'): diff --git a/bsp/rm48x50/rtconfig.py b/bsp/rm48x50/rtconfig.py index 0c11dc8d59..4be1cc26f1 100644 --- a/bsp/rm48x50/rtconfig.py +++ b/bsp/rm48x50/rtconfig.py @@ -88,7 +88,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/sam7x/rtconfig.py b/bsp/sam7x/rtconfig.py index 2a3c76adde..9b0113f8f1 100644 --- a/bsp/sam7x/rtconfig.py +++ b/bsp/sam7x/rtconfig.py @@ -81,7 +81,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --i32 $TARGET --output rtthread-sam7x.hex \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'armcc' AS = 'armasm' diff --git a/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py index 46e0bedc92..9b8d8076e0 100644 --- a/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f0xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32f10x/rtconfig.py b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py index 85d76eb623..7ed928ddba 100644 --- a/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f10x/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32f2xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f2xx/rtconfig.py index a7a2b3a064..3e047b559c 100644 --- a/bsp/stm32/libraries/templates/stm32f2xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f2xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32f3xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f3xx/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/libraries/templates/stm32f3xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f3xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32f4xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f4xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32f7xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py index 39c55429ee..06215daed3 100644 --- a/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32f7xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -126,7 +126,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/libraries/templates/stm32h7xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32h7xx/rtconfig.py index 2c9cbdd792..8da8c57718 100644 --- a/bsp/stm32/libraries/templates/stm32h7xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32h7xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -94,7 +94,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/libraries/templates/stm32l1xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32l1xx/rtconfig.py index 2f86aff321..fa54f25493 100644 --- a/bsp/stm32/libraries/templates/stm32l1xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32l1xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'G:/tool/keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32l4xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32l4xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32l5xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32l5xx/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/libraries/templates/stm32l5xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32l5xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32mp1xx/rtconfig.py b/bsp/stm32/libraries/templates/stm32mp1xx/rtconfig.py index b4605791cb..d2446f9fde 100644 --- a/bsp/stm32/libraries/templates/stm32mp1xx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32mp1xx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/libraries/templates/stm32wbxx/rtconfig.py b/bsp/stm32/libraries/templates/stm32wbxx/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/libraries/templates/stm32wbxx/rtconfig.py +++ b/bsp/stm32/libraries/templates/stm32wbxx/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f072-st-nucleo/rtconfig.py b/bsp/stm32/stm32f072-st-nucleo/rtconfig.py index daaefbe30a..9818b62f9d 100644 --- a/bsp/stm32/stm32f072-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f072-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'D:/Program Files (x86)/IAR Systems/Embedded Workbench 8.2' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f091-st-nucleo/rtconfig.py b/bsp/stm32/stm32f091-st-nucleo/rtconfig.py index 17df5aa35e..5f41e855a3 100644 --- a/bsp/stm32/stm32f091-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f091-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-atk-nano/rtconfig.py b/bsp/stm32/stm32f103-atk-nano/rtconfig.py index e282c015ca..4f3ce9e99a 100644 --- a/bsp/stm32/stm32f103-atk-nano/rtconfig.py +++ b/bsp/stm32/stm32f103-atk-nano/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-atk-warshipv3/rtconfig.py b/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py index 437e6becf6..558924a36a 100644 --- a/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py +++ b/bsp/stm32/stm32f103-atk-warshipv3/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-blue-pill/rtconfig.py b/bsp/stm32/stm32f103-blue-pill/rtconfig.py index 43e61097a2..43685c9070 100644 --- a/bsp/stm32/stm32f103-blue-pill/rtconfig.py +++ b/bsp/stm32/stm32f103-blue-pill/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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-dofly-M3S/rtconfig.py b/bsp/stm32/stm32f103-dofly-M3S/rtconfig.py index 63bacb9e6f..61ba95699e 100644 --- a/bsp/stm32/stm32f103-dofly-M3S/rtconfig.py +++ b/bsp/stm32/stm32f103-dofly-M3S/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-dofly-lyc8/rtconfig.py b/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py index cf313add08..b90f7e65a9 100644 --- a/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py +++ b/bsp/stm32/stm32f103-dofly-lyc8/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-fire-arbitrary/rtconfig.py b/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py index cf313add08..b90f7e65a9 100644 --- a/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py +++ b/bsp/stm32/stm32f103-fire-arbitrary/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-gizwits-gokitv21/rtconfig.py b/bsp/stm32/stm32f103-gizwits-gokitv21/rtconfig.py index 437e6becf6..558924a36a 100644 --- a/bsp/stm32/stm32f103-gizwits-gokitv21/rtconfig.py +++ b/bsp/stm32/stm32f103-gizwits-gokitv21/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-hw100k-ibox/rtconfig.py b/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py index 437e6becf6..558924a36a 100644 --- a/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py +++ b/bsp/stm32/stm32f103-hw100k-ibox/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f103-onenet-nbiot/rtconfig.py b/bsp/stm32/stm32f103-onenet-nbiot/rtconfig.py index a6d89ffdfd..03db7f3826 100644 --- a/bsp/stm32/stm32f103-onenet-nbiot/rtconfig.py +++ b/bsp/stm32/stm32f103-onenet-nbiot/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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-yf-ufun/rtconfig.py b/bsp/stm32/stm32f103-yf-ufun/rtconfig.py index 437e6becf6..558924a36a 100644 --- a/bsp/stm32/stm32f103-yf-ufun/rtconfig.py +++ b/bsp/stm32/stm32f103-yf-ufun/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f107-uc-eval/rtconfig.py b/bsp/stm32/stm32f107-uc-eval/rtconfig.py index cf313add08..b90f7e65a9 100644 --- a/bsp/stm32/stm32f107-uc-eval/rtconfig.py +++ b/bsp/stm32/stm32f107-uc-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f207-st-nucleo/rtconfig.py b/bsp/stm32/stm32f207-st-nucleo/rtconfig.py index a7a2b3a064..3e047b559c 100644 --- a/bsp/stm32/stm32f207-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f207-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f302-st-nucleo/rtconfig.py b/bsp/stm32/stm32f302-st-nucleo/rtconfig.py index c1d6bcf869..9d514aa1a8 100644 --- a/bsp/stm32/stm32f302-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f302-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f401-st-nucleo/rtconfig.py b/bsp/stm32/stm32f401-st-nucleo/rtconfig.py index 0b5598eb90..cc91404e87 100644 --- a/bsp/stm32/stm32f401-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f401-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f405-smdz-breadfruit/rtconfig.py b/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py index 31f774d11f..1027da3a96 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py +++ b/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f407-armfly-v5/rtconfig.py b/bsp/stm32/stm32f407-armfly-v5/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32f407-armfly-v5/rtconfig.py +++ b/bsp/stm32/stm32f407-armfly-v5/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f407-atk-explorer/rtconfig.py b/bsp/stm32/stm32f407-atk-explorer/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32f407-atk-explorer/rtconfig.py +++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f407-robomaster-c/rtconfig.py b/bsp/stm32/stm32f407-robomaster-c/rtconfig.py index fcf565ed40..fa38f4e52b 100644 --- a/bsp/stm32/stm32f407-robomaster-c/rtconfig.py +++ b/bsp/stm32/stm32f407-robomaster-c/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -126,7 +126,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/stm32f407-st-discovery/rtconfig.py b/bsp/stm32/stm32f407-st-discovery/rtconfig.py index b4605791cb..d2446f9fde 100644 --- a/bsp/stm32/stm32f407-st-discovery/rtconfig.py +++ b/bsp/stm32/stm32f407-st-discovery/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f410-st-nucleo/rtconfig.py b/bsp/stm32/stm32f410-st-nucleo/rtconfig.py index 51934c8fa9..c3765e6f08 100644 --- a/bsp/stm32/stm32f410-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f410-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f411-atk-nano/rtconfig.py b/bsp/stm32/stm32f411-atk-nano/rtconfig.py index 403fd8226d..f92cd4c85f 100644 --- a/bsp/stm32/stm32f411-atk-nano/rtconfig.py +++ b/bsp/stm32/stm32f411-atk-nano/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f411-st-nucleo/rtconfig.py b/bsp/stm32/stm32f411-st-nucleo/rtconfig.py index 5697fba90d..78b61b7d2f 100644 --- a/bsp/stm32/stm32f411-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f411-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f411-weact-MiniF4/rtconfig.py b/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.py index 51934c8fa9..c3765e6f08 100644 --- a/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.py +++ b/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f412-st-nucleo/rtconfig.py b/bsp/stm32/stm32f412-st-nucleo/rtconfig.py index 9193d4a1d5..82445d4c2e 100644 --- a/bsp/stm32/stm32f412-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f412-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32f413-st-nucleo/rtconfig.py b/bsp/stm32/stm32f413-st-nucleo/rtconfig.py index 403fd8226d..f92cd4c85f 100644 --- a/bsp/stm32/stm32f413-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f413-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f427-robomaster-a/rtconfig.py b/bsp/stm32/stm32f427-robomaster-a/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32f427-robomaster-a/rtconfig.py +++ b/bsp/stm32/stm32f427-robomaster-a/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f429-armfly-v6/rtconfig.py b/bsp/stm32/stm32f429-armfly-v6/rtconfig.py index 0a92515db2..df5ad74299 100644 --- a/bsp/stm32/stm32f429-armfly-v6/rtconfig.py +++ b/bsp/stm32/stm32f429-armfly-v6/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f429-atk-apollo/rtconfig.py b/bsp/stm32/stm32f429-atk-apollo/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32f429-atk-apollo/rtconfig.py +++ b/bsp/stm32/stm32f429-atk-apollo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f429-fire-challenger/rtconfig.py b/bsp/stm32/stm32f429-fire-challenger/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32f429-fire-challenger/rtconfig.py +++ b/bsp/stm32/stm32f429-fire-challenger/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f429-st-disco/rtconfig.py b/bsp/stm32/stm32f429-st-disco/rtconfig.py index b4605791cb..d2446f9fde 100644 --- a/bsp/stm32/stm32f429-st-disco/rtconfig.py +++ b/bsp/stm32/stm32f429-st-disco/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f446-st-nucleo/rtconfig.py b/bsp/stm32/stm32f446-st-nucleo/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32f446-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f446-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f469-st-disco/rtconfig.py b/bsp/stm32/stm32f469-st-disco/rtconfig.py index b4605791cb..d2446f9fde 100644 --- a/bsp/stm32/stm32f469-st-disco/rtconfig.py +++ b/bsp/stm32/stm32f469-st-disco/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f746-st-disco/rtconfig.py b/bsp/stm32/stm32f746-st-disco/rtconfig.py index 043f8a7011..d4e7017d0c 100644 --- a/bsp/stm32/stm32f746-st-disco/rtconfig.py +++ b/bsp/stm32/stm32f746-st-disco/rtconfig.py @@ -19,8 +19,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -131,7 +131,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/stm32f746-st-nucleo/rtconfig.py b/bsp/stm32/stm32f746-st-nucleo/rtconfig.py index fd511bc3f6..f2e40ba502 100644 --- a/bsp/stm32/stm32f746-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f746-st-nucleo/rtconfig.py @@ -19,8 +19,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -133,7 +133,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/stm32f767-atk-apollo/rtconfig.py b/bsp/stm32/stm32f767-atk-apollo/rtconfig.py index 1a1457d734..663c053f39 100644 --- a/bsp/stm32/stm32f767-atk-apollo/rtconfig.py +++ b/bsp/stm32/stm32f767-atk-apollo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f767-fire-challenger-v1/rtconfig.py b/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.py index 8567ba63d8..ea1f99f4cb 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.py +++ b/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32f767-st-nucleo/rtconfig.py b/bsp/stm32/stm32f767-st-nucleo/rtconfig.py index 6470e00751..720907b893 100644 --- a/bsp/stm32/stm32f767-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32f767-st-nucleo/rtconfig.py @@ -19,8 +19,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -133,7 +133,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/stm32f769-st-disco/rtconfig.py b/bsp/stm32/stm32f769-st-disco/rtconfig.py index 9bdf940605..65a3b8e2a5 100644 --- a/bsp/stm32/stm32f769-st-disco/rtconfig.py +++ b/bsp/stm32/stm32f769-st-disco/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -126,7 +126,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/stm32g070-st-nucleo/rtconfig.py b/bsp/stm32/stm32g070-st-nucleo/rtconfig.py index 95477c738c..afd5f66e4a 100644 --- a/bsp/stm32/stm32g070-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32g070-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32g071-st-nucleo/rtconfig.py b/bsp/stm32/stm32g071-st-nucleo/rtconfig.py index 95477c738c..afd5f66e4a 100644 --- a/bsp/stm32/stm32g071-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32g071-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32g431-st-nucleo/rtconfig.py b/bsp/stm32/stm32g431-st-nucleo/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32g431-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32g431-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32g474-st-nucleo/rtconfig.py b/bsp/stm32/stm32g474-st-nucleo/rtconfig.py index 871c33548c..5e5bc02064 100644 --- a/bsp/stm32/stm32g474-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32g474-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32h743-armfly-v7/rtconfig.py b/bsp/stm32/stm32h743-armfly-v7/rtconfig.py index 13a0ebbdb9..15ddd3158a 100644 --- a/bsp/stm32/stm32h743-armfly-v7/rtconfig.py +++ b/bsp/stm32/stm32h743-armfly-v7/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32h743-atk-apollo/rtconfig.py b/bsp/stm32/stm32h743-atk-apollo/rtconfig.py index 13a0ebbdb9..15ddd3158a 100644 --- a/bsp/stm32/stm32h743-atk-apollo/rtconfig.py +++ b/bsp/stm32/stm32h743-atk-apollo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32h743-openmv-h7plus/rtconfig.py b/bsp/stm32/stm32h743-openmv-h7plus/rtconfig.py index 9193d4a1d5..82445d4c2e 100644 --- a/bsp/stm32/stm32h743-openmv-h7plus/rtconfig.py +++ b/bsp/stm32/stm32h743-openmv-h7plus/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32h743-st-nucleo/rtconfig.py b/bsp/stm32/stm32h743-st-nucleo/rtconfig.py index 13a0ebbdb9..15ddd3158a 100644 --- a/bsp/stm32/stm32h743-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32h743-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32h747-st-discovery/rtconfig.py b/bsp/stm32/stm32h747-st-discovery/rtconfig.py index 13a0ebbdb9..15ddd3158a 100644 --- a/bsp/stm32/stm32h747-st-discovery/rtconfig.py +++ b/bsp/stm32/stm32h747-st-discovery/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32h750-armfly-h7-tool/rtconfig.py b/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.py index 13a0ebbdb9..15ddd3158a 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.py +++ b/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32h750-artpi/rtconfig.py b/bsp/stm32/stm32h750-artpi/rtconfig.py index bf04a43eb9..c1b699a911 100644 --- a/bsp/stm32/stm32h750-artpi/rtconfig.py +++ b/bsp/stm32/stm32h750-artpi/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32l010-st-nucleo/rtconfig.py b/bsp/stm32/stm32l010-st-nucleo/rtconfig.py index 8eeff0e7be..b38196abb7 100644 --- a/bsp/stm32/stm32l010-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l010-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l053-st-nucleo/rtconfig.py b/bsp/stm32/stm32l053-st-nucleo/rtconfig.py index 8eeff0e7be..b38196abb7 100644 --- a/bsp/stm32/stm32l053-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l053-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l412-st-nucleo/rtconfig.py b/bsp/stm32/stm32l412-st-nucleo/rtconfig.py index d72856616e..2a680c26b1 100644 --- a/bsp/stm32/stm32l412-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l412-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l431-BearPi/rtconfig.py b/bsp/stm32/stm32l431-BearPi/rtconfig.py index a8417a6f21..aa8c165c36 100644 --- a/bsp/stm32/stm32l431-BearPi/rtconfig.py +++ b/bsp/stm32/stm32l431-BearPi/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l432-st-nucleo/rtconfig.py b/bsp/stm32/stm32l432-st-nucleo/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/stm32l432-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l432-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l433-ali-startkit/rtconfig.py b/bsp/stm32/stm32l433-ali-startkit/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/stm32l433-ali-startkit/rtconfig.py +++ b/bsp/stm32/stm32l433-ali-startkit/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l433-st-nucleo/rtconfig.py b/bsp/stm32/stm32l433-st-nucleo/rtconfig.py index 5ae577cd00..7942919c8e 100644 --- a/bsp/stm32/stm32l433-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l433-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l452-st-nucleo/rtconfig.py b/bsp/stm32/stm32l452-st-nucleo/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/stm32l452-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l452-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l475-atk-pandora/rtconfig.py b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py index 4250a3d152..af29494a89 100644 --- a/bsp/stm32/stm32l475-atk-pandora/rtconfig.py +++ b/bsp/stm32/stm32l475-atk-pandora/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32l475-st-discovery/rtconfig.py b/bsp/stm32/stm32l475-st-discovery/rtconfig.py index 142ba69547..52c32cec88 100644 --- a/bsp/stm32/stm32l475-st-discovery/rtconfig.py +++ b/bsp/stm32/stm32l475-st-discovery/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l476-st-nucleo/rtconfig.py b/bsp/stm32/stm32l476-st-nucleo/rtconfig.py index a0816b29e8..11564b8fd1 100644 --- a/bsp/stm32/stm32l476-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l476-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l496-ali-developer/rtconfig.py b/bsp/stm32/stm32l496-ali-developer/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/stm32l496-ali-developer/rtconfig.py +++ b/bsp/stm32/stm32l496-ali-developer/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l496-st-nucleo/rtconfig.py b/bsp/stm32/stm32l496-st-nucleo/rtconfig.py index 9193d4a1d5..82445d4c2e 100644 --- a/bsp/stm32/stm32l496-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l496-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/stm32l4r5-st-nucleo/rtconfig.py b/bsp/stm32/stm32l4r5-st-nucleo/rtconfig.py index bbb5b20041..c388a89405 100644 --- a/bsp/stm32/stm32l4r5-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l4r5-st-nucleo/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.4' 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/stm32/stm32l4r9-st-eval/rtconfig.py b/bsp/stm32/stm32l4r9-st-eval/rtconfig.py index e0f9b603ee..0792efdcea 100644 --- a/bsp/stm32/stm32l4r9-st-eval/rtconfig.py +++ b/bsp/stm32/stm32l4r9-st-eval/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l4r9-st-sensortile-box/rtconfig.py b/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.py index e0f9b603ee..0792efdcea 100644 --- a/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.py +++ b/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32l552-st-nucleo/rtconfig.py b/bsp/stm32/stm32l552-st-nucleo/rtconfig.py index d648bba7b8..18a9b38c86 100644 --- a/bsp/stm32/stm32l552-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32l552-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armclang' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -95,7 +95,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/stm32mp157a-st-discovery/rtconfig.py b/bsp/stm32/stm32mp157a-st-discovery/rtconfig.py index b4605791cb..d2446f9fde 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/rtconfig.py +++ b/bsp/stm32/stm32mp157a-st-discovery/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32mp157a-st-ev1/rtconfig.py b/bsp/stm32/stm32mp157a-st-ev1/rtconfig.py index b4605791cb..d2446f9fde 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/rtconfig.py +++ b/bsp/stm32/stm32mp157a-st-ev1/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32u575-st-nucleo/rtconfig.py b/bsp/stm32/stm32u575-st-nucleo/rtconfig.py index b14888b024..3f5483a3a9 100644 --- a/bsp/stm32/stm32u575-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32u575-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armclang' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -95,7 +95,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/stm32wb55-st-nucleo/rtconfig.py b/bsp/stm32/stm32wb55-st-nucleo/rtconfig.py index b6c0783af5..c1f5080166 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32wb55-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32wl55-st-nucleo/rtconfig.py b/bsp/stm32/stm32wl55-st-nucleo/rtconfig.py index fc0386eaea..c1cd204199 100644 --- a/bsp/stm32/stm32wl55-st-nucleo/rtconfig.py +++ b/bsp/stm32/stm32wl55-st-nucleo/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32wle5-yizhilian-lm401/rtconfig.py b/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py index fc0386eaea..c1cd204199 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/stm32/stm32wle5-yizhilian-lm402/rtconfig.py b/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py index fc0386eaea..c1cd204199 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py +++ b/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = 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/swm320/rtconfig.py b/bsp/swm320/rtconfig.py index f90b490392..8fe8bfcbe5 100644 --- a/bsp/swm320/rtconfig.py +++ b/bsp/swm320/rtconfig.py @@ -18,8 +18,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -89,7 +89,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': CC = 'iccarm' CXX = 'iccarm' AS = 'iasmarm' diff --git a/bsp/tkm32F499/rtconfig.py b/bsp/tkm32F499/rtconfig.py index 4f537ccd48..1d5dffbecc 100644 --- a/bsp/tkm32F499/rtconfig.py +++ b/bsp/tkm32F499/rtconfig.py @@ -19,7 +19,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -118,7 +118,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/tm4c123bsp/rtconfig.py b/bsp/tm4c123bsp/rtconfig.py index 3767b4264a..a5be259c78 100644 --- a/bsp/tm4c123bsp/rtconfig.py +++ b/bsp/tm4c123bsp/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/tm4c129x/rtconfig.py b/bsp/tm4c129x/rtconfig.py index 691d51358b..6b8a21c8da 100644 --- a/bsp/tm4c129x/rtconfig.py +++ b/bsp/tm4c129x/rtconfig.py @@ -21,8 +21,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:\Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -84,7 +84,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/upd70f3454/rtconfig.py b/bsp/upd70f3454/rtconfig.py index 638470b645..c092a84c30 100644 --- a/bsp/upd70f3454/rtconfig.py +++ b/bsp/upd70f3454/rtconfig.py @@ -15,7 +15,7 @@ if CROSS_TOOL == 'gcc': print('=================================================') exit(0) elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation_0' elif CROSS_TOOL == 'keil': print('================ERROR============================') @@ -56,7 +56,7 @@ if PLATFORM == 'gcc': POST_ACTION = OBJCPY + ' -O srec $TARGET rtthread.mot\n' + SIZE + ' $TARGET \n' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccv850' AS = 'av850' diff --git a/bsp/w60x/rtconfig.py b/bsp/w60x/rtconfig.py index 254eb4fddc..a3d9e5d64b 100644 --- a/bsp/w60x/rtconfig.py +++ b/bsp/w60x/rtconfig.py @@ -20,7 +20,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' if os.getenv('RTT_EXEC_PATH'): @@ -93,7 +93,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET \n' POST_ACTION += 'python ./makeimg.py' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/wch/arm/ch32f103c8-core/rtconfig.py b/bsp/wch/arm/ch32f103c8-core/rtconfig.py index 5f37338573..f761099fc4 100644 --- a/bsp/wch/arm/ch32f103c8-core/rtconfig.py +++ b/bsp/wch/arm/ch32f103c8-core/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/wch/arm/ch32f203r-evt/rtconfig.py b/bsp/wch/arm/ch32f203r-evt/rtconfig.py index 5f37338573..f761099fc4 100644 --- a/bsp/wch/arm/ch32f203r-evt/rtconfig.py +++ b/bsp/wch/arm/ch32f203r-evt/rtconfig.py @@ -22,8 +22,8 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.0' + PLATFORM = 'iccarm' + EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' if os.getenv('RTT_EXEC_PATH'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') @@ -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/wch/arm/ch579m/rtconfig.py b/bsp/wch/arm/ch579m/rtconfig.py index 2865a4f642..282795f17b 100644 --- a/bsp/wch/arm/ch579m/rtconfig.py +++ b/bsp/wch/arm/ch579m/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:/IAR' if os.getenv('RTT_EXEC_PATH'): @@ -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/xplorer4330/M0/rtconfig.py b/bsp/xplorer4330/M0/rtconfig.py index 6902581132..0ae74a30cd 100644 --- a/bsp/xplorer4330/M0/rtconfig.py +++ b/bsp/xplorer4330/M0/rtconfig.py @@ -28,7 +28,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files/IAR Systems/Embedded Workbench 6.0' if os.getenv('RTT_EXEC_PATH'): @@ -92,7 +92,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/xplorer4330/M4/rtconfig.py b/bsp/xplorer4330/M4/rtconfig.py index 465f12eb0a..aa1b8644d7 100644 --- a/bsp/xplorer4330/M4/rtconfig.py +++ b/bsp/xplorer4330/M4/rtconfig.py @@ -28,7 +28,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = r'D:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files/IAR Systems/Embedded Workbench 6.0' if os.getenv('RTT_EXEC_PATH'): @@ -92,7 +92,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf --bin $TARGET --output rtthread.bin \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' AS = 'iasmarm' diff --git a/bsp/yichip/yc3121-pos/rtconfig.py b/bsp/yichip/yc3121-pos/rtconfig.py index f07430c42e..94f16842ad 100644 --- a/bsp/yichip/yc3121-pos/rtconfig.py +++ b/bsp/yichip/yc3121-pos/rtconfig.py @@ -25,7 +25,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil_v5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.2' if os.getenv('RTT_EXEC_PATH'): @@ -95,7 +95,7 @@ elif PLATFORM == 'armcc': POST_ACTION = 'fromelf.exe --text -a -c --output=@L_asm.txt "!L" \nfromelf -z $TARGET' -elif PLATFORM == 'iar': +elif PLATFORM == 'iccarm': # toolchains CC = 'iccarm' CXX = 'iccarm' diff --git a/components/libc/compilers/common/extension/fcntl/octal/SConscript b/components/libc/compilers/common/extension/fcntl/octal/SConscript index 65e7cf264e..ed9289b825 100644 --- a/components/libc/compilers/common/extension/fcntl/octal/SConscript +++ b/components/libc/compilers/common/extension/fcntl/octal/SConscript @@ -6,6 +6,6 @@ cwd = GetCurrentDir() CPPPATH = [cwd] group = [] -if rtconfig.PLATFORM in ['armcc', 'armclang', 'iar']: +if rtconfig.PLATFORM in ['armcc', 'armclang', 'iccarm']: group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH) Return('group') diff --git a/components/lwp/SConscript b/components/lwp/SConscript index f151f3b92e..98a7cf368a 100644 --- a/components/lwp/SConscript +++ b/components/lwp/SConscript @@ -6,7 +6,7 @@ src = [] CPPPATH = [cwd] support_arch = {"arm": ["cortex-m3", "cortex-m4", "cortex-m7", "arm926", "cortex-a"]} -platform_file = {'armcc': 'rvds.S', 'gcc': 'gcc.S', 'iar': 'iar.S'} +platform_file = {'armcc': 'rvds.S', 'gcc': 'gcc.S', 'iccarm': 'iar.S'} if rtconfig.PLATFORM in platform_file.keys(): # support platforms if rtconfig.ARCH in support_arch.keys() and rtconfig.CPU in support_arch[rtconfig.ARCH]: diff --git a/documentation/scons/scons.md b/documentation/scons/scons.md index 5a4d78051b..51597485b9 100644 --- a/documentation/scons/scons.md +++ b/documentation/scons/scons.md @@ -512,7 +512,7 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keilv5' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' + PLATFORM = 'iccarm' EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' if os.getenv('RTT_EXEC_PATH'): diff --git a/tools/building.py b/tools/building.py index deeb8fb620..e807188151 100644 --- a/tools/building.py +++ b/tools/building.py @@ -228,7 +228,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [ env['LIBLINKSUFFIX'] = '.lib' env['LIBDIRPREFIX'] = '--userlibpath ' - elif rtconfig.PLATFORM == 'iar': + elif rtconfig.PLATFORM == 'iccarm': env['LIBPREFIX'] = '' env['LIBSUFFIX'] = '.a' env['LIBLINKPREFIX'] = '' diff --git a/tools/mkdist.py b/tools/mkdist.py index e2c2b8da50..f0a59cbd17 100644 --- a/tools/mkdist.py +++ b/tools/mkdist.py @@ -173,7 +173,7 @@ def bs_update_ide_project(bsp_root, rtt_root, rttide = None): if rttide == None: tgt_dict = {'mdk4':('keil', 'armcc'), 'mdk5':('keil', 'armcc'), - 'iar':('iar', 'iar'), + 'iar':('iar', 'iccarm'), 'vs':('msvc', 'cl'), 'vs2012':('msvc', 'cl'), 'cdk':('gcc', 'gcc'),