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/EEProm/halconf_community.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'testhal/STM32/STM32F3xx/EEProm/halconf_community.h') diff --git a/testhal/STM32/STM32F3xx/EEProm/halconf_community.h b/testhal/STM32/STM32F3xx/EEProm/halconf_community.h index 3916efb..f310a90 100644 --- a/testhal/STM32/STM32F3xx/EEProm/halconf_community.h +++ b/testhal/STM32/STM32F3xx/EEProm/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. @@ -100,7 +100,7 @@ */ #define ONEWIRE_USE_SEARCH_ROM TRUE - /*===========================================================================*/ +/*===========================================================================*/ /* EEProm driver related settings. */ /*===========================================================================*/ @@ -115,7 +115,6 @@ */ #define EEPROM_USE_EE25XX TRUE - -#endif /* _HALCONF_COMMUNITY_H_ */ +#endif /* HALCONF_COMMUNITY_H */ /** @} */ -- cgit v1.2.3 From 00f18c55cc6e375ca8833db4b07df8ee625b3971 Mon Sep 17 00:00:00 2001 From: Nicolas Reinecke Date: Tue, 8 Nov 2016 20:39:45 +0100 Subject: whitespace --- testhal/STM32/STM32F3xx/EEProm/halconf_community.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F3xx/EEProm/halconf_community.h') diff --git a/testhal/STM32/STM32F3xx/EEProm/halconf_community.h b/testhal/STM32/STM32F3xx/EEProm/halconf_community.h index f310a90..f0814c6 100644 --- a/testhal/STM32/STM32F3xx/EEProm/halconf_community.h +++ b/testhal/STM32/STM32F3xx/EEProm/halconf_community.h @@ -109,7 +109,7 @@ * @note Disabling this option saves both code and data space. */ #define EEPROM_USE_EE24XX TRUE - /** +/** * @brief Enables 25xx series SPI eeprom device driver. * @note Disabling this option saves both code and data space. */ -- 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/EEProm/halconf_community.h | 57 +++++++++++++++++++++- 1 file changed, 55 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F3xx/EEProm/halconf_community.h') diff --git a/testhal/STM32/STM32F3xx/EEProm/halconf_community.h b/testhal/STM32/STM32F3xx/EEProm/halconf_community.h index f0814c6..75035b3 100644 --- a/testhal/STM32/STM32F3xx/EEProm/halconf_community.h +++ b/testhal/STM32/STM32F3xx/EEProm/halconf_community.h @@ -73,6 +73,41 @@ #define HAL_USE_EEPROM TRUE #endif +/** + * @brief Enables the TIMCAP subsystem. + */ +#if !defined(HAL_USE_TIMCAP) || defined(__DOXYGEN__) +#define HAL_USE_TIMCAP FALSE +#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. */ /*===========================================================================*/ @@ -100,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. */ /*===========================================================================*/ @@ -108,8 +161,8 @@ * @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. */ -- cgit v1.2.3