I believe the ESP8266 and ESP32 use the same wifi library, is that true?
when I try to run the same software on these two devices the I get different results. The 8266 is OK. The ESP32 gives following error:
B4X:
C:\Program Files (x86)\Arduino\libraries\ESP8266wifi-master/ESP8266wifi.h:23:26: fatal error: avr/pgmspace.h: No such file or directory
esp8266 is working and I updated the arduino IDE and added esp32 to it before trying it yesterday. I also downloaded and installed B4R twice to make sure it wasn't that. I'll try removing and re-adding esp32/ 8266 again just in case. Then I'll strip down the project to the minimum that shows the problem before uploading it.
Thanks