diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-21 11:04:42 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-21 11:04:42 +0000 |
commit | 659ae9692564f5bd99435cfbf3564a5e78d09ace (patch) | |
tree | 10eb788864f585ce7b1409667edcae9b8b26b9ca /testhal/STM32F4xx/USB_CDC/mcuconf.h | |
parent | 603771beb4849042327ac5164e6a52f1d74ec6a7 (diff) | |
download | ChibiOS-659ae9692564f5bd99435cfbf3564a5e78d09ace.tar.gz ChibiOS-659ae9692564f5bd99435cfbf3564a5e78d09ace.tar.bz2 ChibiOS-659ae9692564f5bd99435cfbf3564a5e78d09ace.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4602 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/USB_CDC/mcuconf.h')
-rw-r--r-- | testhal/STM32F4xx/USB_CDC/mcuconf.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testhal/STM32F4xx/USB_CDC/mcuconf.h b/testhal/STM32F4xx/USB_CDC/mcuconf.h index a441dda57..cf25addea 100644 --- a/testhal/STM32F4xx/USB_CDC/mcuconf.h +++ b/testhal/STM32F4xx/USB_CDC/mcuconf.h @@ -237,3 +237,15 @@ #define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
+/*
+ * USB driver system settings.
+ */
+#define STM32_USB_USE_OTG1 TRUE
+#define STM32_USB_USE_OTG2 TRUE
+#define STM32_USB_OTG1_IRQ_PRIORITY 14
+#define STM32_USB_OTG2_IRQ_PRIORITY 14
+#define STM32_USB_OTG1_RX_FIFO_SIZE 512
+#define STM32_USB_OTG2_RX_FIFO_SIZE 1024
+#define STM32_USB_OTG_THREAD_PRIO LOWPRIO
+#define STM32_USB_OTG_THREAD_STACK_SIZE 128
+#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
|