本帖最后由 guolisong1983 于 2015-8-10 22:17 编辑
找到原因了。 原来需要额外做一点事情,如下所述:
Include checksum calculation source in your application.
•
The minimum requirement is that your source uses the symbol __checksum.
•
Note: If your source doesn't use the symbol __checksum you will get an error message from IELFTOOL: "The string '__checksum' was not found in the string table".
•
To be able to link anyway, you can turn on Project > Options... > Linker > Extra Options > mark "Use command line options" and add the command line option "--keep __checksum".
加入这个信息后,link 就不再报错了。对了,我的IAR版本:
IAR Embeded workbench for ARM 7.40.3.8938
IAR Embeded workbench common components 7.2.4.3784
|