aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2017-01-13 16:43:57 +0300
committerbarthess <barthess@yandex.ru>2017-01-17 21:10:54 +0300
commit88c55f1aaa3875184f43cb345831b2c776ae7d76 (patch)
tree8248b47c18c24f2d3b9d58e6b8e8682250aeec5b /testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
parentd2aaea434a5bf7f6c289bf24483a9424d161b2a5 (diff)
downloadChibiOS-Contrib-88c55f1aaa3875184f43cb345831b2c776ae7d76.tar.gz
ChibiOS-Contrib-88c55f1aaa3875184f43cb345831b2c776ae7d76.tar.bz2
ChibiOS-Contrib-88c55f1aaa3875184f43cb345831b2c776ae7d76.zip
FSMC NAND improvements.
1) Implemented 16 bit bus width support 2) Added workaround errata in STM32
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h b/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
index dd72e66..be64b51 100644
--- a/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
+++ b/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf_community.h
@@ -29,6 +29,7 @@
#define STM32_NAND_DMA_STREAM STM32_DMA_STREAM_ID(2, 7)
#define STM32_NAND_DMA_PRIORITY 0
#define STM32_NAND_DMA_ERROR_HOOK(nandp) osalSysHalt("DMA failure")
+#define STM32_NAND_BUS_WIDTH 8
/*
* FSMC SRAM driver system settings.