aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/ATSAMA5D2/SPI/mcuconf.h
diff options
context:
space:
mode:
authoredolomb <none@example.com>2018-01-17 13:16:06 +0000
committeredolomb <none@example.com>2018-01-17 13:16:06 +0000
commitdf330879bb5c5630e847e2e9eec471080b0d18a4 (patch)
tree317d101e8b2f9de4d537c753838798392457bf8b /testhal/ATSAMA5D2/SPI/mcuconf.h
parent9b222d8552c5a3a5272fd22e9bdaabfa5ece5678 (diff)
downloadChibiOS-df330879bb5c5630e847e2e9eec471080b0d18a4.tar.gz
ChibiOS-df330879bb5c5630e847e2e9eec471080b0d18a4.tar.bz2
ChibiOS-df330879bb5c5630e847e2e9eec471080b0d18a4.zip
Updated demo SPI
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11299 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/ATSAMA5D2/SPI/mcuconf.h')
-rw-r--r--testhal/ATSAMA5D2/SPI/mcuconf.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/testhal/ATSAMA5D2/SPI/mcuconf.h b/testhal/ATSAMA5D2/SPI/mcuconf.h
index b59e031d7..80c78dbfd 100644
--- a/testhal/ATSAMA5D2/SPI/mcuconf.h
+++ b/testhal/ATSAMA5D2/SPI/mcuconf.h
@@ -53,16 +53,26 @@
#define SAMA_SPI_FLEXCOM3_DMA_IRQ_PRIORITY 4
#define SAMA_SPI_FLEXCOM4_DMA_IRQ_PRIORITY 4
#define SAMA_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
+#define SPI_SELECT_MODE SPI_SELECT_MODE_NONE
+
+/*
+ * SECUMOD driver system settings.
+ */
+#define HAL_USE_SECUMOD FALSE
+
+/*
+ * SDMMC driver system settings.
+ */
+#define HAL_USE_SDMMC FALSE
/*
* SERIAL driver system settings.
*/
-#define SAMA_SERIAL_USE_UART0 TRUE
-#define SAMA_SERIAL_USE_UART1 FALSE
+#define SAMA_SERIAL_USE_UART0 FALSE
+#define SAMA_SERIAL_USE_UART1 TRUE
#define SAMA_SERIAL_USE_UART2 FALSE
#define SAMA_SERIAL_USE_UART3 FALSE
#define SAMA_SERIAL_USE_UART4 FALSE
-#define SAMA_SERIAL_USE_UART5 FALSE
#define SAMA_SERIAL_USE_FLEXCOM0 FALSE
#define SAMA_SERIAL_USE_FLEXCOM1 FALSE
#define SAMA_SERIAL_USE_FLEXCOM2 FALSE
@@ -80,6 +90,13 @@
#define SAMA_SERIAL_FLEXCOM4_IRQ_PRIORITY 4
/*
+ * ST driver settings.
+ */
+#define SAMA_ST_USE_PIT TRUE
+#define SAMA_ST_USE_TC0 FALSE
+#define SAMA_ST_USE_TC1 FALSE
+
+/*
* TC driver system settings.
*/
#define HAL_USE_TC FALSE
@@ -123,6 +140,4 @@
#define SAMA_UART_FLEXCOM4_DMA_IRQ_PRIORITY 4
#define SAMA_UART_DMA_ERROR_HOOK(uartp) osalSysHalt("DMA failure")
-#define SPI_SELECT_MODE SPI_SELECT_MODE_NONE
-
#endif /* MCUCONF_H */