Giter VIP home page Giter VIP logo

Comments (3)

cotestatnt avatar cotestatnt commented on May 30, 2024

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.

StefanL38 avatar StefanL38 commented on May 30, 2024

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
grafik

newest version for ESP8266 is
grafik

from esp-fs-webserver.

cotestatnt avatar cotestatnt commented on May 30, 2024

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

image

image

from esp-fs-webserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.