Mercurial > ecos
view examples/hello.c @ 2162:02b2b5ad1fef
* tests/nc_test_slave.c (nc_slave): Fix some of the compiler
warnings.
* cdl/lwip_net.cdl Changed default value of
CYGNUM_LWIP_MEMP_NUM_SYS_TIMEOUT (required for DHCP).
Replaced CYGPKG_LWIP_DHCP_OPTIONS with CYGPKG_LWIP_DHCP
and add CYGOPT_LWIP_DHCP_MANAGEMENT for automatic DHCP
management.
* include/lwip/ip_addr.h Add macro ip_addr_netcmp()
(copied from lwIP CVS).
* include/netif/etharp.h Updated file to version of
lwIP CVS.
* src/ecos/init.c Add include <pkgconf/net_lwip.h>
Add lwip_dhcp_fine_tmr() and lwip_dhcp_coarse_tmr()
for DHCP processing.
Change tcpip_init_done() to start DHCP timers and
ARP timer.
Changed lwip_set_addr() to properly setup IP adress
if DHCP is used.
Added lwip_dhcp_init() for start of DHCP client.
Removed start of ARP timer from ecosclue_init().
* src/netif/etharp.c Updated file to version of
lwIP CVS.
| author | asl |
|---|---|
| date | Wed, 15 Mar 2006 08:02:39 +0000 |
| parents | ead06911cbae |
| children |
line wrap: on
line source
/* this is a simple hello world program */ #include <stdio.h> int main(void) { printf("Hello, eCos world!\n"); return 0; }
