Comments (3)
Since version 2.0.0 of ESP32 Arduino core all sources related to LittleFS was renamed in order to match with ESP8266 implementation, so there is no need to use
#ifdef ESP8266
#include <LittleFS.h>
#define FILESYSTEM LittleFS
ESP8266WebServer server(80);
#elif defined(ESP32)
#include <LITTLEFS.h>
#define FILESYSTEM LITTLEFS
WebServer server(80);
#endif
Probably you are using an old version of core (latest is 2.0.3).
Regarding the different name of webserver class, it's handled directly in the sources of library since some time and you can use the generic name WebServerClass
.
#include <LittleFS.h>
#define FILESYSTEM LittleFS
WebServerClass server(80);
from esp-fs-webserver.
Probably you are using an old version of core (latest is 2.0.3).
2.0.3 doesn't make sense to me. Is this a type and you mean ESP8266 3.0.2
2.0.3
3.0.2
which version do you mean ESP32 my Boardmanager tells me
newest version for ESP32 is
from esp-fs-webserver.
You are using an old JSON link in your IDE preferences for ESP32.
Probably you've got it from an outdated tutorial instead from Espressif official documentation.
You can find the updated information for Arduino IDE at this address
from esp-fs-webserver.
Related Issues (20)
- How to show variable value on Custom Html?? HOT 4
- Error run node minify.js to generate setup_htm.h HOT 3
- Feature Request : Add WiFi PEAP Auth HOT 2
- How to update variable value on custom html example? HOT 9
- Interface not working using reverse proxy (HTTPS and/or subdirectory) HOT 1
- Is possible to add more than one custom_html? HOT 1
- How to show json value to custom html page? HOT 1
- Add more supported editor files (for example like .yaml) HOT 3
- Difficult to load web-based configuration when the Wifi AP disappears for a long time after connected HOT 1
- Error compiling for board esp8266 HOT 2
- Disable Captive Portal?? HOT 2
- compilation error in platformio HOT 1
- What is the libraries need to use this library? HOT 4
- NO ISSUE, just question FILE DOWNLOAD ? HOT 28
- Problem with Options Box rename HOT 3
- Crash loading examples HOT 2
- can
- on version 2.0.2 ,the saveOption function does not take effect when used in loop. HOT 4
- Connect to WIFI that doesn't require a password HOT 5
- Won't Store Wifi Credentials when Password is empty. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-fs-webserver.