From 5ab468aaa6e626a86bfb10785dee660e57d894c0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 28 Mar 2009 13:14:13 +0000 Subject: Fix examples/wget build git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1649 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/ez80f910200zco/dhcpd/defconfig | 15 +++++++++++++++ nuttx/configs/ez80f910200zco/httpd/defconfig | 15 +++++++++++++++ nuttx/configs/ez80f910200zco/nettest/defconfig | 17 ++++++++++++++++- nuttx/configs/ez80f910200zco/nsh/defconfig | 15 +++++++++++++++ nuttx/configs/ez80f910200zco/ostest/defconfig | 15 +++++++++++++++ nuttx/configs/ez80f910200zco/poll/defconfig | 15 +++++++++++++++ 6 files changed, 91 insertions(+), 1 deletion(-) (limited to 'nuttx/configs/ez80f910200zco') diff --git a/nuttx/configs/ez80f910200zco/dhcpd/defconfig b/nuttx/configs/ez80f910200zco/dhcpd/defconfig index 5d59fabcc..6ffc90611 100644 --- a/nuttx/configs/ez80f910200zco/dhcpd/defconfig +++ b/nuttx/configs/ez80f910200zco/dhcpd/defconfig @@ -763,6 +763,21 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" #CONFIG_EXAMPLES_MOUNT_SECTORSIZE=512 #CONFIG_EXAMPLES_MOUNT_RAMDEVNO=1 +# +# Settings for examples/wget +# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file +# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/') +# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) +# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address +# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess +# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org" +CONFIG_EXAMPLE_WGET_FILENAME="/index.html" +CONFIG_EXAMPLE_WGET_NOMAC=y +CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L) +CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L) +CONFIG_EXAMPLE_WGET_NETMASK=(255L<<24|255L<<16|255L<<8|0L) + # # Stack and heap information # diff --git a/nuttx/configs/ez80f910200zco/httpd/defconfig b/nuttx/configs/ez80f910200zco/httpd/defconfig index 7e49a0011..04ad0cb99 100644 --- a/nuttx/configs/ez80f910200zco/httpd/defconfig +++ b/nuttx/configs/ez80f910200zco/httpd/defconfig @@ -771,6 +771,21 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" #CONFIG_EXAMPLES_MOUNT_SECTORSIZE=512 #CONFIG_EXAMPLES_MOUNT_RAMDEVNO=1 +# +# Settings for examples/wget +# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file +# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/') +# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) +# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address +# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess +# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org" +CONFIG_EXAMPLE_WGET_FILENAME="/index.html" +CONFIG_EXAMPLE_WGET_NOMAC=y +CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L) +CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L) +CONFIG_EXAMPLE_WGET_NETMASK=(255L<<24|255L<<16|255L<<8|0L) + # # Stack and heap information # diff --git a/nuttx/configs/ez80f910200zco/nettest/defconfig b/nuttx/configs/ez80f910200zco/nettest/defconfig index f4cc622fc..2aff4d370 100644 --- a/nuttx/configs/ez80f910200zco/nettest/defconfig +++ b/nuttx/configs/ez80f910200zco/nettest/defconfig @@ -224,7 +224,7 @@ CONFIG_HAVE_LIBM=n # semaphore. This value may be set to zero if no more than one # thread is expected to wait for a semaphore. # -CONFIG_EXAMPLE=nettest +CONFIG_EXAMPLE=wget CONFIG_DEBUG=y CONFIG_DEBUG_VERBOSE=n CONFIG_DEBUG_NET=n @@ -756,6 +756,21 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" #CONFIG_EXAMPLES_MOUNT_SECTORSIZE=512 #CONFIG_EXAMPLES_MOUNT_RAMDEVNO=1 +# +# Settings for examples/wget +# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file +# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/') +# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) +# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address +# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess +# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org" +CONFIG_EXAMPLE_WGET_FILENAME="/index.html" +CONFIG_EXAMPLE_WGET_NOMAC=y +CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L) +CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L) +CONFIG_EXAMPLE_WGET_NETMASK=(255L<<24|255L<<16|255L<<8|0L) + # # Stack and heap information # diff --git a/nuttx/configs/ez80f910200zco/nsh/defconfig b/nuttx/configs/ez80f910200zco/nsh/defconfig index 2cf6cf581..352542fb5 100644 --- a/nuttx/configs/ez80f910200zco/nsh/defconfig +++ b/nuttx/configs/ez80f910200zco/nsh/defconfig @@ -756,6 +756,21 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" #CONFIG_EXAMPLES_MOUNT_SECTORSIZE=512 #CONFIG_EXAMPLES_MOUNT_RAMDEVNO=1 +# +# Settings for examples/wget +# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file +# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/') +# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) +# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address +# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess +# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org" +CONFIG_EXAMPLE_WGET_FILENAME="/index.html" +CONFIG_EXAMPLE_WGET_NOMAC=y +CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L) +CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L) +CONFIG_EXAMPLE_WGET_NETMASK=(255L<<24|255L<<16|255L<<8|0L) + # # Stack and heap information # diff --git a/nuttx/configs/ez80f910200zco/ostest/defconfig b/nuttx/configs/ez80f910200zco/ostest/defconfig index 1b49f66da..95243d13f 100644 --- a/nuttx/configs/ez80f910200zco/ostest/defconfig +++ b/nuttx/configs/ez80f910200zco/ostest/defconfig @@ -739,6 +739,21 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" #CONFIG_EXAMPLES_MOUNT_SECTORSIZE=512 #CONFIG_EXAMPLES_MOUNT_RAMDEVNO=1 +# +# Settings for examples/wget +# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file +# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/') +# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) +# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address +# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess +# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org" +CONFIG_EXAMPLE_WGET_FILENAME="/index.html" +CONFIG_EXAMPLE_WGET_NOMAC=y +CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L) +CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L) +CONFIG_EXAMPLE_WGET_NETMASK=(255L<<24|255L<<16|255L<<8|0L) + # # Stack and heap information # diff --git a/nuttx/configs/ez80f910200zco/poll/defconfig b/nuttx/configs/ez80f910200zco/poll/defconfig index c73a568c7..21521105f 100644 --- a/nuttx/configs/ez80f910200zco/poll/defconfig +++ b/nuttx/configs/ez80f910200zco/poll/defconfig @@ -756,6 +756,21 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0" #CONFIG_EXAMPLES_MOUNT_SECTORSIZE=512 #CONFIG_EXAMPLES_MOUNT_RAMDEVNO=1 +# +# Settings for examples/wget +# CONFIG_EXAMPLE_WGET_HOSTNAME - The host that serves the file +# CONFIG_EXAMPLE_WGET_FILENAME - The name of the file to get (with leading '/') +# CONFIG_EXAMPLE_WGET_NOMAC - (May be defined to use software assigned MAC) +# CONFIG_EXAMPLE_WGET_IPADDR - Target IP address +# CONFIG_EXAMPLE_WGET_DRIPADDR - Default router IP addess +# CONFIG_EXAMPLE_WGET_NETMASK - Network mask +CONFIG_EXAMPLE_WGET_HOSTNAME="www.nuttx.org" +CONFIG_EXAMPLE_WGET_FILENAME="/index.html" +CONFIG_EXAMPLE_WGET_NOMAC=y +CONFIG_EXAMPLE_WGET_IPADDR=(10L<<24|0L<<16|0L<<8|2L) +CONFIG_EXAMPLE_WGET_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L) +CONFIG_EXAMPLE_WGET_NETMASK=(255L<<24|255L<<16|255L<<8|0L) + # # Stack and heap information # -- cgit v1.2.3