Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
This commit is contained in:
parent
1aeb5056d6
commit
a960e4b3b2
15 changed files with 471 additions and 43 deletions
|
@ -79,7 +79,11 @@ typedef unsigned short uip_stats_t;
|
|||
*
|
||||
* \hideinitializer
|
||||
*/
|
||||
#define UIP_CONF_UDP 0
|
||||
#if defined(ENABLE_DHCP)
|
||||
#define UIP_CONF_UDP 1
|
||||
#else
|
||||
#define UIP_CONF_UDP 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* UDP checksums on or off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue