代码应该是没问题的,为了找到问题,我都直接复制原子代码进来还是一样的报错,该导进来的头文件都导进来了,
下面是日志的错误提示
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:MDK5.24ARMARMCCBin'
Build target 'DS18B20'
compiling mytimer.c...
linking...
..OBJDS18B20.axf: Error: L6218E: Undefined symbol TIM_ARRPreloadConfig (referred from mytimer.o).
..OBJDS18B20.axf: Error: L6218E: Undefined symbol TIM_Cmd (referred from mytimer.o).
..OBJDS18B20.axf: Error: L6218E: Undefined symbol TIM_OC1Init (referred from mytimer.o).
..OBJDS18B20.axf: Error: L6218E: Undefined symbol TIM_OC1PreloadConfig (referred from mytimer.o).
..OBJDS18B20.axf: Error: L6218E: Undefined symbol TIM_TimeBaseInit (referred from mytimer.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 5 error messages.
"..OBJDS18B20.axf" - 5 Error(s), 0 Warning(s).
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
C:UsersAdministratorDesktop
一周热门 更多>