ChipChop Support Forum
Log in
Log out
Join the forum
My Details
REPLIES: 5
VIEWS: 93
BACK
REPLY TO THIS POST
Logar
11 Jun 2026
Nano 33 IOT want ESP8266 Library
Hi, I want to play around with Arduino Nano 33 IOT with chipChop.
Arduino IDE shows me an error: ESP8266WiFi.h: No such file or directory.

In the sketch there is: #include <WiFiNINA.h>

How should I fix this?

Thanks
Gizmo
11 Jun 2026

Hiya,

hmmm, Nano 33 IoT definitely works ok, I've just checked and everything compiles fine.

ESP8266 should not be mentioned anywhere, the config file generated by the Code Builder should take care of that. Are you using a fresh template generated by the Code Builder?

Actually, if you are using Arduino IDE then it could be another thing, Arduino IDE can be a dumb ass as it relies on you correctly specifying the serial port and telling it exactly which type of device is connected to it.

If you had an ESP8266 plugged in before and left the serial specifying an esp8266 than Arduino IDE will look in the ChipChop code for the esp8266 wifi library instead of the Nano





If it's not the Arduino IDE issue, could you email me your code so I can try and compile it and see if I can reproduce the problem.

G


Attached images
Logar
13 Jun 2026

Problem is in AutoGenerated file: src\ChipChopWifiPortal.h

In file included from D:\Arduino\PROJEKTI\Nano33\src\ChipChop_Includes.h:2:0,
from D:\Arduino\PROJEKTI\Nano33\Nano33.ino:22:
D:\Arduino\PROJEKTI\Nano33\src\ChipChopWifiPortal.h:10:18: fatal error: ESP8266WiFi.h: No such file or directory
#include <ESP8266WiFi.h>
^~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: ESP8266WiFi.h: No such file or directory
Logar
13 Jun 2026

I belive, here is a problem.


Attached images
Gizmo
14 Jun 2026

ah, now I understand!

I’m really sorry, but the Wifi Portal module will only work with the esp32/8266 and PI Pico (it needs some stuff that the Nano doesn’t have)

It’s my fault, I have specified the compatibility in the Modules documentation but I think I should also prevent you from adding incompatible modules in the Code Builder based on hardware type.

For your info these modules will not work with Nano IoT, MKR 1010 and Uno Wifi:

- Wifi Portal
- Mini DB
- OTA

Sorry again for the inconvenience and confusion

G

Logar
14 Jun 2026

Now everything is clear.

Thanks