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.
Tool/software:
Hi
I have imported the cla_ex4_pwm_control project in the WORKSPACE_CCSTHEIA the first time the project compile with no error. I have done some minimal modification and now I have this result:
[0]**** Build of configuration CPU1_RAM for project cla_ex4_pwm_control ****
[1]"C:\\ti\\ccs2002\\ccs\\utils\\bin\\gmake" -k -j 8 all -O
[2]Building file: "../cla_ex4_pwm_control.c"
[3]Invoking: C2000 Compiler
[4]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00" --include_path="C:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/device" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=RAM --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=on --preproc_with_compile --preproc_dependency="cla_ex4_pwm_control.d_raw" --include_path="C:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/CPU1_RAM/syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../cla_ex4_pwm_control.c"
[5]>> Compilation failure
[6]subdir_rules.mk:9: recipe for target 'cla_ex4_pwm_control.obj' failed
[7]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h", line 51: error #20: identifier "uint16_t" is undefined
[8]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h", line 52: error #20: identifier "int16_t" is undefined
[9]2 errors detected in the compilation of "../cla_ex4_pwm_control.c".
[10]gmake: *** [cla_ex4_pwm_control.obj] Error 1
[11]Building file: "../cla_ex4_pwm_control_cla.cla"
[12]Invoking: C2000 Compiler
[13]"C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu64 --idiv_support=idiv0 --tmu_support=tmu0 --vcu_support=vcrc -Ooff --include_path="C:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00" --include_path="C:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/device" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/" --include_path="C:/ti/ccs2002/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=RAM --define=CPU1 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --cla_background_task=off --cla_signed_compare_workaround=on --preproc_with_compile --preproc_dependency="cla_ex4_pwm_control_cla.d_raw" --include_path="C:/Users/lucam/workspace_ccstheia/cla_ex4_pwm_control/CPU1_RAM/syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../cla_ex4_pwm_control_cla.cla"
[14]>> Compilation failure
[15]subdir_rules.mk:43: recipe for target 'cla_ex4_pwm_control_cla.obj' failed
[16]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h", line 51: error #20: identifier "uint16_t" is undefined
[17]"C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2838x/driverlib/inc/hw_types.h", line 52: error #20: identifier "int16_t" is undefined
[18]2 errors detected in the compilation of "../cla_ex4_pwm_control_cla.cla".
[19]gmake: *** [cla_ex4_pwm_control_cla.obj] Error 1
[20]gmake: Target 'all' not remade because of errors.
[21]**** Build Finished ****
what appens?
Best Regards
Luca
HI Luca,
Your seems to be related to the data types being undefined in your project. What type of changes did you make to your project. Did you update the listing of your #includes?
Regards,
Ozino
Hi Ozino
Sorry but I am not able to reproduce this behaviour. So I close the task.
Best regards
Luca