IAR版本不兼容导致无法正常打开工程文件 | 您所在的位置:网站首页 › pr低版本打开高版本显示文件已损坏 › IAR版本不兼容导致无法正常打开工程文件 |
嵌入式开发/学习过程中,难免需要借鉴别人的工程,但是开发环境的匹配始终是个问题==版本不匹配—无法正常的打开工程文件。 一般官方标配的开发环境包括: MDKIAR 这里描述IAR环境下,如何解决版本兼容问题。 IAR版本引起的提示消息:broken options: Diagnostics: ‘Settings ‘C-SPY’: unsupported version - ’. Options for ‘C-SPY’ will be set to default. LOAD: Configuration ‘FLASH_512KB’ in the project ‘ceac-k60-adc’ contains broken options for tool ‘JLINK_ID’: The format of this file is not supported by this version of the workbench. It appears to have been written by a newer version of the workbench. Diagnostics: ‘Settings ‘JLINK_ID’: unsupported version - ’. Options for ‘JLINK_ID’ will be set to default. LOAD: Configuration ‘FLASH_512KB’ in the project ‘ceac-k60-adc’ contains broken options for tool ‘PEMICRO_ID’: The format of this file is not supported by this version of the workbench. It appears to have been written by a newer version of the workbench. Diagnostics: ‘Settings ‘PEMICRO_ID’: unsupported version - ’. Options for ‘PEMICRO_ID’ will be set to default. LOAD: Configuration ‘FLASH_512KB’ in the project ‘ceac-k60-adc’ contains broken options for tool ‘XDS100_ID’: The format of this file is not supported by this version of the workbench. It appears to have been written by a newer version of the workbench. Diagnostics: ‘Settings ‘XDS100_ID’: unsupported version - ’. Options for ‘XDS100_ID’ will be set to default. IAR工程文件描述文件解析:IAR工程所有的配置都采用的脚本的方式进行描述, 描述工程的三个文件: - IAP.eww–IAR EWARM工作区文件,描述工作区中包含那些project; - IAP.ewp–C-SPY调试器项目设置文件; - IAP.ewd–IAR EWARM项目文件,有关项目的配置信息全在里面; 这里关注IAP.ewp文件,脚本结构是这样子(使用Notepad++文本编辑器): 如何查看找到的 IAR工程文件版本? 如下图: 一堆告警+error,打开options 关注下边图示的内容: 芯片型号选择: 至此,版本兼容的事儿,完全解决,,, 附:core_m3.c相关的对于IAR 6.5以后的版本,由于IAR开始集成了CORTEX-M3的C文件,因此可以会跟st官方的core_m3.c冲突,解决的办法就是移除官方的该文件,然后在iar的库定义里面添加cm3库。 可能的设置选项在这里: |
CopyRight 2018-2019 实验室设备网 版权所有 |