找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2638|回复: 1
打印 上一主题 下一主题
收起左侧

流水灯练习时提示未定义,老哥们指导下

[复制链接]
跳转到指定楼层
楼主
ID:274187 发表于 2018-1-10 11:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

Fatal Error[Pe013]: expected a file name C:\Users\傲\Desktop\20180106\user\bsp_led.c 2
Error while running C/C++ Compiler
core_cm3.c  
main.c  
Warning[Pe223]: function "LED_GPIO_Config" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 7
Warning[Pe223]: function "GPIO_SetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 10
Error[Pe020]: identifier "GPIO_Pin_0" is undefined C:\Users\傲\Desktop\20180106\user\main.c 10
Warning[Pe223]: function "GPIO_ResetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 10
Error[Pe020]: identifier "GPIO_Pin_0" is undefined C:\Users\傲\Desktop\20180106\user\main.c 10
Warning[Pe223]: function "GPIO_SetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 12
Error[Pe020]: identifier "GPIO_Pin_0" is undefined C:\Users\傲\Desktop\20180106\user\main.c 12
Warning[Pe223]: function "GPIO_ResetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 12
Error[Pe020]: identifier "GPIO_Pin_0" is undefined C:\Users\傲\Desktop\20180106\user\main.c 12
Warning[Pe223]: function "GPIO_SetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 13
Error[Pe020]: identifier "GPIO_Pin_1" is undefined C:\Users\傲\Desktop\20180106\user\main.c 13
Warning[Pe223]: function "GPIO_ResetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 13
Error[Pe020]: identifier "GPIO_Pin_1" is undefined C:\Users\傲\Desktop\20180106\user\main.c 13
Warning[Pe223]: function "GPIO_SetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 15
Error[Pe020]: identifier "GPIO_Pin_1" is undefined C:\Users\傲\Desktop\20180106\user\main.c 15
Warning[Pe223]: function "GPIO_ResetBits" declared implicitly C:\Users\傲\Desktop\20180106\user\main.c 15
Error[Pe020]: identifier "GPIO_Pin_1" is undefined C:\Users\傲\Desktop\20180106\user\main.c 15
Error[Pe020]: identifier "_IO" is undefined C:\Users\傲\Desktop\20180106\user\main.c 18
Error[Pe018]: expected a ")" C:\Users\傲\Desktop\20180106\user\main.c 18
Error[Pe147]: declaration is incompatible with "__interwork __softfp void Delay(u32 volatile)" (declared at line 4) C:\Users\傲\Desktop\20180106\user\main.c 18
Error[Pe020]: identifier "nCount" is undefined C:\Users\傲\Desktop\20180106\user\main.c 20
Error while running C/C++ Compiler
misc.c  
stm32f10x_bkp.c  
stm32f10x_adc.c  
stm32f10x_cec.c  
stm32f10x_can.c  
stm32f10x_crc.c  
stm32f10x_dac.c  
stm32f10x_dbgmcu.c  
stm32f10x_dma.c  
stm32f10x_exti.c  
stm32f10x_flash.c  
stm32f10x_fsmc.c  
stm32f10x_gpio.c  
stm32f10x_i2c.c  
stm32f10x_it.c  
stm32f10x_iwdg.c  
stm32f10x_pwr.c  
stm32f10x_rcc.c  
stm32f10x_rtc.c  
stm32f10x_sdio.c  
stm32f10x_spi.c  
stm32f10x_usart.c  
stm32f10x_tim.c  
stm32f10x_wwdg.c  
system_stm32f10x.c  

Total number of errors: 13
Total number of warnings: 62
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
ID:272194 发表于 2018-1-10 17:51 | 只看该作者
贴代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表