在STM32CubeIDE 上使用printf的时候一直报warring,incompatible implicit declaration of built-in function 'printf'

翻译过来是 内置函数'printf'的不兼容隐式声明,解决办法,在main.h中添加头文件包含

#include <stdio.h>

 

相关文章:

猜你喜欢
相关资源
相似解决方案