1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 16:46:13 +01:00

needed for wifi on giga, added serial ports

This commit is contained in:
travis-farmer 2023-10-24 18:35:15 -04:00
parent 8bbe30e789
commit 88f1c0c580

View File

@ -57,6 +57,14 @@ Stream * WifiInterface::wifiStream;
#define SERIAL3 Serial3 #define SERIAL3 Serial3
#endif #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) #if defined(ARDUINO_ARCH_STM32)
// Handle serial ports availability on STM32 for variants! // Handle serial ports availability on STM32 for variants!
// #undef NUM_SERIAL // #undef NUM_SERIAL