aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/maple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-01 17:26:03 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-01 17:26:03 -0400
commit66876d1883055bccae9ae5e73fb3c5d29cb2b453 (patch)
tree555275f97ed04efdf2524a8c2d27d08a9f9ad394 /wirish/boards/maple
parentd4d924ccda26083f4495661ee1fd1b6e549626d7 (diff)
downloadlibrambutan-66876d1883055bccae9ae5e73fb3c5d29cb2b453.tar.gz
librambutan-66876d1883055bccae9ae5e73fb3c5d29cb2b453.zip
Preprocessor-fu to derive BOARD_HAVE_USARTn from <board/board.h>.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/boards/maple')
-rw-r--r--wirish/boards/maple/include/board/board.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/wirish/boards/maple/include/board/board.h b/wirish/boards/maple/include/board/board.h
index ed89fee..9319989 100644
--- a/wirish/boards/maple/include/board/board.h
+++ b/wirish/boards/maple/include/board/board.h
@@ -39,15 +39,8 @@
#define BOARD_BUTTON_PIN 38
#define BOARD_LED_PIN 13
-/* Number of USARTs/UARTs whose pins are broken out to headers, and
- * macros saying which ones they are. */
+/* Number of USARTs/UARTs whose pins are broken out to headers. */
#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