From a6bb21d05b4dd7299de9a632cf55bda7c058164e Mon Sep 17 00:00:00 2001 From: Konstantin Oblaukhov Date: Sun, 7 Oct 2018 18:37:15 +0700 Subject: KINETIS tests and demos updated to ChibiOS 18.2.x. --- .../KINETIS/FRDM-KL25Z/USB_HID/halconf_community.h | 50 +++++++++++++++++++--- 1 file changed, 44 insertions(+), 6 deletions(-) (limited to 'testhal/KINETIS/FRDM-KL25Z/USB_HID/halconf_community.h') diff --git a/testhal/KINETIS/FRDM-KL25Z/USB_HID/halconf_community.h b/testhal/KINETIS/FRDM-KL25Z/USB_HID/halconf_community.h index b2f75af..fb7ebf6 100644 --- a/testhal/KINETIS/FRDM-KL25Z/USB_HID/halconf_community.h +++ b/testhal/KINETIS/FRDM-KL25Z/USB_HID/halconf_community.h @@ -80,15 +80,36 @@ #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 +#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 /** - * @brief Enables the USB HID subsystem. + * @brief Enables the USB_HID subsystem. */ #if !defined(HAL_USE_USB_HID) || defined(__DOXYGEN__) #define HAL_USE_USB_HID TRUE @@ -121,7 +142,25 @@ */ #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. */ /*===========================================================================*/ @@ -129,13 +168,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