File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Adafruit_ESP32_Arduino_Demos/SerialESPPassthrough Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,14 @@ unsigned long baud = 115200;
6767 #define SPIWIFI_ACK 7 // a.k.a BUSY or READY pin
6868 #define ESP32_GPIO0 -1
6969 #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
7078#elif !defined(SPIWIFI_SS) // if the wifi definition isnt in the board variant
7179 // Don't change the names of these #define's! they match the variant ones
7280 #define SerialESP32 Serial1
You can’t perform that action at this time.
0 commit comments