The strange thing is when I upload the code with PlatformIO it compiles and runs (I get my Serial prints) but when I go to the webpage it is stuck on loading. Whereas if I upload the exact same code with Arduino IDE then the webpages do load.
Do you know what could be the problem?
My setup:
Esp32 (WT32-SC01-PLUS) + ethernet (W5500)
Other requests do work but not but it does not serve the SPIFFS files. The files are present on the ESP32, and when the same code is uploaded from Arduino IDE the files are served. So it has to be an PlatformIO SPIFFS issue.
Can you help me?
I think the SPIFFS.h is in the lib “TFT_eSPI”. In Arduino IDE it says version 2.4.72
In PIO I found 2.0.0 for the SPIFFS lib within the esp32 3.20005.220925 folder.