標(biāo)題: 流水燈練習(xí)時(shí)提示未定義,老哥們指導(dǎo)下 [打印本頁(yè)]

作者: tongaoao    時(shí)間: 2018-1-10 11:08
標(biāo)題: 流水燈練習(xí)時(shí)提示未定義,老哥們指導(dǎo)下

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

作者: 暴走大肥羊    時(shí)間: 2018-1-10 17:51
貼代碼




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1