diff options
| author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 07:42:49 +0000 |
|---|---|---|
| committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-08 07:42:49 +0000 |
| commit | 3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79 (patch) | |
| tree | bd6a58ca1b94282ad154d3e9d27eb471cd7386fa /testio | |
| parent | 348922bb1cf72c4812256ee4b0317ac492d78ddb (diff) | |
| download | ChibiOS-3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79.tar.gz ChibiOS-3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79.tar.bz2 ChibiOS-3b4b79d9bbaa2985d24cb94fd9833dbdabbddd79.zip | |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1383 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testio')
| -rw-r--r-- | testio/STM32/halconf.h | 21 |
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_ */
|
