mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-24 08:36:14 +01:00
needed for wifi on giga, added serial ports
This commit is contained in:
parent
8bbe30e789
commit
88f1c0c580
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user