arduino 的SPIFFS和LittleFS的调用?

steveszhang2021
Posts: 17
Joined: Sat Apr 24, 2021 8:24 am

arduino 的SPIFFS和LittleFS的调用?

Postby steveszhang2021 » Thu May 13, 2021 8:47 am

从文档介绍,SPIFFS和LittleFS的调用基本一样,只是,它们的读取推送是什么方式?都是stream?
server.on("/",HTTP_GET,[](AsyncWebServerRequest *request){
//request->send(SPIFFS,"/index.html",String());
request->send(LittleFS,"/index.html",String());
});
以上的调用是否合理?
还有就是SPIFFS的文件总是上传失败,不知是那些原因;

ESP_Gargamel
Posts: 786
Joined: Wed Nov 14, 2018 8:45 am

Re: arduino 的SPIFFS和LittleFS的调用?

Postby ESP_Gargamel » Fri May 14, 2021 4:17 am

非常抱歉,中文区没有 Arduino 专版,能否在英文区:https://www.esp32.com/viewforum.php?f=19 讨论 Arduino 相关问题?

Who is online

Users browsing this forum: No registered users and 74 guests