Closed givemethree closed 2 years ago
platform 安装方式的问题,重新按照标准安装方式安装platformio后 再编译就没问题了
标准安装方式: https://blog.csdn.net/JR_Smmon/article/details/120856365
问题关闭
platform 安装方式的问题,重新按照标准安装方式安装platformio后 再编译就没问题了 标准安装方式: https://blog.csdn.net/JR_Smmon/article/details/120856365
我遇到了和你一样的问题,请问解决的关键点就是按这篇博文写的那样做么?我照着做了之后仍然报错没有freertos头文件。。。
我也遇到了相同的问题,缺少头文件,如果注释掉的话会出fat 错误。重装了Platform并没有解决问题。
问题解决了,esp32的platform用3.5版本
问题解决了,esp32的platform用3.5版本 我也试一下,freertos头文件需要注释掉吗
问题解决了,上面的解决方法试了一遍不太行,如果有人没解决的话可以去看我这个issues。 https://github.com/peng-zhihui/Peak/issues/28#issuecomment-1222158709
1.freertos 报错内容
include "FreeRTOS.h"
compilation terminated. In file included from src/App/Accounts/ACT_IMU.cpp:2: src/HAL/HAL.h:9:10: fatal error: FreeRTOS.h: No such file or directory
2.注释freertos文件后编译报fat 错误。
lib/SD/src/sd_diskio.cpp:825:18: error: 'ff_diskio_impl_t' does not name a type static const ff_diskio_impl_t sd_impl = { ^
~~~lib/SD/src/sd_diskio.cpp:832:31: error: 'sd_impl' was not declared in this scope ff_diskio_register(pdrv, &sd_impl); ^~~ lib/SD/src/sd_diskio.cpp:832:31: note: suggested alternative: 'fdiml' ff_diskio_register(pdrv, &sd_impl); ^~~ fdiml lib/SD/src/sd_diskio.cpp:832:5: error: 'ff_diskio_register' was not declared in this scope ff_diskio_register(pdrv, &sd_impl); ^~~~~~ lib/SD/src/sd_diskio.cpp:832:5: note: suggested alternative: 'lv_disp_drv_register' ff_diskio_register(pdrv, &sd_impl); ^~~~~~ lv_disp_drv_register *** [.pio\build\pico32\libbbe\SD\sd_diskio.cpp.o] Error 1