summaryrefslogtreecommitdiff
path: root/nuttx/configs/twr-k60n512
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-13 23:48:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-13 23:48:15 +0000
commitfcd51cbc81e18535d3b4221ae6e4cb18bf3623e9 (patch)
tree05c92c788c11b20893e79e97e6ee83330fe7feda /nuttx/configs/twr-k60n512
parentafd96ea0af98714eba7b76edb58be5f27cf20b44 (diff)
downloadpx4-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/twr-k60n512')
-rwxr-xr-xnuttx/configs/twr-k60n512/include/board.h19
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
************************************************************************************/