diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-03 17:53:05 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-03 17:53:05 -0600 |
commit | 5d0aaebaa4a9bc03a1813425d4721c5550f46ba1 (patch) | |
tree | 77b8cfe1864f1a72ca5fb48aede91878243a5167 /nuttx/configs/sam4l-xplained/include/board.h | |
parent | 5cc921b5ae92b3b354b3e727743e5393607f624c (diff) | |
download | px4-nuttx-5d0aaebaa4a9bc03a1813425d4721c5550f46ba1.tar.gz px4-nuttx-5d0aaebaa4a9bc03a1813425d4721c5550f46ba1.tar.bz2 px4-nuttx-5d0aaebaa4a9bc03a1813425d4721c5550f46ba1.zip |
SAM4L alternate pin mapping header file; Use USART1 for virtual COM port console
Diffstat (limited to 'nuttx/configs/sam4l-xplained/include/board.h')
-rw-r--r-- | nuttx/configs/sam4l-xplained/include/board.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/configs/sam4l-xplained/include/board.h b/nuttx/configs/sam4l-xplained/include/board.h index 3c8cb82e3..cb70aff04 100644 --- a/nuttx/configs/sam4l-xplained/include/board.h +++ b/nuttx/configs/sam4l-xplained/include/board.h @@ -156,6 +156,19 @@ #define BUTTON_SW0_BIT (1 << BUTTON_SW0) +/* Alternate Function Disambiguation ************************************************/ +/* The SAM4L Xplained Pro contains an Embedded Debugger (EDBG) that can be + * used to program and debug the ATSAM4LC4C using Serial Wire Debug (SWD). + * The Embedded debugger also include a Virtual Com port interface over + * USART1. Virtual COM port connections: + * + * PC26 USART1 RXD + * PC27 USART1 TXD + */ + +#define GPIO_USART1_RXD GPIO_USART1_RXD_2 +#define GPIO_USART1_TXD GPIO_USART1_TXD_2 + /************************************************************************************ * Public Data ************************************************************************************/ |