diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2019-10-01 19:50:21 +0200 |
---|---|---|
committer | Fabien Poussin <fabien.poussin@gmail.com> | 2019-10-01 19:50:21 +0200 |
commit | 2204395064d06f3683881b41b97e4343103371d3 (patch) | |
tree | bcd60a9756535125dddc61be14e97eec8cd96f29 | |
parent | 00f17632276ecd922ec4a0f18aab47c6145e814a (diff) | |
download | ChibiOS-Contrib-2204395064d06f3683881b41b97e4343103371d3.tar.gz ChibiOS-Contrib-2204395064d06f3683881b41b97e4343103371d3.tar.bz2 ChibiOS-Contrib-2204395064d06f3683881b41b97e4343103371d3.zip |
Updated config templates
-rw-r--r-- | tools/templates/halconf_community.h | 9 | ||||
-rw-r--r-- | tools/templates/mcuconf_community.h | 10 |
2 files changed, 18 insertions, 1 deletions
diff --git a/tools/templates/halconf_community.h b/tools/templates/halconf_community.h index 631bb9f..0083cc9 100644 --- a/tools/templates/halconf_community.h +++ b/tools/templates/halconf_community.h @@ -81,13 +81,20 @@ #endif
/**
- * @brief Enables the TIMCAP subsystem.
+ * @brief Enables the COMP subsystem.
*/
#if !defined(HAL_USE_COMP) || defined(__DOXYGEN__)
#define HAL_USE_COMP FALSE
#endif
/**
+ * @brief Enables the OPAMP subsystem.
+ */
+#if !defined(HAL_USE_OPAMP) || defined(__DOXYGEN__)
+#define HAL_USE_OPAMP FALSE
+#endif
+
+/**
* @brief Enables the QEI subsystem.
*/
#if !defined(HAL_USE_QEI) || defined(__DOXYGEN__)
diff --git a/tools/templates/mcuconf_community.h b/tools/templates/mcuconf_community.h index 1ebe24c..b862d6e 100644 --- a/tools/templates/mcuconf_community.h +++ b/tools/templates/mcuconf_community.h @@ -87,6 +87,16 @@ #endif /* + * OPAMP driver system settings. + */ + +#define STM32_OPAMP_USE_OPAMP1 TRUE +#define STM32_OPAMP_USE_OPAMP2 TRUE +#define STM32_OPAMP_USE_OPAMP3 TRUE +#define STM32_OPAMP_USE_OPAMP4 TRUE +#define STM32_OPAMP_USER_TRIM_ENABLED TRUE + +/* * USBH driver system settings. */ #define STM32_OTG1_CHANNELS_NUMBER 8 |