在跑代码的时候,本来没错的突然报错
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原文及评论

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐