peng-zhihui / Peak

Tiny Mobile Terminal Device Kit.
1.69k stars 377 forks source link

9250->6050 适配最新Platform框架 #29

Closed txp666 closed 2 years ago

txp666 commented 2 years ago

Peak-ESP32-fw(6050) 修改9250程序为6050

原程序在最新的platformio框架会报FreeRTOS路径错误和sd库中定义错误

由于platformio框架版本问题会报的错误解决方法:

HAL.h 文件 #include "FreeRTOS.h"改为 #include "FreeRTOS/FreeRTOS.h"

lib/SD/src/sd_diskio.cpp 添加头文件 #include "diskio_impl.h"