Hello,
I have a mixed .c and .cla program for F2837xD. Usually I have global compiler (Version: 11.1.0.00011) optimisation set to level 3.
I have just created a DEBUG build where the only difference is that global optimisation is set to level 0 (off). In this case the compiler does not compile the .cla file but it does not give me any clue as to why.
Building file: "../cla_tasks.cla" Invoking: C2000 Compiler "C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=5 --fp_mode=relaxed --include_path >> Compilation failure subdir_rules.mk:35: recipe for target 'cla_tasks.obj' failed gmake: *** [cla_tasks.obj] Error 1
Changing -Off to -O3 in above arguments succeeds in compile and then link.
The manual section "10.1 How to Invoke the CLA Compiler" does not mention any issue in this respect. In any case, the compiler should give some indication why the file fails to compile.
Thank you.