TI中文支持网
TI专业的中文技术问题搜集分享网站

TIDEP-0091的msp_level_sense_demo出现错误

您好,我在CCS10.0中导入msp_level_sensor_demo的工程,显示以下错误:

,

然后全盘搜索,也没有找到其对应的文件,请问这是什么原因?

Chris Meng:

你好,

错误信息在你的帖子里没有显示出来,请再发一次。

user6252951:

回复 Chris Meng:

提示的错误如下:好多显示没有定义,有些文件一直搜索不到。

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 undefined2 errors detected in the compilation of "../source/msp_timer.c".gmake: *** [source/msp_timer.obj] Error 1Building 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 failuresource/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 1gmake: Target 'all' not remade because of errors.

Chris Meng:

回复 user6252951:

你好,

请问你是否有按照tidcde2c\level_sense_demo\docs\level_sensing_gsg.pdf的介绍,下载MSP432的SDK?

赞(0)
未经允许不得转载:TI中文支持网 » TIDEP-0091的msp_level_sense_demo出现错误
分享到: 更多 (0)