Hi All,
I use the attached code to for compiling in CCSV5 for DSPC8681E Card.
It compiled successfully.
I got the following logs -
==========================================================================================================================
**** Build of configuration DSPC8681E for project demo_evmc6678l ****
/home/ti/ti_audio/ccsv5/ccsv5/utils/gmake/gmake -k all
Building file: /home/ti/ti_audio/workspace/ipc/dsp/src/main.c
Invoking: C6000 Compiler
"/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/demo.cmd" -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/include" --include_path=/home/ti/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/ti/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/../include" --include_path="/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="src/main.pp" --obj_directory="src" "/home/ti/ti_audio/workspace/ipc/dsp/src/main.c"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
Finished building: /home/ti/ti_audio/workspace/ipc/dsp/src/main.c
Building file: /home/ti/ti_audio/workspace/ipc/dsp/src/serial_printf.c
Invoking: C6000 Compiler
"/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/demo.cmd" -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/include" --include_path=/home/ti/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/ti/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/../include" --include_path="/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="src/serial_printf.pp" --obj_directory="src" "/home/ti/ti_audio/workspace/ipc/dsp/src/serial_printf.c"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
Finished building: /home/ti/ti_audio/workspace/ipc/dsp/src/serial_printf.c
Building file: /home/ti/ti_audio/workspace/ipc/dsp/src/shared_mem_serial.c
Invoking: C6000 Compiler
"/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/demo.cmd" -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --include_path="/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/include" --include_path=/home/ti/ti_audio/xdctools_3_23_04_60/packages --include_path=/home/ti/ti_audio/ti/sdo/codecs/g711adec/app/Inc --include_path="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/../include" --include_path="/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages" --include_path="/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform" --diag_warning=225 --abi=eabi --preproc_with_compile --preproc_dependency="src/shared_mem_serial.pp" --obj_directory="src" "/home/ti/ti_audio/workspace/ipc/dsp/src/shared_mem_serial.c"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
Finished building: /home/ti/ti_audio/workspace/ipc/dsp/src/shared_mem_serial.c
Building target: demo_evmc6678l.out
Invoking: C6000 Linker
"/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/bin/cl6x" --cmd_file="/home/ti/ti_audio/workspace/ipc/dsp/evmc6678l/demo.cmd" -mv6600 -g --define=_TMS320C6X --define=_DEF_DSPC_8681_ --define=_EVMC6678L_ --diag_warning=225 --abi=eabi -z -m"demo_evmc6678l.map" --warn_sections -i"/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/lib" -i"/home/ti/ti_audio/ccsv5/ccsv5/tools/compiler/c6000/include" -i/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages/ti/csl/lib -i"/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages/ti/platform/dspc8681/platform_lib/lib/debug" -i"/home/ti/ti_audio/pdk_C6678_1_1_2_6/packages/ti/csl/lib" --reread_libs --rom_model -o "demo_evmc6678l.out" "./src/shared_mem_serial.obj" "./src/serial_printf.obj" "./src/main.obj" -l"ti.csl.intc.ae66" -l"ti.platform.dspc8681.lite.lib" -l"ti.csl.ae66" -l"libc.a" "../demo.cmd"
--heap_size,-heap,--heap=size
Specify the maximum heap size for C/C++ dynamic
memory allocation.
Finished building target: demo_evmc6678l.out
=====================================================================================================================
But there is no .out file.
Can any one tell me what I missed in compiling it?
There is another problem.
If I made any changes in the main.c, even remove the main function, still the project compiles and the logs were similar to above.
Can any one tell why this is happen? What I have to do?
Regards,
Rohit