问题表现: 在明明引用了头文件的情况下,出现“undefined reference to `…'”的情况,例如下图: 解决方法: 在左边的数据目录定位到“system\src\stm32f0-stdperiph”,然后找到需要的“*.c”文件,包括进去即可。 转载于:https://www.cnblogs.com/chihirosan/p/5295441.html