aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-11-04 10:49:50 +0100
committerGitHub <noreply@github.com>2019-11-04 10:49:50 +0100
commitd1aad8853600f3ce2cfbffeaea8e50150e2b6dd8 (patch)
tree703501bbb1acd3937a1dbba4c68cf98c5d8ac5d2 /testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
parent462e4e00f64027b7f38b33ad2b0737c453cf0fc1 (diff)
parentc65efdcfa1d281a8f0a29bb864e86dd0c892c156 (diff)
downloadChibiOS-Contrib-d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8.tar.gz
ChibiOS-Contrib-d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8.tar.bz2
ChibiOS-Contrib-d1aad8853600f3ce2cfbffeaea8e50150e2b6dd8.zip
Merge pull request #205 from ChibiOS/fsmc
FSMC drivers update
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h b/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
index 108d84c..0a5db9b 100644
--- a/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
+++ b/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
@@ -24,8 +24,8 @@
/*
* FSMC NAND driver system settings.
*/
-#define STM32_NAND_USE_FSMC_NAND1 TRUE
-#define STM32_NAND_USE_FSMC_NAND2 FALSE
+#define STM32_NAND_USE_NAND1 TRUE
+#define STM32_NAND_USE_NAND2 FALSE
#define STM32_NAND_USE_EXT_INT FALSE
#define STM32_NAND_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
#define STM32_NAND_DMA_PRIORITY 0
@@ -34,19 +34,16 @@
/*
* FSMC SRAM driver system settings.
*/
-#define STM32_USE_FSMC_SRAM FALSE
-#define STM32_SRAM_USE_FSMC_SRAM1 FALSE
-#define STM32_SRAM_USE_FSMC_SRAM2 FALSE
-#define STM32_SRAM_USE_FSMC_SRAM3 FALSE
-#define STM32_SRAM_USE_FSMC_SRAM4 FALSE
+#define STM32_SRAM_USE_SRAM1 FALSE
+#define STM32_SRAM_USE_SRAM2 FALSE
+#define STM32_SRAM_USE_SRAM3 FALSE
+#define STM32_SRAM_USE_SRAM4 FALSE
/*
* FSMC SDRAM driver system settings.
*/
-#define STM32_USE_FSMC_SDRAM FALSE
-#define STM32_SDRAM_USE_FSMC_SDRAM1 FALSE
-#define STM32_SDRAM_USE_FSMC_SDRAM2 TRUE
-
+#define STM32_SDRAM_USE_SDRAM1 FALSE
+#define STM32_SDRAM_USE_SDRAM2 FALSE
/*
* TIMCAP driver system settings.
*/