From d10aa9e7a136e41377f40a774fdf3bffb59b358b Mon Sep 17 00:00:00 2001 From: marcoveeneman Date: Sun, 30 Oct 2016 14:33:58 +0100 Subject: Defined lines in board files. --- os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h') diff --git a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h index 9012f7c..982fb1b 100644 --- a/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h +++ b/os/hal/boards/TI_TM4C1294_LAUNCHPAD/board.h @@ -183,6 +183,20 @@ #define GPIOQ_PIN6 6 #define GPIOQ_PIN7 7 +/* + * IO lines assignments. + */ +#define LINE_UART0_RX PAL_LINE(GPIOA, 0U) +#define LINE_UART0_TX PAL_LINE(GPIOA, 1U) + +#define LINE_LED0 PAL_LINE(GPIOF, 0U) +#define LINE_LED1 PAL_LINE(GPIOF, 4U) + +#define LINE_LED2 PAL_LINE(GPION, 0U) +#define LINE_LED3 PAL_LINE(GPION, 1U) + +#define LINE_SW1 PAL_LINE(GPIOJ, 0U) + /* * I/O ports initial setup, this configuration is established soon after reset * in the initialization code. -- cgit v1.2.3