aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-05-08 14:04:32 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-05-08 14:04:32 +0000
commit6f8e0e257eec0d1b675b410c19d84a24dfc9fea9 (patch)
treef0642080aa9f3ba056e877b80e44abd29bde3a6d /demos
parent0cd802faf1c7ab3f2ae237a91aabbd8a79cea831 (diff)
downloadChibiOS-6f8e0e257eec0d1b675b410c19d84a24dfc9fea9.tar.gz
ChibiOS-6f8e0e257eec0d1b675b410c19d84a24dfc9fea9.tar.bz2
ChibiOS-6f8e0e257eec0d1b675b410c19d84a24dfc9fea9.zip
Smart build option in mk files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7956 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/halconf.h2
-rw-r--r--demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
index 3e61eeaf9..d22a2c474 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/halconf.h
@@ -160,7 +160,7 @@
* @brief Enables the USB subsystem.
*/
#if !defined(HAL_USE_USB) || defined(__DOXYGEN__)
-#define HAL_USE_USB FALSE
+#define HAL_USE_USB TRUE
#endif
/*===========================================================================*/
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h
index f792eb4b9..4eb313e07 100644
--- a/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h
@@ -309,7 +309,7 @@
/*
* USB driver system settings.
*/
-#define STM32_USB_USE_OTG1 FALSE
+#define STM32_USB_USE_OTG1 TRUE
#define STM32_USB_USE_OTG2 FALSE
#define STM32_USB_OTG1_IRQ_PRIORITY 14
#define STM32_USB_OTG2_IRQ_PRIORITY 14