aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-10-29 19:38:09 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-10-29 19:38:09 +0100
commit97b7064031ed2be5980a59cdab8174a9074febb4 (patch)
tree5fe089a3cf0fb266b87b64d77f1d8fb7c83fb8bd /testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h
parent63bc192217dace785a3606fb8a762e723ec3aa4c (diff)
downloadChibiOS-Contrib-97b7064031ed2be5980a59cdab8174a9074febb4.tar.gz
ChibiOS-Contrib-97b7064031ed2be5980a59cdab8174a9074febb4.tar.bz2
ChibiOS-Contrib-97b7064031ed2be5980a59cdab8174a9074febb4.zip
Updating FSMC driver (SDRAM part first)
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h
index da9c607..d1d3ada 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h
+++ b/testhal/STM32/STM32F4xx/FSMC_SDRAM/halconf_community.h
@@ -27,8 +27,22 @@
/**
* @brief Enables the FSMC subsystem.
*/
-#if !defined(HAL_USE_FSMC) || defined(__DOXYGEN__)
-#define HAL_USE_FSMC TRUE
+#if !defined(HAL_USE_FSMC_SDRAM) || defined(__DOXYGEN__)
+#define HAL_USE_FSMC_SDRAM TRUE
+#endif
+
+/**
+ * @brief Enables the FSMC subsystem.
+ */
+#if !defined(HAL_USE_FSMC_SRAM) || defined(__DOXYGEN__)
+#define HAL_USE_FSMC_SRAM FALSE
+#endif
+
+/**
+ * @brief Enables the FSMC subsystem.
+ */
+#if !defined(HAL_USE_FSMC_NAND) || defined(__DOXYGEN__)
+#define HAL_USE_FSMC_NAND FALSE
#endif
/**