aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F3xx/SPI/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F3xx/SPI/mcuconf.h')
-rw-r--r--testhal/STM32F3xx/SPI/mcuconf.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/testhal/STM32F3xx/SPI/mcuconf.h b/testhal/STM32F3xx/SPI/mcuconf.h
index 2ee4bab2a..0009168db 100644
--- a/testhal/STM32F3xx/SPI/mcuconf.h
+++ b/testhal/STM32F3xx/SPI/mcuconf.h
@@ -70,7 +70,7 @@
/*
* CAN driver system settings.
*/
-#define STM32_CAN_USE_CAN1 TRUE
+#define STM32_CAN_USE_CAN1 FALSE
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
/*
@@ -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 FALSE