Build target 'Target 1'
compiling timer.c...
..HARDWARETIMER imer.c(23): error: #20: identifier "TIM_TimeBaseInitTypeDef" is undefined
..HARDWARETIMER imer.c(31): error: #20: identifier "TIM_CKD_DIV1" is undefined
..HARDWARETIMER imer.c(32): error: #20: identifier "TIM_CounterMode_Up" is undefined
..HARDWARETIMER imer.c(33): warning: #223-D: function "TIM_TimeBaseInit" declared implicitly
..HARDWARETIMER imer.c(35): warning: #223-D: function "TIM_ITConfig" declared implicitly
..HARDWARETIMER imer.c(35): error: #20: identifier "TIM_IT_Update" is undefined
..HARDWARETIMER imer.c(45): warning: #223-D: function "TIM_Cmd" declared implicitly
..HARDWARETIMER imer.c(50): warning: #223-D: function "TIM_GetITStatus" declared implicitly
..HARDWARETIMER imer.c(50): error: #20: identifier "TIM_IT_Update" is undefined
..HARDWARETIMER imer.c(52): warning: #223-D: function "TIM_ClearITPendingBit" declared implicitly
Target not created
求大神指教啊
第一步:找到你文件夹里的“user”
第二步:找到user里的stm32f10x_conf.h
第三步:把//include"stm32f10x_tim.h"前边的"//"给去掉
小弟不才,大家共同学习,共同进步。。。
一周热门 更多>