diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-13 23:48:15 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-13 23:48:15 +0000 |
commit | fcd51cbc81e18535d3b4221ae6e4cb18bf3623e9 (patch) | |
tree | 05c92c788c11b20893e79e97e6ee83330fe7feda /nuttx/configs/kwikstik-k40/include/board.h | |
parent | afd96ea0af98714eba7b76edb58be5f27cf20b44 (diff) | |
download | px4-nuttx-fcd51cbc81e18535d3b4221ae6e4cb18bf3623e9.tar.gz px4-nuttx-fcd51cbc81e18535d3b4221ae6e4cb18bf3623e9.tar.bz2 px4-nuttx-fcd51cbc81e18535d3b4221ae6e4cb18bf3623e9.zip |
Add chip-specific pin multiplexing definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3877 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/kwikstik-k40/include/board.h')
-rwxr-xr-x | nuttx/configs/kwikstik-k40/include/board.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/nuttx/configs/kwikstik-k40/include/board.h b/nuttx/configs/kwikstik-k40/include/board.h index 85f2afeb5..ee5083454 100755 --- a/nuttx/configs/kwikstik-k40/include/board.h +++ b/nuttx/configs/kwikstik-k40/include/board.h @@ -98,6 +98,23 @@ /* Button definitions ***************************************************************/ +/* Alternative pin resolution *******************************************************/ +/* If there are alternative configurations for various pins in the + * kinetis_k40pinmux.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 + /************************************************************************************ * Public Data ************************************************************************************/ |