From 88f1c0c580f3b94d935c7de6c714bd2f86acd66f Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Tue, 24 Oct 2023 18:35:15 -0400 Subject: [PATCH] needed for wifi on giga, added serial ports --- WifiInterface.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/WifiInterface.cpp b/WifiInterface.cpp index ab36957..0a01d57 100644 --- a/WifiInterface.cpp +++ b/WifiInterface.cpp @@ -57,6 +57,14 @@ Stream * WifiInterface::wifiStream; #define SERIAL3 Serial3 #endif +#if (defined(ARDUINO_GIGA)) +#define NUM_SERIAL 5 +#define SERIAL1 Serial1 +#define SERIAL2 Serial2 +#define SERIAL3 Serial3 +#define SERIAL4 Serial4 +#endif + #if defined(ARDUINO_ARCH_STM32) // Handle serial ports availability on STM32 for variants! // #undef NUM_SERIAL