We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501b140 commit 5839907Copy full SHA for 5839907
variants/mkrvidor/variant.h
@@ -121,11 +121,12 @@ static const uint8_t SCK1 = PIN_SPI1_SCK;
121
#define SDCARD_SCK_PIN PIN_SPI1_SCK
122
#define SDCARD_SS_PIN PIN_SPI1_SS
123
124
-// TEMP: NINA passthrough
125
-#define SPIWIFI SPI
126
-#define SPIWIFI_SS 5
127
-#define SPIWIFI_ACK 4
128
-#define SPIWIFI_RESET 7
+// NINA signals
+#define SPIWIFI SPIEx
+#define NINA_GPIO0 (100 + 64 + 10) // WM_PIO27 -> NiNa GPIO0 -> FPGA N9
+#define SPIWIFI_RESET (100 + 64 + 0) // WM_RESET -> NiNa RESETN -> FPGA R1
+#define SPIWIFI_ACK (100 + 64 + 5) // WM_PIO7 -> NiNa GPIO33 -> FPGA P6
129
+#define SPIWIFI_SS (100 + 64 + 11) // WM_PIO28 -> NiNa GPIO5 -> FPGA N11
130
131
// Wire Interfaces
132
// ---------------
0 commit comments