aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED
diff options
context:
space:
mode:
authoredolomb <none@example.com>2017-09-04 15:02:48 +0000
committeredolomb <none@example.com>2017-09-04 15:02:48 +0000
commitb6342056a60d37c89724ab5b310ff85e4a16b9c3 (patch)
tree5011ef8afa0ec6f75d2029aa6c30247bd49d4989 /demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED
parent9b47fb1efe04822ecbf631fd3b90900770d79597 (diff)
downloadChibiOS-b6342056a60d37c89724ab5b310ff85e4a16b9c3.tar.gz
ChibiOS-b6342056a60d37c89724ab5b310ff85e4a16b9c3.tar.bz2
ChibiOS-b6342056a60d37c89724ab5b310ff85e4a16b9c3.zip
Added UART driver system settings
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10557 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED')
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h
index 138dbfebd..d22565cb2 100644
--- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED/mcuconf.h
@@ -39,8 +39,23 @@
*/
#define SAMA_SPI_USE_SPI0 FALSE
#define SAMA_SPI_USE_SPI1 FALSE
-#define SAMA_SPI_SPI0_IRQ_PRIORITY 10
-#define SAMA_SPI_SPI1_IRQ_PRIORITY 10
+#define SAMA_SPI_SPI0_IRQ_PRIORITY 7
+#define SAMA_SPI_SPI1_IRQ_PRIORITY 7
#define SAMA_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
+/*
+ * SERIAL driver system settings.
+ */
+#define SAMA_SERIAL_USE_UART0 FALSE
+#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_UART5 FALSE
+#define SAMA_SERIAL_UART0_PRIORITY 4
+#define SAMA_SERIAL_UART1_PRIORITY 4
+#define SAMA_SERIAL_UART2_PRIORITY 4
+#define SAMA_SERIAL_UART3_PRIORITY 4
+#define SAMA_SERIAL_UART4_PRIORITY 4
+
#endif /* MCUCONF_H */