aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h')
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
index ad866ae41..482b6ba11 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
@@ -154,3 +154,11 @@
#define STM32_UART_USART1_DMA_PRIORITY 0
#define STM32_UART_USART2_DMA_PRIORITY 0
#define STM32_UART_DMA_ERROR_HOOK(uartp) osalSysHalt("DMA failure")
+
+/*
+ * USB driver system settings.
+ */
+#define STM32_USB_USE_USB1 TRUE
+#define STM32_USB_LOW_POWER_ON_SUSPEND FALSE
+#define STM32_USB_USB1_HP_IRQ_PRIORITY 2
+#define STM32_USB_USB1_LP_IRQ_PRIORITY 3