Having serious compile issues porting some code that compiles & runs fine on a ESPWROOM-32 (and on an 8266) to an XIAO_ESP32-C3 on Arduino IDE using ESP32 libs 2.0.14 or newer.
Hi,
WebServer.h is included arduino-esp32. (here)
ESPAsyncWebServer.h is here? it NOT included arduino-esp32.
I don’t know if ESPAsyncWebServer works correctly on ESP32-C3.
→ issues
From what I’m seeing, the compile will fail; with Xiao ESP32C3. Just put #include<ESPAsyncWebServe.h> in a blank project and the compile will fail when Xiao ESP32C3 as the microcontroller. It is also the latest version (2016) I can locate.
Went ahead with the project using a small foorprint 8266 ( WeMos D1 Mini). All is well but of the 11 GPIO pins I had to do much shuffling to get the 3 digital inputs and 1 digital outputs I needed. Many of the GPIO pins are unhappy with either a hi or low digital signal on boot and will cause exceptions. Kinda useless really. FWIW GPIOs 4,5,15,16 seem useable