STM32利用固件库新建工程时候的问题?
C:\Keil\ARM\Inc\ST\STM32F10x\stm32f10x.h(8297):error:#5:cannotopensourceinputfile"stm...
C:\Keil\ARM\Inc\ST\STM32F10x\stm32f10x.h(8297): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
compiling stm32f10x_exti.c...
..\FWlib\src\stm32f10x_exti.c(23): error: #5: cannot open source input file "stm32f10x_exti.h": No such file or directory
..\FWlib\src\stm32f10x_flash.c(23): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory
compiling stm32f10x_fsmc.c...
..\FWlib\src\stm32f10x_fsmc.c(23): error: #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory
compiling stm32f10x_gpio.c...
..\FWlib\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory
compiling stm32f10x_i2c.c...
.
compiling system_stm32f10x.c...
..\CMSIS\stm32f10x.h(8297): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
Target not created
是固件库的问题吗?需要从新下载一个固件库吗???? 展开
compiling stm32f10x_exti.c...
..\FWlib\src\stm32f10x_exti.c(23): error: #5: cannot open source input file "stm32f10x_exti.h": No such file or directory
..\FWlib\src\stm32f10x_flash.c(23): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory
compiling stm32f10x_fsmc.c...
..\FWlib\src\stm32f10x_fsmc.c(23): error: #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory
compiling stm32f10x_gpio.c...
..\FWlib\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory
compiling stm32f10x_i2c.c...
.
compiling system_stm32f10x.c...
..\CMSIS\stm32f10x.h(8297): error: #5: cannot open source input file "stm32f10x_conf.h": No such file or directory
Target not created
是固件库的问题吗?需要从新下载一个固件库吗???? 展开
4个回答
展开全部
include包含没问题的话,就是stm32f10x.h这个头文件的宏定义没设置好吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你看看的include路径,这是找不到文件,不是库问题。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
关注这个问题
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询