在跑代码的时候,本来没错的突然报错
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原文及评论
STM32 Keil报错 error: #35: #error directive: “include FreeRTOS.h must appear in source files before...
最新推荐文章于 2024-06-19 13:54:02 发布