diff options
Diffstat (limited to 'nuttx/configs/twr-k60n512/include/board.h')
-rwxr-xr-x | nuttx/configs/twr-k60n512/include/board.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/configs/twr-k60n512/include/board.h b/nuttx/configs/twr-k60n512/include/board.h index 3cad12ac4..d41dab6d0 100755 --- a/nuttx/configs/twr-k60n512/include/board.h +++ b/nuttx/configs/twr-k60n512/include/board.h @@ -99,6 +99,25 @@ /* Button definitions ***************************************************************/ +/* Alternative pin resolution *******************************************************/ +/* If there are alternative configurations for various pins in the + * kinetis_k60pinmux.h header file, those alternative pins will be labeled with a + * suffix like _1, _2, etc. The logic in this file must select the correct pin + * configuration for the board by defining a pin configuration (with no suffix) that + * maps to the correct alternative. + */ +#warning "Revisit: This only only here to get a clean compiliation" +#define GPIO_UART0_RX GPIO_UART0_RX_1 +#define GPIO_UART0_TX GPIO_UART0_TX_1 +#define GPIO_UART1_RX GPIO_UART1_RX_1 +#define GPIO_UART1_TX GPIO_UART1_TX_1 +#define GPIO_UART3_RX GPIO_UART3_RX_1 +#define GPIO_UART3_TX GPIO_UART3_TX_1 +#define GPIO_UART4_RX GPIO_UART4_RX_1 +#define GPIO_UART4_TX GPIO_UART4_TX_1 +#define GPIO_UART5_RX GPIO_UART5_RX_1 +#define GPIO_UART5_TX GPIO_UART5_TX_1 + /************************************************************************************ * Public Data ************************************************************************************/ |