aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-10-30 12:52:31 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2019-10-30 12:52:31 +0100
commit915b474b02349add9c17fa43ff0351503c3c5020 (patch)
tree04e67f6a8838bcf4f96fc930f2c0fdf9cb18f73b /testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
parent13ebce61e2f0af08d6ffa0c13397da5ad31292c4 (diff)
downloadChibiOS-Contrib-915b474b02349add9c17fa43ff0351503c3c5020.tar.gz
ChibiOS-Contrib-915b474b02349add9c17fa43ff0351503c3c5020.tar.bz2
ChibiOS-Contrib-915b474b02349add9c17fa43ff0351503c3c5020.zip
Re-organised FSMC drivers
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
index f9cfcbe..a19553b 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
+++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/halconf_community.h
@@ -27,22 +27,29 @@
/**
* @brief Enables the FSMC subsystem.
*/
-#if !defined(HAL_USE_FSMC_SDRAM) || defined(__DOXYGEN__)
-#define HAL_USE_FSMC_SDRAM FALSE
+#if !defined(HAL_USE_FSMC) || defined(__DOXYGEN__)
+#define HAL_USE_FSMC TRUE
#endif
/**
- * @brief Enables the FSMC subsystem.
+ * @brief Enables the SDRAM subsystem.
*/
-#if !defined(HAL_USE_FSMC_SRAM) || defined(__DOXYGEN__)
-#define HAL_USE_FSMC_SRAM TRUE
+#if !defined(HAL_USE_SDRAM) || defined(__DOXYGEN__)
+#define HAL_USE_SDRAM FALSE
#endif
/**
- * @brief Enables the FSMC subsystem.
+ * @brief Enables the SRAM subsystem.
+ */
+#if !defined(HAL_USE_SRAM) || defined(__DOXYGEN__)
+#define HAL_USE_SRAM TRUE
+#endif
+
+/**
+ * @brief Enables the NAND subsystem.
*/
-#if !defined(HAL_USE_FSMC_NAND) || defined(__DOXYGEN__)
-#define HAL_USE_FSMC_NAND FALSE
+#if !defined(HAL_USE_NAND) || defined(__DOXYGEN__)
+#define HAL_USE_NAND FALSE
#endif
/**