summaryrefslogtreecommitdiff
path: root/ports/stm32/stm32_it.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/stm32_it.c')
-rw-r--r--ports/stm32/stm32_it.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/stm32/stm32_it.c b/ports/stm32/stm32_it.c
index 3a4709d9f..e12cf4bf2 100644
--- a/ports/stm32/stm32_it.c
+++ b/ports/stm32/stm32_it.c
@@ -731,6 +731,15 @@ void USART3_8_IRQHandler(void) {
IRQ_EXIT(USART3_8_IRQn);
}
+#elif defined(STM32L0)
+
+void USART4_5_IRQHandler(void) {
+ IRQ_ENTER(USART4_5_IRQn);
+ uart_irq_handler(4);
+ uart_irq_handler(5);
+ IRQ_EXIT(USART4_5_IRQn);
+}
+
#else
void USART3_IRQHandler(void) {