From ac3088abef939092865b61181b81f1840569cf69 Mon Sep 17 00:00:00 2001 From: barthess Date: Sat, 6 Dec 2014 22:24:45 +0300 Subject: Testhal improvements --- testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h | 32 ++--------------------------- 1 file changed, 2 insertions(+), 30 deletions(-) (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h') diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h b/testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h index 81c8fee..b284367 100644 --- a/testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h +++ b/testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h @@ -30,13 +30,6 @@ #include "mcuconf.h" -/** - * @brief Enables the community overlay. - */ -#if !defined(HAL_USE_COMMUNITY) || defined(__DOXYGEN__) -#define HAL_USE_COMMUNITY TRUE -#endif - /** * @brief Enables the PAL subsystem. */ @@ -163,13 +156,6 @@ #define HAL_USE_USB FALSE #endif -/** - * @brief Enables the NAND subsystem. - */ -#if !defined(HAL_USE_NAND) || defined(__DOXYGEN__) -#define HAL_USE_NAND TRUE -#endif - /*===========================================================================*/ /* ADC driver related settings. */ /*===========================================================================*/ @@ -322,24 +308,10 @@ #endif /*===========================================================================*/ -/* EMCNAND driver related settings. */ +/* Community drivers's includes */ /*===========================================================================*/ -/** - * @brief Enables the @p nandAcquireBus() and @p nanReleaseBus() APIs. - * @note Disabling this option saves both code and data space. - */ -#if !defined(NAND_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__) -#define NAND_USE_MUTUAL_EXCLUSION TRUE -#endif - -/** - * @brief Enables internal driver map for bad blocks. - * @note Disabling this option saves both code and data space. - */ -#if !defined(NAND_USE_BAD_MAP) || defined(__DOXYGEN__) -#define NAND_USE_BAD_MAP TRUE -#endif +#include "halconf_community.h" #endif /* _HALCONF_H_ */ -- cgit v1.2.3