Platform.ini
file that contains some libraries, It worked
`platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
lib_deps =
LittleFS
https://github.com/alanswx/ESPAsyncWiFiManager.git
https://github.com/esphome/ESPAsyncWebServer.git
ayushsharma82/ElegantOTA @ ^3.1.0
bblanchon/ArduinoJson @ ^7.0.3
madhephaestus/ESP32Servo @ ^1.1.2
monitor_speed = 115200
board_build.filesystem = littlefs
build_flags =
-D ARDUINO_USB_CDC_ON_BOOT=1
-D ARDUINO_USB_MODE=1
-fpermissive
-DELEGANTOTA_USE_ASYNC_WEBSERVER=1
-DESPWifiManualSetup=true
-DBOARD_HAS_PSRAM
board_build.f_cpu = 80000000L
board_build.mcu = esp32c3
board_build.partitions = tinyuf2-partitions-4MB.csv
board_build.flash_mode = dio`
**build error: **
Dependency Graph
|-- LittleFS @ 2.0.0
|-- ESPAsyncWiFiManager @ 0.31.0+sha.3b9a58a
|-- ESPAsyncWebServer-esphome @ 3.2.2+sha.0873c38 <--------------
|-- ElegantOTA @ 3.1.3
|-- ArduinoJson @ 7.1.0
|-- ESP32Servo @ 1.2.1
|-- EEPROM @ 2.0.0
|-- WiFi @ 2.0.0
|-- ESP32 BLE Arduino @ 2.0.0
|-- ESPAsyncWebServer @ 3.1.1 <-----------
many lines of compilation errors are found like this:
src/WebRequest.cpp:781: multiple definition of `AsyncWebServerRequest::send(fs::File, String const&, String const&, bool, std::function<String (String const&)>)’; .piobuildesp32_devModlib426libESPAsyncWebServer.a(WebRequest.cpp.o)
**why does this happen ? **
don’t have a clue why this multiple libraries being imported yet.
New contributor
Jag is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.