From a52e98875024ada52b9f1e912c12f0bbec231bb2 Mon Sep 17 00:00:00 2001 From: Nicolas Reinecke Date: Sat, 7 May 2016 22:47:53 +0200 Subject: update stm32 testhal / demo headers --- testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h') diff --git a/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h b/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h index 998080e..40070e6 100644 --- a/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h +++ b/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h @@ -14,8 +14,8 @@ limitations under the License. */ -#ifndef _HALCONF_COMMUNITY_H_ -#define _HALCONF_COMMUNITY_H_ +#ifndef HALCONF_COMMUNITY_H +#define HALCONF_COMMUNITY_H /** * @brief Enables the community overlay. @@ -107,7 +107,7 @@ */ #define ONEWIRE_USE_SEARCH_ROM TRUE - /*===========================================================================*/ +/*===========================================================================*/ /* EEProm driver related settings. */ /*===========================================================================*/ @@ -122,7 +122,6 @@ */ #define EEPROM_USE_EE25XX TRUE - -#endif /* _HALCONF_COMMUNITY_H_ */ +#endif /* HALCONF_COMMUNITY_H */ /** @} */ -- cgit v1.2.3 From 424c7a2717fb6b2a847cec5c0060e3236f25e97f Mon Sep 17 00:00:00 2001 From: Fabien Poussin Date: Wed, 14 Mar 2018 20:15:13 +0100 Subject: Fixed most testhal examples for STM32, updated configs using script. Fixed deprecated MS2ST calls. --- testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h | 50 +++++++++++++++++++++- 1 file changed, 48 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h') diff --git a/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h b/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h index 40070e6..dbd6deb 100644 --- a/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h +++ b/testhal/STM32/STM32F3xx/TIMCAP/halconf_community.h @@ -80,6 +80,34 @@ #define HAL_USE_TIMCAP TRUE #endif +/** + * @brief Enables the TIMCAP subsystem. + */ +#if !defined(HAL_USE_COMP) || defined(__DOXYGEN__) +#define HAL_USE_COMP FALSE +#endif + +/** + * @brief Enables the QEI subsystem. + */ +#if !defined(HAL_USE_QEI) || defined(__DOXYGEN__) +#define HAL_USE_QEI FALSE +#endif + +/** + * @brief Enables the USBH subsystem. + */ +#if !defined(HAL_USE_USBH) || defined(__DOXYGEN__) +#define HAL_USE_USBH FALSE +#endif + +/** + * @brief Enables the USB_MSD subsystem. + */ +#if !defined(HAL_USE_USB_MSD) || defined(__DOXYGEN__) +#define HAL_USE_USB_MSD FALSE +#endif + /*===========================================================================*/ /* FSMCNAND driver related settings. */ /*===========================================================================*/ @@ -107,6 +135,24 @@ */ #define ONEWIRE_USE_SEARCH_ROM TRUE +/*===========================================================================*/ +/* QEI driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables discard of overlow + */ +#if !defined(QEI_USE_OVERFLOW_DISCARD) || defined(__DOXYGEN__) +#define QEI_USE_OVERFLOW_DISCARD FALSE +#endif + +/** + * @brief Enables min max of overlow + */ +#if !defined(QEI_USE_OVERFLOW_MINMAX) || defined(__DOXYGEN__) +#define QEI_USE_OVERFLOW_MINMAX FALSE +#endif + /*===========================================================================*/ /* EEProm driver related settings. */ /*===========================================================================*/ @@ -115,12 +161,12 @@ * @brief Enables 24xx series I2C eeprom device driver. * @note Disabling this option saves both code and data space. */ -#define EEPROM_USE_EE24XX TRUE +#define EEPROM_USE_EE24XX FALSE /** * @brief Enables 25xx series SPI eeprom device driver. * @note Disabling this option saves both code and data space. */ -#define EEPROM_USE_EE25XX TRUE +#define EEPROM_USE_EE25XX FALSE #endif /* HALCONF_COMMUNITY_H */ -- cgit v1.2.3