aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/ATSAMA5D2/SERIAL/mcuconf.h
diff options
context:
space:
mode:
authoredolomb <none@example.com>2018-02-12 16:20:40 +0000
committeredolomb <none@example.com>2018-02-12 16:20:40 +0000
commit2b9c2a3ad54fbc613896609c3c412490b2ef54ed (patch)
treeb5b5008e1465e504871e91761e3d0f8e1890a9cb /testhal/ATSAMA5D2/SERIAL/mcuconf.h
parent0b5d6d6f77d0869cfdf4c793bc3e831557902067 (diff)
downloadChibiOS-2b9c2a3ad54fbc613896609c3c412490b2ef54ed.tar.gz
ChibiOS-2b9c2a3ad54fbc613896609c3c412490b2ef54ed.tar.bz2
ChibiOS-2b9c2a3ad54fbc613896609c3c412490b2ef54ed.zip
SAMA5D2-SERIAL now runs in DDR using FLEXCOM0 as serial
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11487 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/ATSAMA5D2/SERIAL/mcuconf.h')
-rw-r--r--testhal/ATSAMA5D2/SERIAL/mcuconf.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/testhal/ATSAMA5D2/SERIAL/mcuconf.h b/testhal/ATSAMA5D2/SERIAL/mcuconf.h
index f084e22cd..4024280c4 100644
--- a/testhal/ATSAMA5D2/SERIAL/mcuconf.h
+++ b/testhal/ATSAMA5D2/SERIAL/mcuconf.h
@@ -23,7 +23,7 @@
* HAL driver system settings.
*/
#define SAMA_HAL_IS_SECURE TRUE
-#define SAMA_NO_INIT FALSE
+#define SAMA_NO_INIT TRUE
#define SAMA_MOSCRC_ENABLED FALSE
#define SAMA_MOSCXT_ENABLED TRUE
#define SAMA_MOSC_SEL SAMA_MOSC_MOSCXT
@@ -36,24 +36,9 @@
#define SAMA_H64MX_H32MX_RATIO 2
/*
- * SPI driver system settings.
+ * SDMMC driver system settings.
*/
-#define SAMA_SPI_USE_SPI0 FALSE
-#define SAMA_SPI_USE_SPI1 FALSE
-#define SAMA_SPI_USE_FLEXCOM0 FALSE
-#define SAMA_SPI_USE_FLEXCOM1 FALSE
-#define SAMA_SPI_USE_FLEXCOM2 FALSE
-#define SAMA_SPI_USE_FLEXCOM3 FALSE
-#define SAMA_SPI_USE_FLEXCOM4 FALSE
-#define SAMA_SPI_SPI0_DMA_IRQ_PRIORITY 4
-#define SAMA_SPI_SPI1_DMA_IRQ_PRIORITY 4
-#define SAMA_SPI_FLEXCOM0_DMA_IRQ_PRIORITY 4
-#define SAMA_SPI_FLEXCOM1_DMA_IRQ_PRIORITY 4
-#define SAMA_SPI_FLEXCOM2_DMA_IRQ_PRIORITY 4
-#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
+#define HAL_USE_SDMMC FALSE
/*
* SECUMOD driver system settings.
@@ -61,19 +46,14 @@
#define HAL_USE_SECUMOD FALSE
/*
- * SDMMC driver system settings.
- */
-#define HAL_USE_SDMMC FALSE
-
-/*
* SERIAL driver system settings.
*/
#define SAMA_SERIAL_USE_UART0 FALSE
-#define SAMA_SERIAL_USE_UART1 TRUE
+#define SAMA_SERIAL_USE_UART1 FALSE
#define SAMA_SERIAL_USE_UART2 FALSE
#define SAMA_SERIAL_USE_UART3 FALSE
#define SAMA_SERIAL_USE_UART4 FALSE
-#define SAMA_SERIAL_USE_FLEXCOM0 FALSE
+#define SAMA_SERIAL_USE_FLEXCOM0 TRUE
#define SAMA_SERIAL_USE_FLEXCOM1 FALSE
#define SAMA_SERIAL_USE_FLEXCOM2 FALSE
#define SAMA_SERIAL_USE_FLEXCOM3 FALSE
@@ -90,11 +70,31 @@
#define SAMA_SERIAL_FLEXCOM4_IRQ_PRIORITY 4
/*
+ * SPI driver system settings.
+ */
+#define SAMA_SPI_USE_SPI0 FALSE
+#define SAMA_SPI_USE_SPI1 FALSE
+#define SAMA_SPI_USE_FLEXCOM0 FALSE
+#define SAMA_SPI_USE_FLEXCOM1 FALSE
+#define SAMA_SPI_USE_FLEXCOM2 FALSE
+#define SAMA_SPI_USE_FLEXCOM3 FALSE
+#define SAMA_SPI_USE_FLEXCOM4 FALSE
+#define SAMA_SPI_SPI0_DMA_IRQ_PRIORITY 4
+#define SAMA_SPI_SPI1_DMA_IRQ_PRIORITY 4
+#define SAMA_SPI_FLEXCOM0_DMA_IRQ_PRIORITY 4
+#define SAMA_SPI_FLEXCOM1_DMA_IRQ_PRIORITY 4
+#define SAMA_SPI_FLEXCOM2_DMA_IRQ_PRIORITY 4
+#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
+
+/*
* ST driver settings.
*/
-#define SAMA_ST_USE_PIT TRUE
+#define SAMA_ST_USE_PIT FALSE
#define SAMA_ST_USE_TC0 FALSE
-#define SAMA_ST_USE_TC1 FALSE
+#define SAMA_ST_USE_TC1 TRUE
/*
* TC driver system settings.