aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-05-28 14:42:44 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-05-28 14:42:44 +0000
commitc7a158233872f963344bd1a0c57fdfbd559aed57 (patch)
treebaba8b58df44860fdf7859010df7fae2d8cee923 /testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
parentdce45c502e691cc8ec98bc7c88a4922aedfcb76d (diff)
downloadChibiOS-c7a158233872f963344bd1a0c57fdfbd559aed57.tar.gz
ChibiOS-c7a158233872f963344bd1a0c57fdfbd559aed57.tar.bz2
ChibiOS-c7a158233872f963344bd1a0c57fdfbd559aed57.zip
Fixed broken F107 USB demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10213 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h')
-rw-r--r--testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
index 63c29ccef..e2c5b4d82 100644
--- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
+++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h
@@ -31,6 +31,13 @@
#include "mcuconf.h"
/**
+ * @brief Enables the TM subsystem.
+ */
+#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
+#define HAL_USE_TM FALSE
+#endif
+
+/**
* @brief Enables the PAL subsystem.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -97,7 +104,7 @@
* @brief Enables the MAC subsystem.
*/
#if !defined(HAL_USE_MAC) || defined(__DOXYGEN__)
-#define HAL_USE_MAC FALSE
+#define HAL_USE_MAC TRUE
#endif
/**