STM32 Keil报错 error: #35: #error directive: “include FreeRTOS.h must appear in source files before...
error: #35: #error directive: “include FreeRTOS.h must appear in source files before include task.h”
·
在跑代码的时候,本来没错的突然报错
error: #35: #error directive: “include FreeRTOS.h must appear in source files before include task.h”
原因是:
引用了 #include “task.h” 的时候没有 #include “FreeRTOS.h” ,且先 #include “FreeRTOS.h”
参考了https://blog.csdn.net/qq_23852045/article/details/108750503原文及评论
更多推荐
已为社区贡献1条内容
所有评论(0)