diff --git a/variants/arduino_due_x/variant.cpp b/variants/arduino_due_x/variant.cpp index 7a0de80a..0852b12b 100644 --- a/variants/arduino_due_x/variant.cpp +++ b/variants/arduino_due_x/variant.cpp @@ -309,6 +309,7 @@ void serialEvent() __attribute__((weak)); void serialEvent() { } // IT handlers +void UART_Handler(void) __attribute__((weak)); void UART_Handler(void) { Serial.IrqHandler(); @@ -336,16 +337,19 @@ void serialEvent3() __attribute__((weak)); void serialEvent3() { } // IT handlers +void USART0_Handler(void) __attribute__((weak)); void USART0_Handler(void) { Serial1.IrqHandler(); } +void USART1_Handler(void) __attribute__((weak)); void USART1_Handler(void) { Serial2.IrqHandler(); } +void USART3_Handler(void) __attribute__((weak)); void USART3_Handler(void) { Serial3.IrqHandler();