Several example sketches fail

Hi @sonofcy.

These are not actually board-specific. They are platform-specific. They are all the example sketches of the libraries bundled with the "Arduino UNO R4 Boards" platform. In addition to the Nano R4, that platform provides support for the UNO R4 WiFi board. For this reason, the "WiFiS3" library is bundled with the platform, and so that library's examples are shown in the File > Examples menu when any board of the "Arduino UNO R4 Boards" platform is selected in Arduino IDE.

So the "Examples for Arduino Nano R4" heading in the menu is misleading. I have made a proposal for changing this to an appropriate description of the examples:


There is also a proposal for making it possible for compatibility to be specified to a board level granularity in library metadata here:

If that compatibility information was available, it could be used by Arduino IDE to filter and tailor the content of the "Examples" menu.

As with the examples, the reason is that the "Arduino UNO R4 Boards" platform provides support for the UNO R4 WiFi board. For this reason, it contains files related to Wi-Fi and that board.

1 Like