I have ran into a problem regarding the ESPAsyncWebServer library for ESP32 boards. From what i could gather the library doesnt work with ESP32-C3 chips or at least i didnt manage to get it to work.
When compiling, arduino throws out the folowing error:
:\Users\student\Documents\Arduino\libraries\ESPAsyncWebServer-master\src\AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
C:\Users\student\Documents\Arduino\libraries\ESPAsyncWebServer-master\src\AsyncWebSocket.cpp:843:28: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous
In file included from C:\Users\student\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-alpha1\cores\esp32/Arduino.h:153,
C:\Users\student\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-alpha1\cores\esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
IPAddress(const uint8_t *address);
C:\Users\student\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-alpha1\cores\esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
C:\Users\student\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-alpha1\cores\esp32/IPAddress.h:29:7: note: candidate: 'constexpr IPAddress::IPAddress(const IPAddress&)'
class IPAddress: public Printable
Multiple libraries were found for "FS.h"
Not used: C:\Users\student\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-alpha1\libraries\FS
exit status 1
Error compiling for board ESP32C3 Dev Module.
I am still curious if anyone managed to get this library to work with the board (it works fine if you compile it for another boards) and if not, could you recommend me an alternative library that does work with these boards?