diff options
Diffstat (limited to 'demos/ARMCM3-STM32F103-GCC')
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/halconf.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/halconf.h b/demos/ARMCM3-STM32F103-GCC/halconf.h index 2faba92d8..4e2e694c4 100644 --- a/demos/ARMCM3-STM32F103-GCC/halconf.h +++ b/demos/ARMCM3-STM32F103-GCC/halconf.h @@ -20,10 +20,18 @@ /**
* @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_
@@ -56,6 +64,13 @@ #endif
/**
+ * @brief Enables the PWM subsystem.
+ */
+#if !defined(CH_HAL_USE_PWM) || defined(__DOXYGEN__)
+#define CH_HAL_USE_PWM FALSE
+#endif
+
+/**
* @brief Enables the SERIAL subsystem.
*/
#if !defined(CH_HAL_USE_SERIAL) || defined(__DOXYGEN__)
|