diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-08-31 15:30:05 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-08-31 15:30:05 +0300 |
commit | 9e9b6679aedbedc5262ced8205de26c534d2a9d9 (patch) | |
tree | 4d105ef7bf59a5d3f64595bf19cebe15d7291821 /src/Duet3_V06 | |
parent | a6d7a422b742dd392008669e849f7407e12cd6e4 (diff) |
Added support for second UART on Duet 3
Diffstat (limited to 'src/Duet3_V06')
-rw-r--r-- | src/Duet3_V06/Pins_Duet3_V06.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Duet3_V06/Pins_Duet3_V06.h b/src/Duet3_V06/Pins_Duet3_V06.h index cde5dd6e..ff537d24 100644 --- a/src/Duet3_V06/Pins_Duet3_V06.h +++ b/src/Duet3_V06/Pins_Duet3_V06.h @@ -82,10 +82,10 @@ constexpr size_t MaxExtrudersPerTool = 8; constexpr unsigned int MaxTriggers = 32; // Must be <= 32 because we store a bitmap of pending triggers in a uint32_t -constexpr size_t NUM_SERIAL_CHANNELS = 2; // The number of serial IO channels not counting the WiFi serial connection (USB and one auxiliary UART) +constexpr size_t NUM_SERIAL_CHANNELS = 3; // The number of serial IO channels not counting the WiFi serial connection (USB and one auxiliary UART) #define SERIAL_MAIN_DEVICE SerialUSB #define SERIAL_AUX_DEVICE Serial -#define SERIAL_WIFI_DEVICE Serial1 +#define SERIAL_AUX2_DEVICE Serial1 constexpr Pin UsbVBusPin = PortCPin(21); // Pin used to monitor VBUS on USB port |