summaryrefslogtreecommitdiff
path: root/nuttx/configs/p112
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-14 19:15:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-14 19:15:07 +0000
commit862ecc12715cd262c761451634583bb59e4e5157 (patch)
tree3a3c3569a70963255e41023e836b4e5ecada1bed /nuttx/configs/p112
parent9e96b774dc77f51d965a8b2b9cf3d9d72637aa02 (diff)
downloadnuttx-862ecc12715cd262c761451634583bb59e4e5157.tar.gz
nuttx-862ecc12715cd262c761451634583bb59e4e5157.tar.bz2
nuttx-862ecc12715cd262c761451634583bb59e4e5157.zip
More z180 serial logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5437 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/p112')
-rw-r--r--nuttx/configs/p112/ostest/defconfig48
1 files changed, 20 insertions, 28 deletions
diff --git a/nuttx/configs/p112/ostest/defconfig b/nuttx/configs/p112/ostest/defconfig
index 62162f37e..eb02fe6bc 100644
--- a/nuttx/configs/p112/ostest/defconfig
+++ b/nuttx/configs/p112/ostest/defconfig
@@ -119,6 +119,7 @@ CONFIG_ARCH_CHIP_Z8018216FSG=y
# CONFIG_ARCH_CHIP_EZ80F93 is not set
CONFIG_ARCH_CHIP_Z180=y
CONFIG_ARCH_CHIP_Z80182=y
+CONFIG_HAVE_LOWSERIALINIT=y
CONFIG_LINKER_HOME_AREA=0x0000
CONFIG_LINKER_CODE_AREA=0x0200
CONFIG_LINKER_DATA_AREA=0x8000
@@ -135,8 +136,25 @@ CONFIG_Z180_PHYSHEAP_END=0x100000
#
# Z180 Peripheral Support
#
-CONFIG_Z180_UART0=y
-CONFIG_Z180_UART1=y
+# CONFIG_Z180_UART0 is not set
+# CONFIG_Z180_UART1 is not set
+CONFIG_Z180_ESCCA=y
+# CONFIG_Z180_ESCCB is not set
+# CONFIG_Z180_TMR1 is not set
+# CONFIG_Z180_PORTA is not set
+# CONFIG_Z180_PORTB is not set
+# CONFIG_Z180_MIMIC is not set
+CONFIG_Z180_ESCCA_SERIAL_CONSOLE=y
+
+#
+# ESCC Channel A Configuration
+#
+CONFIG_Z180_ESCCA_RXBUFSIZE=64
+CONFIG_Z180_ESCCA_TXBUFSIZE=64
+CONFIG_Z180_ESCCA_BAUD=9600
+CONFIG_Z180_ESCCA_BITS=8
+CONFIG_Z180_ESCCA_PARITY=0
+CONFIG_Z180_ESCCA_2STOP=0
#
# Architecture Options
@@ -261,32 +279,6 @@ CONFIG_DEV_NULL=y
CONFIG_SERIAL=y
CONFIG_DEV_LOWCONSOLE=y
# CONFIG_16550_UART is not set
-CONFIG_ARCH_HAVE_UART0=y
-CONFIG_ARCH_HAVE_UART1=y
-CONFIG_MCU_SERIAL=y
-CONFIG_UART0_SERIAL_CONSOLE=y
-# CONFIG_UART1_SERIAL_CONSOLE is not set
-# CONFIG_NO_SERIAL_CONSOLE is not set
-
-#
-# UART0 Configuration
-#
-CONFIG_UART0_RXBUFSIZE=64
-CONFIG_UART0_TXBUFSIZE=64
-CONFIG_UART0_BAUD=115200
-CONFIG_UART0_BITS=8
-CONFIG_UART0_PARITY=0
-CONFIG_UART0_2STOP=0
-
-#
-# UART1 Configuration
-#
-CONFIG_UART1_RXBUFSIZE=64
-CONFIG_UART1_TXBUFSIZE=64
-CONFIG_UART1_BAUD=115200
-CONFIG_UART1_BITS=8
-CONFIG_UART1_PARITY=0
-CONFIG_UART1_2STOP=0
# CONFIG_USBDEV is not set
# CONFIG_USBHOST is not set
# CONFIG_WIRELESS is not set