changeIpAddress: Change IP Address on the Fly

This application demonstrates how to change a statically
assigned IP address on the fly.  The application runs
in a loop which switches between two IP addresses that
you select. 

Configure the application by editing root.c and setting
the following constants near the top of the file:

INTERFACE       set to the name of the network interface
                you want to change the address of.  For
                example, "eth0" or "wln0".

ADDRESS_1       set to a valid and unused IP address on 
                you network.  This must be an IPv4 address
                in dotted format such as "192.168.2.1"

ADDRESS_2       set to a valid and unused IP address on 
                you network.  This must be an IPv4 address
                in dotted format such as "192.168.2.2"

GATEWAY         set to the address of your network's 
                gateway.  This must be an IPv4 address
                in dotted format such as "192.168.2.100"

MASK            set to the subnet mask used by your network.
                This must be an IPv4 address in dotted 
                format such as "255.255.255.0"

When you run the application, it will alternately set one address
and then the other, delaying approximately 30 seconds between 
each change.  You can use ping to verify that the address changes.

This program will not work if you have configured your board to
use DHCP to get an IP address.  When DHCP is used, the address is
assigned by a DHCP server on the network.

One GNU make file is provided.  Build the target 'image' to
generate an image that can be debugged with gdb, and the file 
image.bin which can be written to flash if the bootloader is used.
Build the target 'rom.bin' to create the file rom.bin which 
can be written to ROM if the bootloader is not used.


The following files are provided with this application:

appconf.h           sets application configuration settings
makefile            Make file for the GNU toolset.
readme              this file
root.c              contains the demonstration code.  The applicationStart
                    function is the entry point for the program.

The application uses the following files located in the
netos\src\linkerScripts directory.  These files are generated
when the BSP is built.

bootldr.dat     bootloader configuration file used to generate the
                file image.bin.  It controls the information placed
                in the bootloader header of the image.

image.ldr       GNU linker script used to build an image that can
                be debugged and used with the bootloader.
                
customize.ldr   Customizable GNU linker script
