IAR一直有一个诟病,如果版本升级后会出现版本不兼容问题,除非重新移植,网上有很多方法,但是都不怎么凑效,这里介绍一种亲测能用的方式。
老版本:IAR for ARM 8.2......
新版本:IAR for ARM 8.32......
测试对象:CC1310的tirtos_cc13xx_cc26xx_2_21_00_06的SDK
更新了版本之后会有以下提示:
Building configuration: project - Debug
Updating build tree...
Performing Pre-Build Action
Error while running "c:/ti/xdctools_3_32_00_06_core/xs"
--xdcpath="c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;c:/ti/tirto
s_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;c:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages" iar.tools.configuro
-c "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.32\arm" --cc "C:\Program Files (x86)\IAR Systems\Embedded Workbench 8.32\arm\bin\
iccarm