我现在需要输出一个HEX文件,把项目属性里的HEX文件输出属性设置成“--romwidth=16 --intel”,然后发现生成的HEX文件分成了两部分,一部分是后缀名为.hex的文件,另一部分为后缀名.i10的文件,查了一下,发现.i10里的文件是.econst字段的变量,试了下,将.econst定义在Page1里就会生成.i10文件,如何配置CMD文件才能只生成一个HEX文件?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
用CCS自带的HEX2000(C:\ti\ccs920\ccs\tools\compiler\ti-cgt-c2000_18.12.3.LTS\bin)将程序编译输出的.out文件转换为hex文件。高版本的CCS可以直接转换,如下图设置之后输出的就是HEX格式:
