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.

按照官方例程编译怎么会出现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文件中也应该配置妥当了;不清楚到底是哪一环节出了问题。求帮助~