summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-05 10:38:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-05 10:38:02 -0600
commitd5eec3f68f485eebeacbb0c7b1e982dc8b810c8e (patch)
tree7ce35cb6a2a239e2d9ef08d866ea5a9326f44808 /nuttx/arch/arm
parent460e68e984bb7f0f14e5e750fdb6d112da862a5a (diff)
downloadpx4-nuttx-d5eec3f68f485eebeacbb0c7b1e982dc8b810c8e.tar.gz
px4-nuttx-d5eec3f68f485eebeacbb0c7b1e982dc8b810c8e.tar.bz2
px4-nuttx-d5eec3f68f485eebeacbb0c7b1e982dc8b810c8e.zip
Convert configs/pirelli_dpl10/nsh_highram to use the kconfig-frontends tools
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r--nuttx/arch/arm/src/calypso/Kconfig106
1 files changed, 106 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/calypso/Kconfig b/nuttx/arch/arm/src/calypso/Kconfig
index 65726a609..0beb5cc56 100644
--- a/nuttx/arch/arm/src/calypso/Kconfig
+++ b/nuttx/arch/arm/src/calypso/Kconfig
@@ -4,3 +4,109 @@
#
comment "Calypso Configuration Options"
+
+menu "Modem UART Configuration"
+
+config UART_MODEM_BAUD
+ int "Modem UART BAUD"
+ default 115200
+
+config UART_MODEM_PARITY
+ int "Modem UART parity"
+ default 0
+ ---help---
+ Modem UART parity. 0=None, 1=Odd, 2=Even. Default: None
+
+config UART_MODEM_BITS
+ int "Modem UART number of bits"
+ default 8
+ ---help---
+ Modem UART number of bits. Default: 8
+
+config UART_MODEM_2STOP
+ int "Modem UART two stop bits"
+ default 0
+ ---help---
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
+
+config UART_MODEM_RXBUFSIZE
+ int "Modem UART Rx buffer size"
+ default 256
+ ---help---
+ Modem UART Rx buffer size. Default: 256
+
+config UART_MODEM_TXBUFSIZE
+ int "Modem UART Tx buffer size"
+ default 256
+ ---help---
+ Modem UART Tx buffer size. Default: 256
+
+config UART_MODEM_HWFLOWCONTROL
+ bool "Hardware flow control"
+ default n
+ ---help---
+ Enabled Modem UART hardware flow control. Default: n
+
+endmenu
+
+menu "IrDA UART Configuration"
+
+config UART_IRDA_BAUD
+ int "IrDA UART BAUD"
+ default 115200
+
+config UART_IRDA_PARITY
+ int "IrDA UART parity"
+ default 0
+ ---help---
+ IrDA UART parity. 0=None, 1=Odd, 2=Even. Default: None
+
+config UART_IRDA_BITS
+ int "IrDA UART number of bits"
+ default 8
+ ---help---
+ IrDA UART number of bits. Default: 8
+
+config UART_IRDA_2STOP
+ int "IrDA UART two stop bits"
+ default 0
+ ---help---
+ 0=1 stop bit, 1=Two stop bits. Default: 1 stop bit
+
+config UART_IRDA_RXBUFSIZE
+ int "IrDA UART Rx buffer size"
+ default 256
+ ---help---
+ IrDA UART Rx buffer size. Default: 256
+
+config UART_IRDA_TXBUFSIZE
+ int "IrDA UART Tx buffer size"
+ default 256
+ ---help---
+ IrDA UART Tx buffer size. Default: 256
+
+config UART_IRDA_HWFLOWCONTROL
+ bool "Hardware flow control"
+ default n
+ ---help---
+ Enabled IrDA UART hardware flow control. Default: n
+
+endmenu
+
+choice
+ prompt "Serial Console Selection"
+ default SERIAL_CONSOLE_NONE
+
+config SERCOMM_CONSOLE
+ bool "SERCOMM console"
+
+config SERIAL_MODEM_CONSOLE
+ bool "Serial console on modem UART"
+
+config SERIAL_IRDA_CONSOLE
+ bool "Serial console on IrDA UART"
+
+config SERIAL_CONSOLE_NONE
+ bool "No serial console"
+
+endchoice