From 76e2cd5548a733af8e46a4269e2e21f6d226b688 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 1 Mar 2009 16:23:57 +0000 Subject: [PATCH] updates in preparation for EMAC testing git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1554 42af7a65-404d-4744-a932-0658087f49c3 --- configs/ez80f910200zco/nettest/defconfig | 55 ++++++++++++++++-------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/configs/ez80f910200zco/nettest/defconfig b/configs/ez80f910200zco/nettest/defconfig index d27ddf7380..be1b18a576 100644 --- a/configs/ez80f910200zco/nettest/defconfig +++ b/configs/ez80f910200zco/nettest/defconfig @@ -93,6 +93,7 @@ CONFIG_ARCH_TIMERHOOK=y # CONFIG_UARTn_TXBUFSIZE - Characters are buffered before # being sent. This specific the size of the transmit buffer # CONFIG_UARTn_BAUD - The configure BAUD of the UART. +# CONFIG_UARTn_BITS - The number of data bits (7 or 8) # CONFIG_UARTn_PARTIY - 0=no parity, 1=odd parity, 2=even parity # CONFIG_UARTn_2STOP - 0=1 stop bit; 1=Two stop bits # @@ -106,6 +107,8 @@ CONFIG_UART0_RXBUFSIZE=0 CONFIG_UART1_RXBUFSIZE=0 CONFIG_UART0_BAUD=57600 CONFIG_UART1_BAUD=57600 +CONFIG_UART0_BITS=0 +CONFIG_UART1_BITS=0 CONFIG_UART0_PARITY=0 CONFIG_UART1_PARITY=0 CONFIG_UART0_2STOP=0 @@ -165,6 +168,7 @@ CONFIG_HAVE_LIBM=n # that will be used in the build # CONFIG_DEBUG - enables built-in debug options # CONFIG_DEBUG_VERBOSE - enables verbose debug output +# CONFIG_DEBUG_NET - enables debug of the network subsystem # CONFIG_MM_REGIONS - If the architecture includes multiple # regions of memory to allocate from, this specifies the # number of memory regions that the memory manager must @@ -195,19 +199,20 @@ CONFIG_HAVE_LIBM=n # CONFIG_DEV_CONSOLE - Set if architecture-specific logic # provides /dev/console. Enables stdout, stderr, stdin. # CONFIG_DEV_LOWCONSOLE - Use the simple, low-level serial console -# driver (minimul support) +# driver (minimal, write-only support) # CONFIG_EXAMPLE=nettest CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n +CONFIG_DEBUG_NET=n CONFIG_MM_REGIONS=1 CONFIG_ARCH_LOWPUTC=y -CONFIG_RR_INTERVAL=0 +CONFIG_RR_INTERVAL=200 CONFIG_SCHED_INSTRUMENTATION=n CONFIG_TASK_NAME_SIZE=0 CONFIG_START_YEAR=2009 CONFIG_START_MONTH=2 -CONFIG_START_DAY=25 +CONFIG_START_DAY=28 CONFIG_JULIAN_TIME=n CONFIG_HAVE_LOWUARTINIT=y CONFIG_DEV_CONSOLE=y @@ -229,9 +234,9 @@ CONFIG_DEV_LOWCONSOLE=y # up waiting tasks. # CONFIG_DISABLE_CLOCK=n -CONFIG_DISABLE_POSIX_TIMERS=y +CONFIG_DISABLE_POSIX_TIMERS=n CONFIG_DISABLE_PTHREAD=y -CONFIG_DISABLE_SIGNALS=y +CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=y CONFIG_DISABLE_MOUNTPOINT=y CONFIG_DISABLE_ENVIRON=y @@ -309,9 +314,9 @@ CONFIG_STDIO_BUFFER_SIZE=0 CONFIG_NUNGET_CHARS=0 CONFIG_PREALLOC_MQ_MSGS=0 CONFIG_MQ_MAXMSGSIZE=0 -CONFIG_MAX_WDOGPARMS=2 -CONFIG_PREALLOC_WDOGS=4 -CONFIG_PREALLOC_TIMERS=0 +CONFIG_MAX_WDOGPARMS=4 +CONFIG_PREALLOC_WDOGS=8 +CONFIG_PREALLOC_TIMERS=8 # # Framebuffer driver options @@ -368,19 +373,21 @@ CONFIG_MMCSD_READONLY=n # CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates CONFIG_NET=y CONFIG_NET_IPv6=n -CONFIG_NSOCKET_DESCRIPTORS=16 +CONFIG_NSOCKET_DESCRIPTORS=8 CONFIG_NET_SOCKOPTS=y CONFIG_NET_BUFSIZE=420 CONFIG_NET_TCP=y -CONFIG_NET_TCP_CONNS=40 -CONFIG_NET_MAX_LISTENPORTS=40 -CONFIG_NET_UDP=y +CONFIG_NET_TCP_CONNS=8 +CONFIG_NET_NTCP_READAHEAD_BUFFERS=8 +CONFIG_NET_TCPBACKLOG=n +CONFIG_NET_MAX_LISTENPORTS=8 +CONFIG_NET_UDP=n CONFIG_NET_UDP_CHECKSUMS=y #CONFIG_NET_UDP_CONNS=10 CONFIG_NET_ICMP=y CONFIG_NET_ICMP_PING=n #CONFIG_NET_PINGADDRCONF=0 -CONFIG_NET_STATISTICS=y +CONFIG_NET_STATISTICS=n #CONFIG_NET_RECEIVE_WINDOW= #CONFIG_NET_ARPTAB_SIZE=8 CONFIG_NET_BROADCAST=n @@ -571,8 +578,8 @@ CONFIG_NX_MXCLIENTMSGS=16 # # Settings for examples/uip -CONFIG_EXAMPLE_UIP_IPADDR=(192<<24|168<<16|0<<8|128) -CONFIG_EXAMPLE_UIP_DRIPADDR=(192<<24|168<<16|0<<8|1) +CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2) +CONFIG_EXAMPLE_UIP_DRIPADDR=(10<<24|0<<16|0<<8|1) CONFIG_EXAMPLE_UIP_NETMASK=(255<<24|255<<16|255<<8|0) CONFIG_EXAMPLE_UIP_SMTP=n CONFIG_EXAMPLE_UIP_TELNETD=n @@ -582,13 +589,25 @@ CONFIG_EXAMPLE_UIP_WEBCLIENT=n # # Settings for examples/nettest +# CONFIG_EXAMPLE_NETTEST_SERVER - The target board can act +# as either the client side or server side of the test +# CONFIG_EXAMPLE_NETTEST_PERFORMANCE - If set, then the +# client side simply receives messages forever, allowing +# measurement of throughput +# CONFIG_EXAMPLE_NETTEST_NOMAC - Set if the hardware has +# no MAC address; one will be assigned +# CONFIG_EXAMPLE_NETTEST_IPADDR - Target board IP address +# CONFIG_EXAMPLE_NETTEST_DRIPADDR - Default router address +# CONFIG_EXAMPLE_NETTEST_NETMASK - Network mask +# CONFIG_EXAMPLE_NETTEST_CLIENTIP - IP address of the +# client side of the test (may be target or host) CONFIG_EXAMPLE_NETTEST_SERVER=n CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n CONFIG_EXAMPLE_NETTEST_NOMAC=n -CONFIG_EXAMPLE_NETTEST_IPADDR=(192<<24|168<<16|0<<8|128) -CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192<<24|168<<16|0<<8|1) +CONFIG_EXAMPLE_NETTEST_IPADDR=(10<<24|0<<16|0<<8|2) +CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1) CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0) -CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192<<24|168<<16|0<<8|106) +CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1) # # Settings for examples/ostest