aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-20 16:58:39 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-20 16:58:39 +0000
commit3dd3e950cbb7e7050b3d1743ef651513a6c61bcf (patch)
tree1f721949aec6fcb3c70430b5990daadf4f26751d /nuttx/configs
parentbfeaf56050b65d0a6887049ab42cfd20c04c6ca2 (diff)
downloadpx4-firmware-3dd3e950cbb7e7050b3d1743ef651513a6c61bcf.tar.gz
px4-firmware-3dd3e950cbb7e7050b3d1743ef651513a6c61bcf.tar.bz2
px4-firmware-3dd3e950cbb7e7050b3d1743ef651513a6c61bcf.zip
Add infrastructure to support RS-485 on the LPC43xx (logic still incomplete)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4958 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/lpc4330-xplorer/README.txt6
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/defconfig7
-rw-r--r--nuttx/configs/lpc4330-xplorer/ostest/defconfig7
3 files changed, 19 insertions, 1 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/README.txt b/nuttx/configs/lpc4330-xplorer/README.txt
index 5a58d3769..3e89b478f 100644
--- a/nuttx/configs/lpc4330-xplorer/README.txt
+++ b/nuttx/configs/lpc4330-xplorer/README.txt
@@ -716,7 +716,7 @@ LPC4330-Xplorer Configuration Options
CONFIG_LPC43_USB1_ULPI=y
CONFIG_LPC43_WWDT=y
- LPC43xx specific device driver settings
+ LPC43xx specific U[S]ART device driver settings
CONFIG_U[S]ARTn_SERIAL_CONSOLE - selects the UARTn for the
console and ttys0 (default is the USART0).
@@ -729,6 +729,10 @@ LPC4330-Xplorer Configuration Options
CONFIG_U[S]ARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity
CONFIG_U[S]ARTn_2STOP - Two stop bits
+ CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
+ ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
+ RS-485 mode.
+
LPC43xx specific CAN device driver settings. These settings all
require CONFIG_CAN:
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
index deb3ff19e..8f6660ede 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
@@ -228,6 +228,13 @@ CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
+# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
+# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
+# RS-485 mode.
+#
+CONFIG_USART_RS485MODE=n
+
+#
# LPC43xx specific PHY/Ethernet device driver settings
#
# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
index c20897b76..202192635 100644
--- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
@@ -228,6 +228,13 @@ CONFIG_USART2_2STOP=0
CONFIG_USART3_2STOP=0
#
+# CONFIG_USART_RS485MODE - Support LPC43xx USART0,2,3 RS485 mode
+# ioctls (TIOCSRS485 and TIOCGRS485) to enable and disable
+# RS-485 mode.
+#
+CONFIG_USART_RS485MODE=n
+
+#
# LPC43xx specific PHY/Ethernet device driver settings
#
# CONFIG_PHY_KS8721 - Selects Micrel KS8721 PHY