diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-15 18:44:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-15 18:44:29 +0000 |
commit | 60d8f68906f28d369f35b624e129deee5092c86d (patch) | |
tree | 5c45e6bea6107dca69f8e3095a6ddda4e7c219a6 /testhal/STM32/USB_CDC/mcuconf.h | |
parent | 35ff7323526f5225d1a00c7812291e9fcdbfafac (diff) | |
download | ChibiOS-60d8f68906f28d369f35b624e129deee5092c86d.tar.gz ChibiOS-60d8f68906f28d369f35b624e129deee5092c86d.tar.bz2 ChibiOS-60d8f68906f28d369f35b624e129deee5092c86d.zip |
More improvements to the generic USB driver, implemented suspend and wakeup handling in the STM32 USB driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2742 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/USB_CDC/mcuconf.h')
-rw-r--r-- | testhal/STM32/USB_CDC/mcuconf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testhal/STM32/USB_CDC/mcuconf.h b/testhal/STM32/USB_CDC/mcuconf.h index 4e640b93f..c34557a85 100644 --- a/testhal/STM32/USB_CDC/mcuconf.h +++ b/testhal/STM32/USB_CDC/mcuconf.h @@ -118,3 +118,11 @@ #define STM32_UART_USART1_DMA_ERROR_HOOK() chSysHalt()
#define STM32_UART_USART2_DMA_ERROR_HOOK() chSysHalt()
#define STM32_UART_USART3_DMA_ERROR_HOOK() chSysHalt()
+
+/*
+ * 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 6
+#define STM32_USB_USB1_LP_IRQ_PRIORITY 14
|