aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2014-12-06 22:24:45 +0300
committerbarthess <barthess@yandex.ru>2014-12-06 22:24:45 +0300
commitac3088abef939092865b61181b81f1840569cf69 (patch)
treebb8071b86944930dd177111a1ba551d97b23f1d9 /testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h
parent96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04 (diff)
downloadChibiOS-Contrib-ac3088abef939092865b61181b81f1840569cf69.tar.gz
ChibiOS-Contrib-ac3088abef939092865b61181b81f1840569cf69.tar.bz2
ChibiOS-Contrib-ac3088abef939092865b61181b81f1840569cf69.zip
Testhal improvements
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/halconf.h32
1 files changed, 2 insertions, 30 deletions
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
@@ -31,13 +31,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.
*/
#if !defined(HAL_USE_PAL) || defined(__DOXYGEN__)
@@ -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_ */