This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280025C: Compilation failure : catastrophic error detected in the compilation of "../src_board/hal.c and fatal error #1965:

Part Number: TMS320F280025C
Other Parts Discussed in Thread: SFRA, DRV8329AEVM, DAC128S085

hi team 

i have faced Compilation failure error, kindly check let me know the your feedback. 

>> Compilation failure
src_board/subdir_rules.mk:9: recipe for target 'src_board/hal.obj' failed
"E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include/hal_obj.h", line 69: fatal error #1965: cannot open source file "drv8343.h"
1 catastrophic error detected in the compilation of "../src_board/hal.c".
Compilation terminated.
gmake: *** [src_board/hal.obj] Error 1
Building file: "../src_board/user_mtr1.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_board/user_mtr1.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_board" "../src_board/user_mtr1.c"

>> Compilation failure
src_board/subdir_rules.mk:9: recipe for target 'src_board/user_mtr1.obj' failed
"E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include/hal_obj.h", line 69: fatal error #1965: cannot open source file "drv8343.h"
1 catastrophic error detected in the compilation of "../src_board/user_mtr1.c".
Compilation terminated.
gmake: *** [src_board/user_mtr1.obj] Error 1
Building file: "../src_control/communication.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_control/communication.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_control" "../src_control/communication.c"

>> Compilation failure
src_control/subdir_rules.mk:9: recipe for target 'src_control/communication.obj' failed
"E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include/hal_obj.h", line 69: fatal error #1965: cannot open source file "drv8343.h"
1 catastrophic error detected in the compilation of "../src_control/communication.c".
Compilation terminated.
gmake: *** [src_control/communication.obj] Error 1
Building file: "../src_control/motor1_drive.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_control/motor1_drive.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_control" "../src_control/motor1_drive.c"

>> Compilation failure
src_control/subdir_rules.mk:9: recipe for target 'src_control/motor1_drive.obj' failed
"E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include/hal_obj.h", line 69: fatal error #1965: cannot open source file "drv8343.h"
1 catastrophic error detected in the compilation of "../src_control/motor1_drive.c".
Compilation terminated.
gmake: *** [src_control/motor1_drive.obj] Error 1
Building file: "../src_device/f28002x_codestartbranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_device/f28002x_codestartbranch.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_device" "../src_device/f28002x_codestartbranch.asm"
Finished building: "../src_device/f28002x_codestartbranch.asm"

Building file: "../src_control/motor_common.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_control/motor_common.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_control" "../src_control/motor_common.c"

>> Compilation failure
src_control/subdir_rules.mk:9: recipe for target 'src_control/motor_common.obj' failed
"E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include/hal_obj.h", line 69: fatal error #1965: cannot open source file "drv8343.h"
1 catastrophic error detected in the compilation of "../src_control/motor_common.c".
Compilation terminated.
gmake: *** [src_control/motor_common.obj] Error 1
Building file: "../src_device/device.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_device/device.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_device" "../src_device/device.c"
Finished building: "../src_device/device.c"

Building file: "../src_device/f28002x_globalvariabledefs.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu1 -O2 --opt_for_speed=3 --fp_mode=relaxed --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/pi" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/fwc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/mtpa" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/vs_freq" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/control/dclink_ss" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/filter/filter_fo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/est_lib" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/esmo" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedfr" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/speedcalc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/ssipd" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/isbldc" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/encoder" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/observers/hall" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/clarke" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/ipark" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/park" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/svgen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/transforms/volts" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/angle_gen" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/cpu_time" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/datalog" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/step_response" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/traj/" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/rimpulse" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/mod6cnt" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/utilities/types/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/sfra" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/libraries/dacs/dac128s085" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/common/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_control/drivers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_board" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/device_support/headers/include" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/src_device/driverlib" --include_path="C:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include" --define=_INLINE --define=_FLASH --define=_F28002x --define=_FULL_FAST_LIB --define=DRV8329AEVM_REVA --define=MOTOR1_FAST --define=MOTOR1_ESMO_N --define=MOTOR1_ENC_N --define=MOTOR1_HALL_N --define=HALL_CAL_N --define=MOTOR1_ISBLDC_N --define=MOTOR1_DCLINKSS --define=SST_ENABLE_N --define=MOTOR1_OVM_N --define=MOTOR1_FWC_N --define=MOTOR1_MTPA_N --define=MOTOR1_SSIPD_N --define=MOTOR1_VOLRECT_N --define=DATALOGF2_EN_N --define=DAC128S_ENABLE --define=DAC128S_SPIB --define=CPUTIME_ENABLE_N --define=TEST_ENABLE_N --define=SFRA_ENABLE_N --define=STEP_RP_EN_N --define=CMD_POT_EN_N --define=CMD_CAP_EN_N --define=CMD_SWITCH_EN_N --define=CMD_CAN_EN_N --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="src_device/f28002x_globalvariabledefs.d_raw" --include_path="E:/12.3_Ccs_IDE_work/Pricol_Demo_f28002x/Flash_lib_DRV8329A_1SC/syscfg" --obj_directory="src_device" "../src_device/f28002x_globalvariabledefs.c"
Finished building: "../src_device/f28002x_globalvariabledefs.c"

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Which example lab are you using? Does the example lan work well?

    Can you try to add the required file or code in the example lab? Seems like you didn't add the new file correctly and set the right search directory for this new file.