aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/maple/include
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/boards/maple/include')
-rw-r--r--wirish/boards/maple/include/board/board.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/wirish/boards/maple/include/board/board.h b/wirish/boards/maple/include/board/board.h
index 49f5b9a..ed89fee 100644
--- a/wirish/boards/maple/include/board/board.h
+++ b/wirish/boards/maple/include/board/board.h
@@ -39,8 +39,15 @@
#define BOARD_BUTTON_PIN 38
#define BOARD_LED_PIN 13
-/* Number of USARTs/UARTs whose pins are broken out to headers */
+/* Number of USARTs/UARTs whose pins are broken out to headers, and
+ * macros saying which ones they are. */
#define BOARD_NR_USARTS 3
+#define BOARD_HAVE_USART1 1
+#define BOARD_HAVE_USART2 1
+#define BOARD_HAVE_USART3 1
+#define BOARD_HAVE_UART4 0
+#define BOARD_HAVE_UART5 0
+#define BOARD_HAVE_USART6 0
/* Default USART pin numbers (not considering AFIO remap) */
#define BOARD_USART1_TX_PIN 7