s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266

Home Page:https://valencia.lbsfilm.at/midterm-presentation/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lastest ESPUI not working with latest ArduinoIDE and dependencies

ManieCR opened this issue · comments

Good day

I see to be getting LiitleFS errors when using the 2.1.x ESPUI libraries.

I am running windows 10, everything updated.

Manie

Arduino's ESP32 LittleFS library was updated. Unfortunately header and function names have changed. Previously LITTLEFS, now LittleFS.

Until the changes are folded into ESPUI you should edit your local copy of the ESPUI library. Here's the basic changes you need to make:

In your ino file change (if used):
#include <LITTLEFS.h>
to
#include <LittleFS.h>

In ESPUI.h change:
#include <LITTLEFS.h>
To
#include <LittleFS.h>

In ESPUI.cpp use search & replace and change all instances of these characters (including the dot):
LITTLEFS.
To
LittleFS.

  • Thomas

I just tested using the latest code and updated the code to use LittleFS for ESP32. PR is open

For making it easier to find this solution I want to add the error-messages that appear
error: no matching function for call to 'LITTLEFS

error: 'beginLittleFS' was not declared in this scope

#warning("Use the built-in LITTLEFS library")