TI中文支持网
TI专业的中文技术问题搜集分享网站

按照官方例程编译怎么会出现CMD文件没有具体定义的错误。具体如下:

warning #10247-D: creating output section "ADCDRV_4ch_Section" without a SECTIONS specification
<Linking>
warning #10247-D: creating output section "CNTL_2P2Z_Coef" without a SECTIONS specification
warning #10247-D: creating output section "CNTL_2P2Z_Section" without a SECTIONS specification
warning #10247-D: creating output section "Net_terminals" without a SECTIONS specification
warning #10247-D: creating output section "PWMDRV_PSFB_Section" without a SECTIONS specification
warning #10247-D: creating output section "csm_rsvd" without a SECTIONS specification
warning #10247-D: creating output section "csmpasswds" without a SECTIONS specification
"../cmd/28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0xc3c page 0. Available memory ranges:
RAML0L1 size: 0xc00 unused: 0xc00 max hole: 0xc00

undefined first referenced symbol in file

——— —————- _Comp ./DAC_Cnf.obj _DeviceInit ./HVPSFB-Main.obj>> Compilation failure
_PWMDRV_PSFB_VMC_SR_CNF ./HVPSFB-Main.obj _ePWM ./PWM_PSFB_VMC_SR_Cnf.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "f28035 psfb vcm.out" not built
gmake: *** [f28035 psfb vcm.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

====================================================

我是在用官方例程F28027的程序转成F28035的程序,将2802x的库文件和头文件换成了2803x的库文件、头文件。

已经解决了不少的编译问题,目前还剩下这些没搞定。

另外我是用的100V2USB的仿真器;

CMD文件中也应该配置妥当了;不清楚到底是哪一环节出了问题。求帮助~

Seven Han:应该是头文件在include路径下搜索不到,您在工程内搜索下找不到的变量,然后将该变量的头文件放到include文件夹下。

warning #10247-D: creating output section "ADCDRV_4ch_Section" without a SECTIONS specification
<Linking>
warning #10247-D: creating output section "CNTL_2P2Z_Coef" without a SECTIONS specification
warning #10247-D: creating output section "CNTL_2P2Z_Section" without a SECTIONS specification
warning #10247-D: creating output section "Net_terminals" without a SECTIONS specification
warning #10247-D: creating output section "PWMDRV_PSFB_Section" without a SECTIONS specification
warning #10247-D: creating output section "csm_rsvd" without a SECTIONS specification
warning #10247-D: creating output section "csmpasswds" without a SECTIONS specification
"../cmd/28035_RAM_lnk.cmd", line 112: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0xc3c page 0. Available memory ranges:
RAML0L1 size: 0xc00 unused: 0xc00 max hole: 0xc00

undefined first referenced symbol in file

——— —————- _Comp ./DAC_Cnf.obj _DeviceInit ./HVPSFB-Main.obj>> Compilation failure
_PWMDRV_PSFB_VMC_SR_CNF ./HVPSFB-Main.obj _ePWM ./PWM_PSFB_VMC_SR_Cnf.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "f28035 psfb vcm.out" not built
gmake: *** [f28035 psfb vcm.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

====================================================

我是在用官方例程F28027的程序转成F28035的程序,将2802x的库文件和头文件换成了2803x的库文件、头文件。

已经解决了不少的编译问题,目前还剩下这些没搞定。

另外我是用的100V2USB的仿真器;

CMD文件中也应该配置妥当了;不清楚到底是哪一环节出了问题。求帮助~

guohua zhu:从编译信息里看,.text段超出了,你可以将RAML0L1范围扩大。

赞(0)
未经允许不得转载:TI中文支持网 » 按照官方例程编译怎么会出现CMD文件没有具体定义的错误。具体如下:
分享到: 更多 (0)