aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-07 16:04:23 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-07 16:04:23 +0000
commitb674238b33984535802bf750e02ca020d3ce76f4 (patch)
treeef062ce930951028e2ab2c1d338072b8718b6658 /demos
parent9319d5e5c75edffa8b7596df093f4a40ffc891f6 (diff)
downloadChibiOS-b674238b33984535802bf750e02ca020d3ce76f4.tar.gz
ChibiOS-b674238b33984535802bf750e02ca020d3ce76f4.tar.bz2
ChibiOS-b674238b33984535802bf750e02ca020d3ce76f4.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4884 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h b/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h
index 205517a01..b7a8fcd59 100644
--- a/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h
+++ b/demos/ARMCM4-STM32F303-DISCOVERY/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