Part Number: TMS320F28377S
Other Parts Discussed in Thread: C2000WARE
With cl2000 22.6.1 device.cpp builds without error.
With cl2000 22.6.3 it has the build errors below.
What have I done wrong?
Both compile outputs below
22.6.3 compile with error
[0]**** Build of configuration 'DEBUG_UPDATE' for project 'CMCScannerPlusPlus' ****
[1]"C:\\ti\\ccs2040\\ccs\\utils\\bin\\gmake" -k -j 2 device/device.obj -O
[2]Building file: "../device/device.c"
[3]Invoking: C2000 Compiler
[4]"C:/ti/ccs2040/ccs/tools/compiler/ti-cgt-c2000_22.6.3.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --isr_save_vcu_regs=on --tmu_support=tmu0 --vcu_support=vcu0 --include_path="C:/Projects/CMCScannerPlusPlus/device" --include_path="C:/ti/c2000/C2000Ware_6_00_01_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_6_00_01_00/device_support/f2837xs/common/include" --include_path="C:/ti/ccs2040/ccs/tools/compiler/ti-cgt-c2000_22.6.3.LTS/include" --include_path="C:/Projects/CMCScannerPlusPlus" --include_path="C:/Projects/CMCScannerPlusPlus/dsp_shared" --include_path="C:/Projects/CMCScannerPlusPlus/inc" --include_path="C:/Projects/CMCScannerPlusPlus/inc/common" --include_path="C:/Projects/CMCScannerPlusPlus/inc/common/fromCMCESMCPlus" --include_path="C:/ti/c2000/C2000Ware_6_00_01_00/driverlib/f2837xs/driverlib" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f2837xs/include" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/dsp/VCU/c28/include/vcu0" --advice:performance=all --define=_FLASH --define=BUILD_CONFIG_DEBUG_FLASH --define=DEBUG_PRINTF_STDOUT --define=CPU1 --define=_DUAL_HEADERS -g --c11 --cpp_default --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="C:/Projects/CMCScannerPlusPlus/DEBUG_UPDATE/syscfg" --obj_directory="device" "../device/device.c"
[5]"C:\ti\c2000\C2000Ware_6_00_01_00\driverlib\f2837xs\driverlib\interrupt.h", line 483: error #313: cannot overload functions distinguished by return type alone
[6]"C:\ti\c2000\C2000Ware_6_00_01_00\driverlib\f2837xs\driverlib\interrupt.h", line 484: error #313: cannot overload functions distinguished by return type alone
[7]"C:/ti/c2000/C2000Ware_6_00_01_00/driverlib/f2837xs/driverlib/can.h", line 362: error #169: argument of type "int16_t *" is incompatible with parameter of type "int *"
[8]"C:/ti/c2000/C2000Ware_6_00_01_00/driverlib/f2837xs/driverlib/can.h", line 410: error #169: argument of type "int16_t *" is incompatible with parameter of type "int *"
[9]"C:/ti/c2000/C2000Ware_6_00_01_00/driverlib/f2837xs/driverlib/can.h", line 459: error #169: argument of type "int16_t *" is incompatible with parameter of type "int *"
[10]"C:/ti/c2000/C2000Ware_6_00_01_00/driverlib/f2837xs/driverlib/can.h", line 500: error #169: argument of type "int16_t *" is incompatible with parameter of type "int *"
[11]6 errors detected in the compilation of "../device/device.c".
[12] Build finished
22.6.1 compile without error
[0]**** Build of configuration 'DEBUG_UPDATE' for project 'CMCScannerPlusPlus' ****
[1]"C:\\ti\\ccs2001\\ccs\\utils\\bin\\gmake" -k -j 16 device/device.obj -O
[2]Building file: "../device/device.c"
[3]Invoking: C2000 Compiler
[4]"C:/ti/ccs2001/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --isr_save_vcu_regs=on --tmu_support=tmu0 --vcu_support=vcu0 --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/device" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/device_support/f2837xs/headers/include" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/device_support/f2837xs/common/include" --include_path="C:/ti/ccs2001/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/dsp_shared" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/inc" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/inc/common" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/inc/common/fromCMCESMCPlus" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/driverlib/f2837xs/driverlib" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/flash_api/f2837xs/include" --include_path="C:/ti/c2000/C2000Ware_5_04_00_00/libraries/dsp/VCU/c28/include/vcu0" --advice:performance=all --define=_FLASH --define=BUILD_CONFIG_DEBUG_FLASH --define=DEBUG_PRINTF_STDOUT --define=CPU1 --define=_DUAL_HEADERS -g --c11 --cpp_default --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="C:/BlueCrest/projects/CMCScannerPlusPlus/DEBUG_UPDATE/syscfg" --obj_directory="device" "../device/device.c"
[5]Finished building: "../device/device.c"
[6]* Build finished *






