summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471/defconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/c5471/defconfig')
-rw-r--r--nuttx/arch/c5471/defconfig43
1 files changed, 37 insertions, 6 deletions
diff --git a/nuttx/arch/c5471/defconfig b/nuttx/arch/c5471/defconfig
index efb0d7cc6..4b397e405 100644
--- a/nuttx/arch/c5471/defconfig
+++ b/nuttx/arch/c5471/defconfig
@@ -44,6 +44,37 @@ CONFIG_ARCH_C5471=y
CONFIG_ROM_VECTORS=n
#
+# C5471 specific device driver settings
+#
+# CONFIG_SERIAL_IRDA_CONSOLE - selects the IRDA UART for the
+# console ant ttys0 (default is the modem UART).
+# CONFIG_UART_*_HWFLOWCONTROL - enables hardware flow control
+# CONFIG_UART_*_RXBUFSIZE - Characters are buffered as received.
+# This specific the size of the receive buffer
+# CONFIG_UART_*_TXBUFSIZE - Characters are buffered before
+# being sent. This specific the size of the transmit buffer
+# CONFIG_UART_*_BAUD - The configure BAUD of the UART. Must be
+# CONFIG_UART_*_BITS - The number of bits. Must be either 7 or 8.
+# CONFIG_UART_*_PARTIY - 0=no parity, 1=odd parity, 2=even parity
+# CONFIG_UART_*_2STOP - Two stop bits
+#
+CONFIG_SERIAL_IRDA_CONSOLE=n
+CONFIG_UART_IRDA_HWFLOWCONTROL=y
+CONFIG_UART_MODEM_HWFLOWCONTROL=y
+CONFIG_UART_IRDA_RXBUFSIZE=256
+CONFIG_UART_MODEM_RXBUFSIZE=256
+CONFIG_UART_IRDA_TXBUFSIZE=256
+CONFIG_UART_MODEM_TXBUFSIZE=256
+CONFIG_UART_IRDA_BAUD=115200
+CONFIG_UART_MODEM_BAUD=115200
+CONFIG_UART_IRDA_BITS=8
+CONFIG_UART_MODEM_BITS=8
+CONFIG_UART_IRDA_PARITY=0
+CONFIG_UART_MODEM_PARITY=0
+CONFIG_UART_IRDA_2STOP=0
+CONFIG_UART_MODEM_2STOP=0
+
+#
# General OS setup
#
# CONFIG_EXAMPLE - identifies the subdirectgory in examples
@@ -69,7 +100,7 @@ CONFIG_ROM_VECTORS=n
CONFIG_EXAMPLE=ostest
CONFIG_DEBUG=y
CONFIG_DEBUG_VERBOSE=n
-CONFIG_ARCH_LOWPUTC=n
+CONFIG_ARCH_LOWPUTC=y
CONFIG_RR_INTERVAL=200
CONFIG_SCHED_INSTRUMENTATION=n
CONFIG_TASK_NAME_SIZE=0
@@ -77,7 +108,7 @@ CONFIG_START_YEAR=2007
CONFIG_START_MONTH=2
CONFIG_START_DAY=13
CONFIG_JULIAN_TIME=n
-CONFIG_DEV_CONSOLE=n
+CONFIG_DEV_CONSOLE=y
#
# Allow for artchitecture optimized implementations
@@ -157,9 +188,9 @@ CONFIG_PREALLOC_WDOGS=32
# CONFIG_HEAP_SIZE - The size of the heap
#
CONFIG_BOOT_FROM_FLASH=n
-CONFIG_STACK_POINTER=0x02100000
-CONFIG_PROC_STACK_SIZE=0x00001000
+CONFIG_STACK_POINTER=
+CONFIG_PROC_STACK_SIZE=4096
CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=4096
-CONFIG_HEAP_BASE=0x02100000
-CONFIG_HEAP_SIZE=0x00100000
+CONFIG_HEAP_BASE=(0x10300000+90*1024+4096)
+CONFIG_HEAP_SIZE=(0x11000000-CONFIG_HEAP_BASE)