Give uIP a static IP address for proof-of-concept testing
This commit is contained in:
parent
129c6c3968
commit
5fe31f1014
|
@ -557,5 +557,16 @@ extern void uip_tcp_appcall ( void );
|
||||||
this. */
|
this. */
|
||||||
//#include "httpd.h"
|
//#include "httpd.h"
|
||||||
|
|
||||||
|
#warning "Remove this static IP address hack"
|
||||||
|
#undef UIP_FIXEDADDR
|
||||||
|
#undef UIP_IPADDR0
|
||||||
|
#undef UIP_IPADDR1
|
||||||
|
#undef UIP_IPADDR2
|
||||||
|
#undef UIP_IPADDR3
|
||||||
|
#define UIP_FIXEDADDR 1
|
||||||
|
#define UIP_IPADDR0 10
|
||||||
|
#define UIP_IPADDR1 254
|
||||||
|
#define UIP_IPADDR2 254
|
||||||
|
#define UIP_IPADDR3 1
|
||||||
|
|
||||||
#endif /* __UIPOPT_H__ */
|
#endif /* __UIPOPT_H__ */
|
||||||
|
|
Reference in New Issue