aboutsummaryrefslogtreecommitdiff
path: root/Projects/Webserver/makefile
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-02-02 12:51:05 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-02-02 12:51:05 +0000
commit1a1f7367b5b7b4c99be17ca069af95e3c2082ccb (patch)
tree22c4f596fcfc35d689d3a5665f1602db9fc66261 /Projects/Webserver/makefile
parented56540e3eb1d4936749cd11ef7ac0bec2c25b6e (diff)
Replace the Webserver demo's uIP with the latest code ripped from the Contiki project by Adam Dunkels.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1100 d5102386-fcda-11dd-9fdb-3debd5008f28
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 e12a44e4..37aecc76 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