summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-03-22 09:24:04 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-03-22 09:24:04 -0600
commit6f8ea51d0b1961b2b5034911e880a3b2da654bef (patch)
tree7d0df4b320354994e86e3af0f3a719a2040a464a /nuttx/configs
parent036c0f06a6841b90d3fbcbf8ee9bd13dc1ac0672 (diff)
downloadpx4-nuttx-6f8ea51d0b1961b2b5034911e880a3b2da654bef.tar.gz
px4-nuttx-6f8ea51d0b1961b2b5034911e880a3b2da654bef.tar.bz2
px4-nuttx-6f8ea51d0b1961b2b5034911e880a3b2da654bef.zip
Update PIC32MZ README and board.h comments
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/pic32mz-starterkit/README.txt19
-rw-r--r--nuttx/configs/pic32mz-starterkit/include/board.h18
2 files changed, 35 insertions, 2 deletions
diff --git a/nuttx/configs/pic32mz-starterkit/README.txt b/nuttx/configs/pic32mz-starterkit/README.txt
index 2d0c3dc65..eac556bfc 100644
--- a/nuttx/configs/pic32mz-starterkit/README.txt
+++ b/nuttx/configs/pic32mz-starterkit/README.txt
@@ -182,7 +182,24 @@ Serial Console
MEB-II
------
By default, the UART1 is configured for the pins used by the MEB-II
- board.
+ board. The UART1 signals are available at the MEB-II PICTail
+ connector:
+
+ --------------- --------- -------------- ------------
+ PIC32MZ PIN CONNECTOR MEB-II PIN PICTAIL PIN
+ FUNCTION J1 NAME J2
+ --------------- --------- -------------- ------------
+ RPA14/SCL1/RA14 124 SCL1/TOUCH_SCL 4
+ RPA15/SDA1/RA15 126 SDA1/TOUCH_SDA 6
+ +3.3V 1,26
+ GND 28
+ --------------- --------- -------------- ------------
+
+ This pin selection is controlled by these definitions in
+ pic32mz-starterkit/include/board.h:
+
+ #define BOARD_U1RX_PPS U1RXR_RPA14
+ #define BOARD_U1TX_PPS U1TX_RPA15R
Directly from the Adapter Board
-------------------------------
diff --git a/nuttx/configs/pic32mz-starterkit/include/board.h b/nuttx/configs/pic32mz-starterkit/include/board.h
index 3539f0e78..c2ccae56f 100644
--- a/nuttx/configs/pic32mz-starterkit/include/board.h
+++ b/nuttx/configs/pic32mz-starterkit/include/board.h
@@ -239,7 +239,23 @@
#define BUTTON_SW3_BIT (1 << BUTTON_SW3)
/* UARTS ********************************************************************/
-/* The following pin assignment is used with the MEB-II board. If you are
+/* MEB-II
+ *
+ * By default, the UART1 is configured for the pins used by the MEB-II
+ * board. The UART1 signals are available at the MEB-II PICTail
+ * connector:
+ *
+ * --------------- --------- -------------- ------------
+ * PIC32MZ PIN CONNECTOR MEB-II PIN PICTAIL PIN
+ * FUNCTION J1 NAME J2
+ * --------------- --------- -------------- ------------
+ * RPA14/SCL1/RA14 124 SCL1/TOUCH_SCL 4
+ * RPA15/SDA1/RA15 126 SDA1/TOUCH_SDA 6
+ * +3.3V 1,26
+ * GND 28
+ * --------------- --------- -------------- ------------
+ *
+ * The following pin assignment is used with the MEB-II board. If you are
* using signals from PIC32MZEC Adaptor Board (as described in the the README
* file), then UART1 signals are available at these locations on the adaptor
* board: