aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Config/AppConfig.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-13 15:03:17 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-13 15:03:17 +0000
commit13085a335125808f3b2f9adc495c6fe26053cebe (patch)
tree0d11d457795b870116e3ace34a38b40a17b63baf /Projects/Webserver/Config/AppConfig.h
parent64d00efd915b8c3842c4fe93605bf8bc73def030 (diff)
downloadlufa-13085a335125808f3b2f9adc495c6fe26053cebe.tar.gz
lufa-13085a335125808f3b2f9adc495c6fe26053cebe.tar.bz2
lufa-13085a335125808f3b2f9adc495c6fe26053cebe.zip
AppConfigHeaders: Switch low level Device mode demos to use LUFAConfig.h configuration header files.
Diffstat (limited to 'Projects/Webserver/Config/AppConfig.h')
-rw-r--r--Projects/Webserver/Config/AppConfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Projects/Webserver/Config/AppConfig.h b/Projects/Webserver/Config/AppConfig.h
index e2a9cd4de..0f26a7a60 100644
--- a/Projects/Webserver/Config/AppConfig.h
+++ b/Projects/Webserver/Config/AppConfig.h
@@ -48,6 +48,11 @@
#define ENABLE_TELNET_SERVER
#define MAX_URI_LENGTH 50
+ #define DEVICE_IP_ADDRESS (uint8_t[]){ 10, 0, 0, 2}
+ #define DEVICE_NETMASK (uint8_t[]){255, 255, 255, 0}
+ #define DEVICE_GATEWAY (uint8_t[]){ 10, 0, 0, 1}
+ #define SERVER_MAC_ADDRESS (uint8_t[]){ 1, 0, 1, 0, 1, 0}
+
#define UIP_CONF_UDP (defined(ENABLE_DHCP_CLIENT) || defined(ENABLE_DHCP_SERVER))
#define UIP_CONF_BROADCAST 1
#define UIP_CONF_TCP 1