问题描述,报错:
program will not fit into available memory. placement with alignment fails for section ".cinit" size 0x132 Available memory ranges:
<Linking>
error #10056: symbol "_main" redefined: first defined in "./main.obj"; redefined in "./17k_slave_V0.02/app/main.obj"
warning #10247-D: creating output section "DataBuff" without a SECTIONS specification
warning #10247-D: creating output section "ramfuncs" without a SECTIONS specification
"../28332_RAM_lnk.cmd", line 134: error #10099-D: program will not fit into available memory. placement with alignment/blocking fails for section ".text" size 0x1f83 page 0. Available memory ranges:
RAML1 size: 0x1000 unused: 0x1000 max hole: 0x1000
undefined first referenced
symbol in file
--------- ----------------
_AdcResult ./17k_slave_V0.02/app/userisr.obj
_CpuTimer1Regs ./17k_slave_V0.02/app/userisr.obj
_ECap1Regs ./17k_slave_V0.02/app/userisr.obj
_EPwm3Regs ./17k_slave_V0.02/app/grid.obj
_GpioCtrlRegs ./17k_slave_V0.02/cpu/SCI_Boot.obj
_GpioDataRegs ./17k_slave_V0.02/app/spitask.obj
_I2caRegs ./17k_slave_V0.02/app/eeprom.obj
_OSEventGet ./17k_slave_V0.02/app/eeprom.obj
_OSEventSend ./17k_slave_V0.02/app/eeprom.obj
_OSIntExit ./17k_slave_V0.02/app/OSClock.obj
_OSMaskEventPend ./17k_slave_V0.02/app/grid.obj
_OSRdyMap ./17k_slave_V0.02/app/userisr.obj
_OSTCBCur ./17k_slave_V0.02/kernel/ports/OS_CPU_A.obj
_OSTCBHighRdy ./17k_slave_V0.02/kernel/ports/OS_CPU_A.obj
_OSTCBTbl ./17k_slave_V0.02/app/eeprom.obj
_OSTimerTick ./17k_slave_V0.02/app/OSClock.obj
_PieCtrlRegs ./17k_slave_V0.02/app/userisr.obj
_SciaRegs ./17k_slave_V0.02/cpu/SCI_Boot.obj
_SpiaRegs ./17k_slave_V0.02/app/spitask.obj
_SysCtrlRegs ./17k_slave_V0.02/cpu/SCI_Boot.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "test2.out" not built
>> Compilation failure
makefile:187: recipe for target
'test2.out' failed
gmake[1]: *** [test2.out] Error 1
makefile:183: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****