Skip to content

Commit 9218845

Browse files
committed
rp2040_connect: fix pinmux
1 parent 3c03e88 commit 9218845

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

variants/NANO_RP2040_CONNECT/pins_arduino.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ void _ontouch1200bps_();
9696
#define SerialNina Serial3
9797
#define SerialHCI Serial2
9898

99-
#define NINA_GPIOIRQ (21u) // LEDG pin (GPIO26 on NINA)
100-
#define NINA_GPIO0 (28u) // real GPIO0 on NINA
99+
//#define NINA_GPIOIRQ (21u) // LEDG pin (GPIO26 on NINA)
100+
#define NINA_GPIO0 (20u) // real GPIO0 on NINA
101101

102102
#define SPIWIFI_SS (26u)
103103
#define SPIWIFI_ACK (27u)

variants/NANO_RP2040_CONNECT/variant.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ PinDescription g_APinDescription[] = {
3939
{ p13, NULL, NULL, NULL }, // A5 / SCL -> D19
4040

4141
// Internal pins - D20 - D23
42-
{ p2, NULL, NULL, NULL }, // LEDR / IMU IRQ1 / to NINA
43-
{ p24, NULL, NULL, NULL }, // LEDG / IMU IRQ2 / to NINA
42+
{ p2, NULL, NULL, NULL }, // GPIO0
43+
{ p24, NULL, NULL, NULL }, // IMU IRQ
4444
{ p22, NULL, NULL, NULL }, // PDM DATA IN
4545
{ p23, NULL, NULL, NULL }, // PDM CLOCK
4646

0 commit comments

Comments
 (0)