summaryrefslogtreecommitdiff
path: root/nuttx/arch/hc
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-06 09:17:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-06 09:17:11 -0600
commit97979ae5b3d3dbef49597919392b860ac96578b0 (patch)
treec5b722062f0ceb161ba32d2d7077603aab6c9f08 /nuttx/arch/hc
parenta04430f5dfc0f3f7f29664c2a77b12c3673527ed (diff)
downloadnuttx-97979ae5b3d3dbef49597919392b860ac96578b0.tar.gz
nuttx-97979ae5b3d3dbef49597919392b860ac96578b0.tar.bz2
nuttx-97979ae5b3d3dbef49597919392b860ac96578b0.zip
configs/us7032evb1/ostest: Configuration converted to use the kconfig-frontends tools
Diffstat (limited to 'nuttx/arch/hc')
-rw-r--r--nuttx/arch/hc/src/m9s12/Kconfig108
1 files changed, 2 insertions, 106 deletions
diff --git a/nuttx/arch/hc/src/m9s12/Kconfig b/nuttx/arch/hc/src/m9s12/Kconfig
index a2968c85f..c0fce2f9b 100644
--- a/nuttx/arch/hc/src/m9s12/Kconfig
+++ b/nuttx/arch/hc/src/m9s12/Kconfig
@@ -11,119 +11,15 @@ menu "M9S12 Peripheral Selection"
config HCS12_SCI0
bool "SCI0"
default n
+ select ARCH_HAVE_SCI0
config HCS12_SCI1
bool "SCI1"
default n
+ select ARCH_HAVE_SCI1
endmenu # M9S12 Peripheral Selection
-menu "SCI Configuration"
- depends on HCS12_SCI0 || HCS12_SCI1
-
-if HCS12_SCI0
-
-config SCI0_RXBUFSIZE
- int "SCI0 receive buffer size"
- default 256
- ---help---
- Characters are buffered as they are received. This specifies
- the size of the receive buffer.
-
-config SCI0_TXBUFSIZE
- int "SCI0 transmit buffer size"
- default 256
- ---help---
- Characters are buffered before being sent. This specifies
- the size of the transmit buffer.
-
-config SCI0_BAUD
- int "SCI0 BAUD rate"
- default 115200
- ---help---
- The configured BAUD of the SCI.
-
-config SCI0_BITS
- int "SCI0 character size"
- default 8
- ---help---
- The number of bits. Must be either 7 or 8.
-
-config SCI0_PARITY
- int "Parity setting"
- default 0
- ---help---
- 0=no parity, 1=odd parity, 2=even parity
-
-config SCI0_2STOP
- int "SCI0 use 2 stop bits"
- default 0
- ---help---
- 1=Two stop bits
-
-endif # HCS12_SCI0
-
-if HCS12_SCI1
-
-config SCI1_RXBUFSIZE
- int "SCI1 receive buffer size"
- default 256
- ---help---
- Characters are buffered as they are received. This specifies
- the size of the receive buffer.
-
-config SCI1_TXBUFSIZE
- int "SCI1 transmit buffer size"
- default 256
- ---help---
- Characters are buffered before being sent. This specifies
- the size of the transmit buffer.
-
-config SCI1_BAUD
- int "SCI1 BAUD rate"
- default 115200
- ---help---
- The configured BAUD of the SCI.
-
-config SCI1_BITS
- int "SCI1 character size"
- default 8
- ---help---
- The number of bits. Must be either 7 or 8.
-
-config SCI1_PARITY
- int "Parity setting"
- default 0
- ---help---
- 0=no parity, 1=odd parity, 2=even parity
-
-config SCI1_2STOP
- int "SCI1 use 2 stop bits"
- default 0
- ---help---
- 1=Two stop bits
-
-endif # HCS12_SCI1
-
-choice
- prompt "SCI Serial Console"
- default SCI0_SERIAL_CONSOLE if HCS12_SCI0
- default SCI1_SERIAL_CONSOLE if !HCS12_SCI0
-
-config NOSCI_SERIAL_CONSOLE
- bool "No SCI serial console"
-
-config SCI0_SERIAL_CONSOLE
- bool "SCI0 serial console"
- depends on HCS12_SCI0
-
-config SCI1_SERIAL_CONSOLE
- bool "SCI1 serial console"
- depends on HCS12_SCI1
-
-endchoice
-endmenu # SCI Configuration
-
menu "HSC12 Build Options"
config HCS12_SERIALMON