当前位置:主页 > 中学教育
CMSIS\stm32f10x.h(8297): error: #5: cannot open source input file stm32f10x_conf.h: No such file or directory Lib\src\misc.c(24): error: #5: cannot open source input file misc.h: No such file or directory Lib\src\stm32f10x_rcc.c(23): error: #5: cannot op

 

打开如图所示的设置按钮; 2 选择如图所示界面, 3 开始一个一个的添加文件路径。

CMSIS\stm32f10x.h(8297): error: #5: cannot open source input file stm32f10x_conf.h: No such file or directory Lib\src\misc.c(24): error: #5: cannot open source input file misc.h: No such file or directory Lib\src\stm32f10x_rcc.c(23): error: #5: cannot open source input file stm32f10x_rcc.h: No such file or directory Lib\src\stm32f10x_gpio.c(23): error: #5: cannot open source input file stm32f10x_gpio.h: No such file or directory 工具/原料 keil软件 方法/步骤 1 首先打开keil软件,错误解决,并且打开了相关工程。

点击OK 5 编译运行。

如图所示。

END 注意事项 使用最新的stm32固件库3.5 , 4 添加完成。

点击添加文件路径,。