Updated config templates

This commit is contained in:
Fabien Poussin 2019-10-01 19:50:21 +02:00
parent 00f1763227
commit 2204395064
2 changed files with 18 additions and 1 deletions

View File

@ -81,12 +81,19 @@
#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.
*/

View File

@ -86,6 +86,16 @@
#define STM32_DISABLE_EXTI33_HANDLER
#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.
*/