Part Number:TMS320F280049Other Parts Discussed in Thread:C2000WARE
C2000WARE 版本: 5.2
Code Composer Studio Version: 12.7.1.00001
程序输出格式选择eabi(ELF)
当前C2000Ware目录只能找到4个lib文件:
F021_API_F28004x_EABI.lib
F021_API_F28004x_FPU32.lib
F021_API_F28004x_FPU32_EABI.lib
F021_ROM_API_F28004x_FPU32.lib
采用F021_API_F28004x_EABI.lib可以正常编译,但是占用FLASH 和RAM空间。因此需要使用ROM中的Flash Api
采用F021_ROM_API_F28004x_FPU32.lib进行编译时会报错:
warning #10373-D: library "D:/GitWorkSpace/Standard/AST-Boot-F280049/lib/F021_ROM_API_F28004x_FPU32.lib" contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the proper library.
warning #10373-D: library "D:/GitWorkSpace/Standard/AST-Boot-F280049/lib/F021_ROM_API_F28004x_FPU32.lib" contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the proper library.
请问如何解决这个问题?
Barbecue:
F28004x ROM 中的Flash API 时Coff格式,所以没办法兼容EABI格式。
参考链接:
https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/218813/tms320f280049c-eeprom-ti-coff-elf