Keil为什么会找不到头文件

2025-03-13 09:38:43
推荐回答(3个)
回答1:

在include paths 中添加目录

并在工程目录下添加stm32f10x_conf.c

回答2:

32f10x_conf.h这个文件在应用里面。然后包含固件库的头文件。自己写一个也可以。

// #include "stm32f10x_flash.h"
// #include "stm32f10x_fsmc.h"
#include "stm32f10x_gpio.h"
// #include "stm32f10x_i2c.h"

就像这样的,没有其它的重要的东西。

回答3:

不支持中文和数字开头