diff options
author | Diego Ismirlian <dismirlian@gmail.com> | 2019-10-02 15:31:37 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian@gmail.com> | 2019-10-02 15:31:37 -0300 |
commit | d77e8fbd524e6c3ff67769623276419f7a8d14ba (patch) | |
tree | fd6ff77aae129045d1b1f9a5c90795fa53b7bc55 /tools/templates | |
parent | ce48812834ed2835adc80da7fa6dc463d310774e (diff) | |
parent | 2cd41f99df0fc857afaef091ca3b984a728d0e3c (diff) | |
download | ChibiOS-Contrib-d77e8fbd524e6c3ff67769623276419f7a8d14ba.tar.gz ChibiOS-Contrib-d77e8fbd524e6c3ff67769623276419f7a8d14ba.tar.bz2 ChibiOS-Contrib-d77e8fbd524e6c3ff67769623276419f7a8d14ba.zip |
Merge branch 'master' into segger_systemview
Diffstat (limited to 'tools/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 |