We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b084d43 + 1dbf7c3 commit d80e9b6Copy full SHA for d80e9b6
2 files changed
Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/Metro M4 Airlift Shield Passthru.UF2
1 MB
Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough/SerialESPPassthrough.ino
@@ -67,6 +67,14 @@ unsigned long baud = 115200;
67
#define SPIWIFI_ACK 7 // a.k.a BUSY or READY pin
68
#define ESP32_GPIO0 -1
69
#define NEOPIXEL_PIN 8
70
+#elif defined(ADAFRUIT_METRO_M4_EXPRESS) || defined(ARDUINO_SAMD_METRO_M4)
71
+ #define SerialESP32 Serial1
72
+ #define SPIWIFI SPI
73
+ #define SPIWIFI_SS 10 // AirLift CS
74
+ #define ESP32_RESETN 5 // AirLift RESET
75
+ #define SPIWIFI_ACK 7 // AirLift BUSY / READY
76
+ #define ESP32_GPIO0 6 // AirLift GPIO0 (boot)
77
+ #define NEOPIXEL_PIN 40 // Metro M4 onboard NeoPixel
78
#elif !defined(SPIWIFI_SS) // if the wifi definition isnt in the board variant
79
// Don't change the names of these #define's! they match the variant ones
80
#define SerialESP32 Serial1
0 commit comments