Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void setup() {
pinMode(NINA_RESETN, OUTPUT);
#endif

#ifdef ARDUINO_AVR_UNO_WIFI_REV2
#if defined(ARDUINO_AVR_UNO_WIFI_REV2) || defined(ARDUINO_NANO_RP2040_CONNECT)
// manually put the NINA in upload mode
digitalWrite(NINA_GPIO0, LOW);

Expand All @@ -60,7 +60,7 @@ void setup() {
}

void loop() {
#ifndef ARDUINO_AVR_UNO_WIFI_REV2
#if !defined(ARDUINO_AVR_UNO_WIFI_REV2) && !defined(ARDUINO_NANO_RP2040_CONNECT)
if (rts != Serial.rts()) {
#ifdef ARDUINO_SAMD_MKRVIDOR4000
FPGA.digitalWrite(FPGA_SPIWIFI_RESET, (Serial.rts() == 1) ? LOW : HIGH);
Expand Down Expand Up @@ -90,7 +90,7 @@ void loop() {
Serial.write(SerialNina.read());
}

#ifndef ARDUINO_AVR_UNO_WIFI_REV2
#if !defined(ARDUINO_AVR_UNO_WIFI_REV2) && !defined(ARDUINO_NANO_RP2040_CONNECT)
// check if the USB virtual serial wants a new baud rate
if (Serial.baud() != baud) {
rts = -1;
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ sentence=Enables network connection (local and Internet) with the Arduino MKR Wi
paragraph=With this library you can instantiate Servers, Clients and send/receive UDP packets through WiFi. The board can connect either to open or encrypted networks (WEP, WPA). The IP address can be assigned statically or through a DHCP. The library can also manage DNS.
category=Communication
url=http://www.arduino.cc/en/Reference/WiFiNINA
architectures=samd,mbed_nano,megaavr
architectures=samd,mbed_rp2040,megaavr,zephyr,zephyr_main
includes=WiFiNINA.h
depends=Arduino_SpiNINA
Loading