在adc试验中添加timer文件报错

2019-08-14 18:26发布

在adc试验中添加timer.c 文件  在option中也设置了路径 但是编译出现下面错误  该怎么解决

..OBJADC.axf: Error: L6218E: Undefined symbol TIM_GetITStatus (referred from timer.o).
..OBJADC.axf: Error: L6218E: Undefined symbol TIM_ClearITPendingBit (referred from timer.o).
..OBJADC.axf: Error: L6218E: Undefined symbol TIM_Cmd (referred from timer.o).
..OBJADC.axf: Error: L6218E: Undefined symbol TIM_ITConfig (referred from timer.o).
..OBJADC.axf: Error: L6218E: Undefined symbol TIM_OC2Init (referred from timer.o).
..OBJADC.axf: Error: L6218E: Undefined symbol TIM_OC2PreloadConfig (referred from timer.o).
..OBJADC.axf: Error: L6218E: Undefined symbol TIM_TimeBaseInit (referred from timer.o).

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。