khoih-prog / ESPAsync_WiFiManager

This is an ESP32 (including ESP32-S2 and ESP32-C3) / ESP8266 WiFi Connection Manager, using ESPAsyncWebServer, with fallback web configuration portal. Use this library for configuring ESP32, ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson 6.0.0+ as well as 5.13.5- . Using AsyncDNSServer instead of DNSServer now.
MIT License
290 stars 73 forks source link

FS.h isn't found #89

Closed mahboud closed 2 years ago

mahboud commented 2 years ago

Is this my problem?

In file included from .pio/libdeps/esp32-c3-devkitm-1/ESP Async WebServer/src/AsyncEventSource.h:29,
                 from .pio/libdeps/esp32-c3-devkitm-1/ESP Async WebServer/src/AsyncEventSource.cpp:21:
.pio/libdeps/esp32-c3-devkitm-1/ESP Async WebServer/src/ESPAsyncWebServer.h:27:10: fatal error: FS.h: No such file or directory

my platform.ini:

[env:esp32-c3-devkitm-1]
platform = https://github.com/Jason2866/platform-espressif32.git
board = esp32-c3-devkitm-1
framework = arduino
platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
; lib_deps = adafruit/Adafruit NeoPixel@^1.10.4
monitor_speed = 115200
monitor_port = /dev/cu.usbserial-1420
; upload_port = /dev/cu.SLAB_USBtoUART
upload_port = /dev/cu.usbserial-1420
build_flags = -D c3_devkitm_01=1
lib_deps =
  # RECOMMENDED
  # Accept new functionality in a backwards compatible manner and patches
  HTTPUpdate @ ^1.3
  khoih-prog/ESPAsync_WiFiManager @ ^1.10.2
khoih-prog commented 2 years ago

First try to compile / run your code in Arduino IDE to see if OK. If OK, then move to PIO, which requires more experience, manual settings, and knowledge.

If only PIO creates problem, research more about PIO or post the issue on PIO Forum

Anywhere, you have to post Minimal, Reproducible Example, or your post will be ignored / deleted.

I'm closing this now and won't open until you prove this is a reproducible bug of this library.