Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
I'm trying to implement ADC and ePWM in a single project. I'm getting some errors. Following is the build log;
**** Build of configuration Debug for project BMS ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../main.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/common/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/FPUfastRTS/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/libraries/math/IQmath/c28/include" --include_path="C:/ti/c2000/C2000Ware_1_00_06_00/device_support/f2806x/headers/include" --include_path="F:/M.E/Project/CCSTargetFolder/BMS" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.4.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
>> Compilation failure
subdir_rules.mk:79: recipe for target 'main.obj' failed
"../main.c", line 613: error #20: identifier "epwm_info" is undefined
At end of source: error #68: expected a "}"
2 errors detected in the compilation of "../main.c".
gmake: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****