aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h b/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h
index 99bafd9..681de14 100644
--- a/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/FSMC_NAND/mcuconf.h
@@ -304,19 +304,6 @@
#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
-
-#define STM32_NAND_USE_FSMC_NAND1 TRUE
-#define STM32_NAND_USE_EXT_INT TRUE
-#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 FALSE
-#define STM32_SRAM_USE_FSMC_SRAM4 FALSE
+#include "mcuconf_community.h"