From d72d847d569096694f8b17784f3f250f3ca8f734 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 13 Apr 2012 15:04:05 +0000 Subject: [PATCH] Minor kconfig fixes git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4600 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/drivers/serial/Kconfig | 16 ++++++++++++++++ nuttx/drivers/usbdev/Kconfig | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/nuttx/drivers/serial/Kconfig b/nuttx/drivers/serial/Kconfig index cf4bd5a7b0..3d4c7d3d6e 100644 --- a/nuttx/drivers/serial/Kconfig +++ b/nuttx/drivers/serial/Kconfig @@ -31,6 +31,10 @@ config 16550_UART0_CLOCK config 16550_UART0_IRQ int "16550 UART0 IRQ number" +config 16550_UART0_BAUD + int "16550 UART0 BAUD" + default 115200 + config 16550_UART0_PARITY int "16550 UART0 parity" default 0 @@ -80,6 +84,10 @@ config 16550_UART1_CLOCK config 16550_UART1_IRQ int "16550 UART1 IRQ number" +config 16550_UART1_BAUD + int "16550 UART1 BAUD" + default 115200 + config 16550_UART1_PARITY int "16550 UART1 parity" default 0 @@ -129,6 +137,10 @@ config 16550_UART2_CLOCK config 16550_UART2_IRQ int "16550 UART2 IRQ number" +config 16550_UART2_BAUD + int "16550 UART2 BAUD" + default 115200 + config 16550_UART2_PARITY int "16550 UART2 parity" default 0 @@ -178,6 +190,10 @@ config 16550_UART3_CLOCK config 16550_UART3_IRQ int "16550 UART3 IRQ number" +config 16550_UART3_BAUD + int "16550 UART3 BAUD" + default 115200 + config 16550_UART3_PARITY int "16550 UART3 parity" default 0 diff --git a/nuttx/drivers/usbdev/Kconfig b/nuttx/drivers/usbdev/Kconfig index 7fadf8ebe9..24b13f378b 100644 --- a/nuttx/drivers/usbdev/Kconfig +++ b/nuttx/drivers/usbdev/Kconfig @@ -151,7 +151,7 @@ config PL2303_RXBUFSIZE Size of the serial receive/transmit buffers config PL2303_TXBUFSIZE - bool "Transmit buffer size" + int "Transmit buffer size" default 256 ---help--- Size of the serial receive/transmit buffers @@ -383,7 +383,7 @@ config USBMSC_STRBASE on if CONFIG_CDCACM_NOTIFSTR or CONFIG_CDCACM_DATAIFSTR are defined). config USBMSC_EP0MAXPACKET - bool "Max packet size for endpoint 0" + int "Max packet size for endpoint 0" default 64 ---help--- Max packet size for endpoint 0