Part Number: TMS320F28379D
Tool/software: TI C/C++ Compiler
Hi,
I have a weird problem with multiple makefiles that have worked fine up until the other day when I had to delete everything and re-clone the repositories I was working in.
It seems that some symbols we define at compile time are no longer visible to the program, and the compiler throws an error because it cannot find the symbol values. (This is only happening on my machine; my coworkers have not seen the same issue yet).
This is an example command our makefile generates which is still failing.
C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000 -v28 -mt -ml --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff --opt_for_speed=2 -g --define="CPU1" --define="_FLASH" --define="SYSCLK_MHZ=200" --define="OSCCLK_MHZ=20" --diag_warning=225 --display_error_number --diag_suppress=232 --diag_suppress=16002 --diag_wrap=off --c99 --fp_mode=relaxed -I . -I src -I ../c2000ware/common/include -I ../c2000ware/driverlib -I ../c2000ware/headers/include -I ../Common -I ../F021_API_F2837xS/include -I ../F021_API_F2837xS/include/Constants -I C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include --preproc_with_compile --obj_directory=release src/boot_obj_can.c "src/boot_obj_can.c", line 274: error #20: identifier "SYSCLK_MHZ" is undefined 1 error detected in the compilation of "src/boot_obj_can.c". >> Compilation failure makefile:134: recipe for target 'release/boot_obj_can.obj' failed gmake: *** [release/boot_obj_can.obj] Error 1
Now, the program complains that SYSCLK_MHZ is not defined, but it is clearly specified with a --define option in the command used. What is going on here? Is there something wrong in the order we've provided the arguments in?