From 0830ef18dd289525a3d572978c5e3db82e1e87b7 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: svn://svn.code.sf.net/p/nuttx/code/trunk@4600 42af7a65-404d-4744-a932-0658087f49c3 --- drivers/serial/Kconfig | 16 ++++++++++++++++ drivers/usbdev/Kconfig | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index cf4bd5a7b0..3d4c7d3d6e 100644 --- a/drivers/serial/Kconfig +++ b/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/drivers/usbdev/Kconfig b/drivers/usbdev/Kconfig index 7fadf8ebe9..24b13f378b 100644 --- a/drivers/usbdev/Kconfig +++ b/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