打印

程序组合问题。。。

[复制链接]
495|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
3月的尾巴|  楼主 | 2018-7-1 12:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Build target 'key1'
compiling bsp_breathing.c...
..\..\User\breathinglight\bsp_breathing.c(52): error:  #20: identifier "NVIC_InitTypeDef" is undefined
..\..\User\breathinglight\bsp_breathing.c(55): warning:  #223-D: function "NVIC_PriorityGroupConfig" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(55): error:  #20: identifier "NVIC_PriorityGroup_1" is undefined
..\..\User\breathinglight\bsp_breathing.c(62): warning:  #223-D: function "NVIC_Init" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(84): error:  #20: identifier "TIM_TimeBaseInitTypeDef" is undefined
..\..\User\breathinglight\bsp_breathing.c(85): error:  #20: identifier "TIM_OCInitTypeDef" is undefined
..\..\User\breathinglight\bsp_breathing.c(93): error:  #20: identifier "TIM_CKD_DIV1" is undefined
..\..\User\breathinglight\bsp_breathing.c(94): error:  #20: identifier "TIM_CounterMode_Up" is undefined
..\..\User\breathinglight\bsp_breathing.c(95): warning:  #223-D: function "TIM_TimeBaseInit" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(98): error:  #20: identifier "TIM_OCMode_PWM1" is undefined
..\..\User\breathinglight\bsp_breathing.c(99): error:  #20: identifier "TIM_OutputState_Enable" is undefined
..\..\User\breathinglight\bsp_breathing.c(101): error:  #20: identifier "TIM_OCPolarity_Low" is undefined
..\..\User\breathinglight\bsp_breathing.c(103): warning:  #223-D: function "TIM_OC3Init" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(106): warning:  #223-D: function "TIM_OC3PreloadConfig" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(106): error:  #20: identifier "TIM_OCPreload_Enable" is undefined
..\..\User\breathinglight\bsp_breathing.c(108): warning:  #223-D: function "TIM_ARRPreloadConfig" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(111): warning:  #223-D: function "TIM_Cmd" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(113): warning:  #223-D: function "TIM_ITConfig" declared implicitly
..\..\User\breathinglight\bsp_breathing.c(113): error:  #20: identifier "TIM_IT_Update" is undefined
Target not created
   

当我把呼吸灯程序和按键程序拼装在一起的时候 出现这个状况 在user文件夹里面我也添加了bsp_breathing.c
在c++那个调试里面 我也添加了这个目录 但就是不知道怎么回事 希望大神帮帮小弟 小弟是新手。万分感谢

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

433

主题

433

帖子

0

粉丝