aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F3xx/USB_CDC
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F3xx/USB_CDC')
-rw-r--r--testhal/STM32F3xx/USB_CDC/mcuconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/testhal/STM32F3xx/USB_CDC/mcuconf.h b/testhal/STM32F3xx/USB_CDC/mcuconf.h
index 6f232ce68..f608471ff 100644
--- a/testhal/STM32F3xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32F3xx/USB_CDC/mcuconf.h
@@ -145,6 +145,20 @@
#define STM32_SPI_DMA_ERROR_HOOK(spip) chSysHalt()
/*
+ * UART driver system settings.
+ */
+#define STM32_UART_USE_USART1 FALSE
+#define STM32_UART_USE_USART2 FALSE
+#define STM32_UART_USE_USART3 FALSE
+#define STM32_UART_USART1_IRQ_PRIORITY 12
+#define STM32_UART_USART2_IRQ_PRIORITY 12
+#define STM32_UART_USART3_IRQ_PRIORITY 12
+#define STM32_UART_USART1_DMA_PRIORITY 0
+#define STM32_UART_USART2_DMA_PRIORITY 0
+#define STM32_UART_USART3_DMA_PRIORITY 0
+#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
+
+/*
* USB driver system settings.
*/
#define STM32_USB_USE_USB1 TRUE