Skip to content
Snippets Groups Projects
Commit 68f8ca16 authored by patacongo's avatar patacongo
Browse files

wget now takes only a URL as a argument; not host + file

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1653 42af7a65-404d-4744-a932-0658087f49c3
parent 86d1bc47
No related branches found
No related tags found
No related merge requests found
......@@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -377,14 +377,12 @@ CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -717,14 +717,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -765,14 +765,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -773,14 +773,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -758,14 +758,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -758,14 +758,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -741,14 +741,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
......@@ -758,14 +758,12 @@ CONFIG_EXAMPLES_MOUNT_DEVNAME="/dev/ram0"
#
# 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_URL - The URL of the file to get
# 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_URL="http://www.nuttx.org/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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment