aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-02-02 12:51:05 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-02-02 12:51:05 +0000
commit84e1241f8063dab6b82a580584fa11893a162b55 (patch)
tree22c4f596fcfc35d689d3a5665f1602db9fc66261 /Projects/Webserver/makefile
parent1008260985a50df686bb6c0b73c6a0b10fd24b2b (diff)
downloadlufa-84e1241f8063dab6b82a580584fa11893a162b55.tar.gz
lufa-84e1241f8063dab6b82a580584fa11893a162b55.tar.bz2
lufa-84e1241f8063dab6b82a580584fa11893a162b55.zip
Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
Diffstat (limited to 'Projects/Webserver/makefile')
-rw-r--r--Projects/Webserver/makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Projects/Webserver/makefile b/Projects/Webserver/makefile
index e12a44e45..37aecc76f 100644
--- a/Projects/Webserver/makefile
+++ b/Projects/Webserver/makefile
@@ -135,8 +135,7 @@ SRC = $(TARGET).c \
Lib/uip/uip.c \
Lib/uip/uip_arp.c \
Lib/uip/timer.c \
- Lib/uip/uip-neighbor.c \
- Lib/uip/conf/clock-arch.c \
+ Lib/uip/clock.c \
Lib/FATFs/diskio.c \
Lib/FATFs/ff.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
@@ -198,7 +197,13 @@ CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
-CDEFS += -DENABLE_DHCP
+CDEFS += -DENABLE_DHCP=1
+
+CDEFS += -DUIP_CONF_UDP_CONNS=1 -DUIP_CONF_TCP=1 -DUIP_CONF_MAX_CONNECTIONS=5
+CDEFS += -DUIP_CONF_MAX_LISTENPORTS=1 -DUIP_CONF_BUFFER_SIZE=1514
+CDEFS += -DUIP_CONF_LL_802154=0 -DUIP_CONF_LL_80211=0 -DUIP_CONF_ROUTER=0 -DUIP_CONF_ICMP6=0 -DUIP_CONF_LL_802154=0
+CDEFS += -DUIP_ARCH_ADD32=0 -DUIP_ARCH_CHKSUM=0 -DUIP_CONF_ICMP_DEST_UNREACH=1 -DUIP_NEIGHBOR_CONF_ADDRTYPE=0
+CDEFS += -DUIP_CONF_UDP=ENABLE_DHCP
# Place -D or -U options here for ASM sources