Other Parts Discussed in Thread:SYSBIOS
通过CCS5.5创建基于sysbios的工程,但是生成文件格式由ELF变成COFF格式的文件,编译就会出现错误,希望TI工程师帮我一下,告诉我生成COFF格式文件怎么配置工程?谢谢啦
Nancy Wang:
需要先了解ELF和COFF格式的区别,在有源码的情况下可以修改。
processors.wiki.ti.com/…/C6000_EABI_Migration
blog.csdn.net/…/8002539
之前有客户修改过,可作为参考:
e2echina.ti.com/…/535719
,
user6418822:
我的工程创建的时候就选择COFF格式,但是编译会报错,错误如下:
**** Build of configuration Debug for project gh ****
C:\ti\ccsv5\utils\bin\gmake -k all
'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_23_04_60/xs" –xdcpath="C:/ti/ccsv5/ccs_base;C:/ti/bios_6_33_06_50/packages;" xdc.tools.configuro -o configPkg -t ti.targets.C66 -p ti.platforms.evm6678 -r debug -c "C:/ti/ccsv5/tools/compiler/c6000_7.3.4" –compileOptions "-g –optimize_with_debug" "../app.cfg"
making package.mak (because of package.bld) …
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …
configuring app.x66 from package/cfg/app_p66.cfg …
js: "C:/ti/bios_6_33_06_50/packages/ti/sysbios/family/Settings.xs", line 104: Error: Target not supported: ti.targets.C66
Please choose one of the following targets supported by BIOS:
gnu.targets.arm.M4
gnu.targets.arm.M4F
microsoft.targets.Win32
ti.targets.C28_float
ti.targets.C28_large
ti.targets.C64
ti.targets.C64P
ti.targets.C64P_big_endian
ti.targets.C674
ti.targets.arm.elf.A8F
ti.targets.arm.elf.A8Fnv
ti.targets.arm.elf.Arm9
ti.targets.arm.elf.M3
ti.targets.arm.elf.M4
ti.targets.arm.elf.M4F
ti.targets.arm.elf.R4Ft
ti.targets.arm.elf.R4Ft_big_endian
ti.targets.arm.elf.R4t_big_endian
ti.targets.arp32.elf.ARP32
ti.targets.elf.C64P
ti.targets.elf.C64P_big_endian
ti.targets.elf.C64T
ti.targets.elf.C66
ti.targets.elf.C66_big_endian
ti.targets.elf.C674
ti.targets.elf.C67P
ti.targets.elf.arp32.ARP32
ti.targets.msp430.MSP430
ti.targets.msp430.MSP430X
ti.targets.msp430.MSP430X_small
ti.targets.msp430.elf.MSP430X
ti.targets.msp430.elf.MSP430X_small
gnu.targets.arm.M3"F:/workspace_v5_2/gh/app.cfg", line 12"./package/cfg/app_p66.cfg", line 200"./package/cfg/app_p66.cfg", line 279"./package/cfg/app_p66.cfg", line 187
gmake.exe: *** [package/cfg/app_p66.xdl] Error 1
js: "C:/ti/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: Target `all' not remade because of errors.**** Build Finished ****
希望您再帮我分析一下,谢谢,我理解的是ti.targets.C66不支持coff,我怎么样配置一下
,
Nancy Wang:
应该是不支持COFF,必须选为ELF输出格式。 e2e.ti.com/…/1002856
从配置上应该是无法修改了,第一条回复研究看一下。