aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F3xx/CAN/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F3xx/CAN/mcuconf.h')
-rw-r--r--testhal/STM32F3xx/CAN/mcuconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/testhal/STM32F3xx/CAN/mcuconf.h b/testhal/STM32F3xx/CAN/mcuconf.h
index 7d0f391ae..2ee4bab2a 100644
--- a/testhal/STM32F3xx/CAN/mcuconf.h
+++ b/testhal/STM32F3xx/CAN/mcuconf.h
@@ -143,3 +143,11 @@
#define STM32_SPI_SPI2_IRQ_PRIORITY 10
#define STM32_SPI_SPI3_IRQ_PRIORITY 10
#define STM32_SPI_DMA_ERROR_HOOK(spip) chSysHalt()
+
+/*
+ * USB driver system settings.
+ */
+#define STM32_USB_USE_USB1 FALSE
+#define STM32_USB_LOW_POWER_ON_SUSPEND FALSE
+#define STM32_USB_USB1_HP_IRQ_PRIORITY 13
+#define STM32_USB_USB1_LP_IRQ_PRIORITY 14