aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2014-12-06 22:24:45 +0300
committerbarthess <barthess@yandex.ru>2014-12-06 22:24:45 +0300
commitac3088abef939092865b61181b81f1840569cf69 (patch)
treebb8071b86944930dd177111a1ba551d97b23f1d9 /testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h
parent96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04 (diff)
downloadChibiOS-Contrib-ac3088abef939092865b61181b81f1840569cf69.tar.gz
ChibiOS-Contrib-ac3088abef939092865b61181b81f1840569cf69.tar.bz2
ChibiOS-Contrib-ac3088abef939092865b61181b81f1840569cf69.zip
Testhal improvements
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h b/testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h
index e9ac951..2368e1f 100644
--- a/testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/FSMC_SRAM/mcuconf.h
@@ -304,23 +304,7 @@
#define STM32_USB_OTGFIFO_FILL_BASEPRI 0
/*
- * FSMC driver system settings.
+ * header for community drivers.
*/
-#define STM32_FSMC_USE_FSMC1 TRUE
-#define STM32_FSMC_FSMC1_IRQ_PRIORITY 10
-
-/*
- * FSMC NAND driver system settings.
- */
-#define STM32_NAND_USE_FSMC_NAND1 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
-#define STM32_NAND_DMA_ERROR_HOOK(nandp) osalSysHalt("DMA failure")
-
-/*
- * FSMC SRAM driver system settings.
- */
-#define STM32_USE_FSMC_SRAM TRUE
-#define STM32_SRAM_USE_FSMC_SRAM4 TRUE
+#include "mcuconf_community.h"