您好,我在CCS10.0中导入msp_level_sensor_demo的工程,显示以下错误:
,
然后全盘搜索,也没有找到其对应的文件,请问这是什么原因?
提示的错误如下:好多显示没有定义,有些文件一直搜索不到。
source/subdir_rules.mk:9: recipe for target 'source/msp_timer.obj' failed
"../source/msp_timer.c", line 135: error #20: identifier "TIMER_PERIOD_US" is undefined
"../source/msp_timer.c", line 136: error #20: identifier "TIMER_CONTINUOUS_CB" is undefined
2 errors detected in the compilation of "../source/msp_timer.c".
gmake: *** [source/msp_timer.obj] Error 1
Building file: "../source/MSP_EXP432P401R.c"
Invoking: ARM Compiler
"D:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="E:/CCS Workspace/msp_level_sense_demo" --include_path="E:/CCS Workspace/msp_level_sense_demo/include" --include_path="E:/CCS Workspace/msp_level_sense_demo../level_sense_demo" --include_path="D:/ti/ccs1000/simplelink_msp432p4_sdk_3_40_01_02/kernel/tirtos/packages/ti/sysbios/posix" --include_path="D:/ti/ccs1000/simplelink_msp432p4_sdk_3_40_01_02/source/third_party/CMSIS/Include" --include_path="D:/ti/ccs1000/simplelink_msp432p4_sdk_3_40_01_02/source/ti/devices/msp432p4xx/driverlib" --include_path="D:/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --advice:power=all --advice:power_severity=suppress --define=__MSP432P401R__ -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --preproc_with_compile --preproc_dependency="source/MSP_EXP432P401R.d_raw" --obj_directory="source" --cmd_file="E:/CCS Workspace/tirtos_builds_MSP_EXP432P401R_debug_ccs/Debug/configPkg/compiler.opt" "../source/MSP_EXP432P401R.c"
>> Compilation failure
source/subdir_rules.mk:9: recipe for target 'source/MSP_EXP432P401R.obj' failed
"../source/MSP_EXP432P401R.c", line 491: fatal error #1965: cannot open source file "ti/drivers/sdspi/SDSPIMSP432.h"
1 catastrophic error detected in the compilation of "../source/MSP_EXP432P401R.c".
Compilation terminated.
gmake: *** [source/MSP_EXP432P401R.obj] Error 1
gmake: Target 'all' not remade because of errors.