From cc7fea92d278728b67ba6538abbce93ec941688d Mon Sep 17 00:00:00 2001 From: dak664 Date: Sat, 13 Nov 2010 16:28:46 +0000 Subject: [PATCH] Force ipv6 when building with fakeuip --- platform/avr-ravenusb/Makefile.avr-ravenusb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platform/avr-ravenusb/Makefile.avr-ravenusb b/platform/avr-ravenusb/Makefile.avr-ravenusb index 6ef6ae603..392e27689 100644 --- a/platform/avr-ravenusb/Makefile.avr-ravenusb +++ b/platform/avr-ravenusb/Makefile.avr-ravenusb @@ -36,6 +36,11 @@ CONTIKIBOARD=. CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAVRGCC -DAUTO_CRC_PADDING=2 -DJACKDAW=1 +#The no-net build using fakeuip.c is always ipv6 +ifdef CONTIKI_NO_NET +CONTIKI_PLAT_DEFS+= -DUIP_CONF_IPV6=1 +endif + MCU=at90usb1287 AVRDUDE_PROGRAMMER=jtag2