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.
使用官方给的ADC的例程,只要包含"../F2837xD_Adc.c",就编译出错。
Building file: "../F2837xD_Adc.c"
Invoking: C2000 Compiler
"C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="F:/TI_ControlSUITE/controlSUITE/device_support/F2837xD/v170/F2837xD_common/include" --include_path="F:/TI_ControlSUITE/controlSUITE/device_support/F2837xD/v170/F2837xD_headers/include" --include_path="C:/ti/ccs1000/ccs/tools/compiler/ti-cgt-c2000_20.2.0.LTS/include" --advice:performance=all --define=CPU1 -g --diag_suppress=10063 --diag_warning=225 --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="F2837xD_Adc.d_raw" "../F2837xD_Adc.c"
>> Compilation failure
subdir_rules.mk:9: recipe for target 'F2837xD_Adc.obj' failed
INTERNAL ERROR: C:\ti\ccs1000\ccs\tools\compiler\ti-cgt-c2000_20.2.0.LTS\bin\ac2000.exe experienced a segmentation fault
while processing function (unknown or file scope) file (unknown) line 0
This is caused by a defect in the TI C/C++ Parser.
TI Customer Support may be able to suggest a workaround to avoid this.
Upgrading to the newest version of the compiler may fix this problem.
Contact TI in the E2E support forums at http://e2e.ti.com under
"Development Tools", "TI C/C++ Compiler". See the link titled
"Submitting an issue".
We need to see this ENTIRE error message and a complete, reproducible
test case including ALL of the command-line options.
Include the .pp file created by option --preproc_with_comment
gmake: *** [F2837xD_Adc.obj] Error 1
gmake: Target 'all' not remade because of errors.
你好,你是在TI的LAUNCHXL-F28379D上运行TI提供的例程会报错吗?
例程路径是这个吗:C:\ti\c2000\C2000Ware_4_00_00_00\driverlib\f2837xd\examples\cpu1\adc