Skip to content

Commit

Permalink
Preeliminary rpi2040 support (#52)
Browse files Browse the repository at this point in the history
* Preeliminary support for RPI 2040 NANO Connect.

* Adding missing closing brace.

* Top-level include of <Arduino.h> solves missing macro "F()"
  • Loading branch information
aentinger authored Mar 17, 2021
1 parent ef651cc commit 92c1f6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Arduino_ConnectionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef ARDUINO_CONNECTION_HANDLER_H_
#define ARDUINO_CONNECTION_HANDLER_H_

#include <Arduino.h>

#ifdef ARDUINO_SAMD_MKR1000
#include <WiFi101.h>
#include <WiFiUdp.h>
Expand All @@ -30,7 +32,7 @@
#endif

#if defined(ARDUINO_SAMD_MKRWIFI1010) || defined(ARDUINO_SAMD_NANO_33_IOT) || \
defined(ARDUINO_AVR_UNO_WIFI_REV2)
defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined (ARDUINO_NANO_RP2040_CONNECT)
#include <WiFiNINA.h>
#include <WiFiUdp.h>

Expand Down

0 comments on commit 92c1f6f

Please sign in to comment.