aboutsummaryrefslogtreecommitdiffstats
path: root/testio/STM32/halconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testio/STM32/halconf.h')
-rw-r--r--testio/STM32/halconf.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/testio/STM32/halconf.h b/testio/STM32/halconf.h
index 2bde774ca..b04ce9baf 100644
--- a/testio/STM32/halconf.h
+++ b/testio/STM32/halconf.h
@@ -20,15 +20,23 @@
/**
* @file templates/halconf.h
* @brief HAL configuration header.
- * @addtogroup HAL
+ * @addtogroup HAL_CONF
* @{
*/
+/*
+ * HAL configuration file, this file allows to enable or disable the various
+ * device drivers from your application. You may also use this file in order
+ * to change the device drivers settings found in the low level drivers
+ * headers, just define here the new settings and those will override the
+ * defaults defined in the LLD headers.
+ */
+
#ifndef _HALCONF_H_
#define _HALCONF_H_
/**
- * @brief Enables the PAL subsystem.
+ * @brief Enables the PAL subsystem.
*/
#if !defined(CH_HAL_USE_PAL) || defined(__DOXYGEN__)
#define CH_HAL_USE_PAL TRUE
@@ -56,6 +64,13 @@
#endif
/**
+ * @brief Enables the PWM subsystem.
+ */
+#if !defined(CH_HAL_USE_PWM) || defined(__DOXYGEN__)
+#define CH_HAL_USE_PWM TRUE
+#endif
+
+/**
* @brief Enables the SERIAL subsystem.
*/
#if !defined(CH_HAL_USE_SERIAL) || defined(__DOXYGEN__)
@@ -73,7 +88,7 @@
* @brief Enables the MMC_SPI subsystem.
*/
#if !defined(CH_HAL_USE_MMC_SPI) || defined(__DOXYGEN__)
-#define CH_HAL_USE_MMC_SPI FALSE
+#define CH_HAL_USE_MMC_SPI TRUE
#endif
#endif /* _HALCONF_H_ */