aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-10-29 20:16:08 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-10-29 20:16:08 +0100
commit90f32c35466c9edbd59716de66903b3f537f5abb (patch)
tree8e1a1006a00d48c6196d0b053f3bf6d6781aae70 /testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
parent97b7064031ed2be5980a59cdab8174a9074febb4 (diff)
downloadChibiOS-Contrib-90f32c35466c9edbd59716de66903b3f537f5abb.tar.gz
ChibiOS-Contrib-90f32c35466c9edbd59716de66903b3f537f5abb.tar.bz2
ChibiOS-Contrib-90f32c35466c9edbd59716de66903b3f537f5abb.zip
Updating FSMC driver (SRAM part)
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
index da9c607..f9cfcbe 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
+++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
@@ -27,15 +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 FALSE
#endif
/**
- * @brief Enables the NAND subsystem.
+ * @brief Enables the FSMC subsystem.
+ */
+#if !defined(HAL_USE_FSMC_SRAM) || defined(__DOXYGEN__)
+#define HAL_USE_FSMC_SRAM TRUE
+#endif
+
+/**
+ * @brief Enables the FSMC subsystem.
*/
-#if !defined(HAL_USE_NAND) || defined(__DOXYGEN__)
-#define HAL_USE_NAND FALSE
+#if !defined(HAL_USE_FSMC_NAND) || defined(__DOXYGEN__)
+#define HAL_USE_FSMC_NAND FALSE
#endif
/**