Eclipse开发STM32出现找不到函数的情况的解决方法

问题表现:

在明明引用了头文件的情况下,出现“undefined reference to  `…'”的情况,例如下图:

image

解决方法:

在左边的数据目录定位到“systemsrcstm32f0-stdperiph”,然后找到需要的“*.c”文件,包括进去即可。

  1. image
  2. image
  3. image
原文地址:https://www.cnblogs.com/chihirosan/p/5295441.html