From 6f8e0e257eec0d1b675b410c19d84a24dfc9fea9 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 8 May 2015 14:04:32 +0000 Subject: Smart build option in mk files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7956 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F407-DISCOVERY/halconf.h | 2 +- demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'demos') 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 -- cgit v1.2.3