From b4bc7fc3da8e3aea3dbba436ae2c624a66d0da49 Mon Sep 17 00:00:00 2001 From: dak664 Date: Tue, 23 Feb 2010 02:01:46 +0000 Subject: [PATCH] Make RF230BB the default radio driver --- cpu/avr/radio/Makefile.radio | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cpu/avr/radio/Makefile.radio b/cpu/avr/radio/Makefile.radio index cfffe1f22..2c2c0fd17 100644 --- a/cpu/avr/radio/Makefile.radio +++ b/cpu/avr/radio/Makefile.radio @@ -1,8 +1,12 @@ ### The RF230 "bare bones" driver uses the core MAC layer. -### It does NOT work with the Jackdaw USB stick. +### It is required for versions after contiki 2.4 that use the new driver interfaces + +ifndef RF230BB +RF230BB=1 +endif + ### Define RF230BB in the base makefile, or use $make RF230BB=1 ... ifeq ($(RF230BB),1) -#ifdef RF230BB CFLAGS += -DRF230BB #Source for AT86RF230 barebones driver using the contiki core MAC include $(CONTIKI)/cpu/avr/radio/rf230bb/Makefile.rf230bb