IDE on RPi 4 - Unable to install WiFiNINA library

Hello,

I have a Nano 33 IoT and am using the IDE running on a Raspberry Pi (RPi 4). I hace tried to install the WiFiNINA library using the Manage Libraries option but nothing is installed.

It is not there in the Include library list under the Sketch option.

I have tried to run the ScanNetworks example sketch but I get the error message "WiFi shield not found".

I suspect that the #include <WiFi.h> should be replaced by #include <WiFiNINA.h> but, of course, I need that library.

Any suggestions about what I should do?

Regards,

Paul.

Make to install the board package and set the board type correctly.

1 Like

PROBLEM RESOLVED

Hello Poki,

Yes I did install the board package. The problem was with installing the WiFiNINA library.

The problem turned out to be a file/directory permissions problem. The IDE was unable to write to the libraries directory.

Anyway, a solution to the problem is to run the IDE as root. I modified the shortcut command to be "sudo /usr/local/bin/arduino".

That did the trick. (Note the directory in which I placed the IDE.)

I should really sort out what the permissions problem is but this fix will do for now.

Regards,

Paul.