28379D 双核程序在编译的时候出现如下错误10099-D,不知道怎么解决?
**** Build of configuration CPU2_FLASH for project blinky_dc_cpu02 ****
"D:\\ti\\ccsv7\\utils\\bin\\gmake" -k all'Building file: E:/blinky_dc -2 – PI/cpu02/blinky_dc_cpu02.c'
'Invoking: C2000 Compiler'
"D:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.4.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla1 –include_path="D:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.4.LTS/include" –include_path="E:/blinky_dc -2 – PI/IDDK_PM_Servo_F2837x_v2_00_00_00/utility Src Files" –include_path="E:/blinky_dc -1/include/v4.3" –include_path="E:/blinky_dc -1/include/IQmath/v160/include" –include_path="E:/blinky_dc -1/F2837xD_headers/include" –include_path="E:/blinky_dc -1/F2837xD_common/include" –include_path="E:/blinky_dc -1/include/user" –include_path="E:/blinky_dc -2/cpu02" –include_path="E:/blinky_dc -2 – PI/cpu02" –include_path="E:/blinky_dc -2 – PI/IDDK_PM_Servo_F2837x_v2_00_00_00" -g –define=CPU2 –define=_FLASH –diag_warning=225 –display_error_number –preproc_with_compile –preproc_dependency="blinky_dc_cpu02.d_raw" "E:/blinky_dc -2 – PI/cpu02/blinky_dc_cpu02.c"
"E:/blinky_dc -2 – PI/cpu02/blinky_dc_cpu02.c", line 1387 (col. 91): advice #2614-D: (Performance) Use –fp_mode=relaxed to enable TMU hardware support for FP division.
'Finished building: E:/blinky_dc -2 – PI/cpu02/blinky_dc_cpu02.c'
' '
'Building target: blinky_dc_cpu02.out'
'Invoking: C2000 Linker'
"D:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.4.LTS/bin/cl2000" -v28 -ml -mt –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 –cla_support=cla1 -g –define=CPU2 –define=_FLASH –diag_warning=225 –display_error_number -z -m"blinky_dc_cpu02.map" –heap_size=0x400 –stack_size=0x400 –warn_sections -i"D:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.4.LTS/lib" -i"E:/blinky_dc -1/F2837xD_headers/cmd" -i"E:/blinky_dc -1/F2837xD_common/cmd" -i"D:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.4.LTS/include" –reread_libs –display_error_number –xml_link_info="blinky_dc_cpu02_linkInfo.xml" –rom_model -o "blinky_dc_cpu02.out" "./AbsEncoder.obj" "./F2837xD_Adc.obj" "./F2837xD_CodeStartBranch.obj" "./F2837xD_DefaultISR.obj" "./F2837xD_GlobalVariableDefs.obj" "./F2837xD_Gpio.obj" "./F2837xD_Ipc.obj" "./F2837xD_PieCtrl.obj" "./F2837xD_PieVect.obj" "./F2837xD_SysCtrl.obj" "./F2837xD_usDelay.obj" "./IPCCommu.obj" "./blinky_dc_cpu02.obj" "./protect.obj" -lrts2800_fpu32.lib -l"E:/blinky_dc -1/F2837xD_headers/cmd/F2837xD_Headers_nonBIOS_cpu2.cmd" -l"E:/blinky_dc -1/F2837xD_common/cmd/2837xD_FLASH_lnk_cpu2.cmd" -llibc.a<Linking>
"E:/blinky_dc -1/F2837xD_common/cmd/2837xD_FLASH_lnk_cpu2.cmd", line 80: error #10099-D: program will not fit into available memory. placement with
alignment/blocking fails for section ".econst" size 0x1c0 page 0. Available
memory ranges:
FLASHB size: 0x2000 unused: 0x19f max hole: 0x19ferror #10010: errors encountered during linking; "blinky_dc_cpu02.out" not
built
>> Compilation failure
makefile:155: recipe for target 'blinky_dc_cpu02.out' failed
gmake: *** [blinky_dc_cpu02.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Seven Han:
2837xD_FLASH_lnk_cpu2.cmd为.econst段分配的内存太小。