aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F0xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-14 10:29:44 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-12-14 10:29:44 +0000
commited084725e90889534beb44573715c2c0b482a627 (patch)
treeaabc6c5e720ef38b9b865ff033d25a9abeb9f9a6 /testhal/STM32/STM32F0xx
parent51e52ffcf9cd4db7e629a112241ddd4960d22eb7 (diff)
downloadChibiOS-ed084725e90889534beb44573715c2c0b482a627.tar.gz
ChibiOS-ed084725e90889534beb44573715c2c0b482a627.tar.bz2
ChibiOS-ed084725e90889534beb44573715c2c0b482a627.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7586 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F0xx')
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/chconf.h4
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h8
2 files changed, 10 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
index b6ca0aa69..89abbc2dc 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/chconf.h
@@ -137,7 +137,7 @@
*
* @note The default is @p TRUE.
*/
-#define CH_CFG_USE_TM TRUE
+#define CH_CFG_USE_TM FALSE
/**
* @brief Threads registry APIs.
@@ -324,7 +324,7 @@
*
* @note The default is @p FALSE.
*/
-#define CH_DBG_STATISTICS TRUE
+#define CH_DBG_STATISTICS FALSE
/**
* @brief Debug option, system state check.
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