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.

HV_Solar_DC_DC MPPT build problem

Other Parts Discussed in Thread: CONTROLSUITE

Hi all,

I use ccsv4 to build this project many times,but i can not resolve the problem.

This is my project. The console log:

**** Build of configuration F2803x_FLASH for project HV_Solar_DC_DC ****

C:\ti\ccsv4\utils\gmake\gmake -k all
'Building file: ../ADC_SOC_Cnf.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="ADC_SOC_Cnf.pp" "../ADC_SOC_Cnf.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [ADC_SOC_Cnf.obj] Error 1
'Building file: ../DSP2803x_CodeStartBranch.asm'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="DSP2803x_CodeStartBranch.pp" "../DSP2803x_CodeStartBranch.asm"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [DSP2803x_CodeStartBranch.obj] Error 1
'Building file: ../DSP2803x_GlobalVariableDefs.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="DSP2803x_GlobalVariableDefs.pp" "../DSP2803x_GlobalVariableDefs.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [DSP2803x_GlobalVariableDefs.obj] Error 1
'Building file: ../DSP2803x_usDelay.asm'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="DSP2803x_usDelay.pp" "../DSP2803x_usDelay.asm"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [DSP2803x_usDelay.obj] Error 1
'Building file: ../HV_Solar_DC_DC-DPL-ISR.asm'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="HV_Solar_DC_DC-DPL-ISR.pp" "../HV_Solar_DC_DC-DPL-ISR.asm"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [HV_Solar_DC_DC-DPL-ISR.obj] Error 1
'Building file: ../HV_Solar_DC_DC-Main.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="HV_Solar_DC_DC-Main.pp" "../HV_Solar_DC_DC-Main.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [HV_Solar_DC_DC-Main.obj] Error 1
'Building file: ../HV_Solar_DC_DC_DevInit_F2803x.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="HV_Solar_DC_DC_DevInit_F2803x.pp" "../HV_Solar_DC_DC_DevInit_F2803x.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [HV_Solar_DC_DC_DevInit_F2803x.obj] Error 1
'Building file: ../PWM_1ch_UpDwnCnt_Cnf.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="PWM_1ch_UpDwnCnt_Cnf.pp" "../PWM_1ch_UpDwnCnt_Cnf.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [PWM_1ch_UpDwnCnt_Cnf.obj] Error 1
'Building file: ../PWM_ComplPairDB_Cnf.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="PWM_ComplPairDB_Cnf.pp" "../PWM_ComplPairDB_Cnf.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [PWM_ComplPairDB_Cnf.obj] Error 1
'Building file: ../SolarHv_DCDC-Lin.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="SolarHv_DCDC-Lin.pp" "../SolarHv_DCDC-Lin.c"
[DSP2803x_Headers_nonBIOS.cmd]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 26: error: this declaration has no storage class or type specifier
"C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd", line 27: error: expected a ";"
At end of source: warning: parsing restarts here after previous syntax error
2 errors detected in the compilation of "C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd".

>> Compilation failure
gmake: *** [SolarHv_DCDC-Lin.obj] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project HV_Solar_DC_DC

  • Hi,

    Try using the attached cmd file and revert.

    5466.DSP2803x_Headers_nonBIOS.zip

    Regards,

    Gautam

  • Hi Gautam,

    I revert the cmd file you give me,but it does not work.

    Regards,

    Miller

  • miller zhang said:
    'Invoking: Compiler'
    "C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v15b/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/cmd/DSP2803x_Headers_nonBIOS.cmd" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/gel/DSP2803x_Peripheral.gel" --c_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_headers/source/DSP2803x_GlobalVariableDefs.c" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_CodeStartBranch.asm" --asm_file="C:/ti/controlSUITE/device_support/f2803x/v127/DSP2803x_common/source/DSP2803x_usDelay.asm" --preproc_with_compile --preproc_dependency="DSP2803x_GlobalVariableDefs.pp" "../DSP2803x_GlobalVariableDefs.c"

    If you look closely at the compile command line, you will notice that some files are being told to be treated as C files when they are in fact not C files. Notice the option --c_file and see that the .cmd file and .gel files are being passed to it. This tells the compiler that these files are C source files, when in fact they are not.

    Please go into the Project Properties and remove these files from the --c_file option (they will be under Compiler->File Type Specifier). There is also no need for the DSP2803x_CodeStartBranch.asm and DSP2803x_usDelay.asm to be passed to --asm_file option. They will automatically be treated as assembly files due to the .asm extension. But in this case it wouldn't do any harm either to leave it there either.

    Let us know if you continue to have build errors after making this change.

  • thanks,I sovled my promblem.

  • Hi I have the same problem with ccs v4.24.

    need help