Skip to content

Commit b866f4e

Browse files
committed
rp2040: fix nina pins
1 parent 8b8da6b commit b866f4e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

variants/NANO_RP2040_CONNECT/pins_arduino.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,10 @@ void _ontouch1200bps_();
8585

8686
#define NINA_RESETN (24u)
8787
#define SerialNina Serial2
88+
#define SerialHCI Serial2
8889

89-
#if __has_include (<WiFiNINA.h>)
90-
#define NINA_GPIO0 (21u) // LEDG pin (GPIO26 on NINA)
91-
#else
92-
#define NINA_GPIO0 (28u) // real GPIO0 on NINA
93-
#endif
90+
#define NINA_GPIOIRQ (24u) // LEDG pin (GPIO26 on NINA)
91+
#define NINA_GPIO0 (11u) // real GPIO0 on NINA
9492

9593
#define SPIWIFI_SS (26u)
9694
#define SPIWIFI_ACK (27u)

0 commit comments

Comments
 (0)