From ebea184116a7d85f48cfa172af88f884a27455da Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 23 Feb 2010 18:42:41 +0000 Subject: [PATCH] Added netstack config for CC2420 radio driver, and also for cxmac RDC layer (which is not confirmed if it runs on real hardware, only tested in simulation) --- platform/micaz/contiki-conf.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/micaz/contiki-conf.h b/platform/micaz/contiki-conf.h index 43bff9f84..6c66a9679 100644 --- a/platform/micaz/contiki-conf.h +++ b/platform/micaz/contiki-conf.h @@ -42,6 +42,13 @@ #ifndef __CONTIKI_CONF_H__ #define __CONTIKI_CONF_H__ +#define NETSTACK_CONF_NETWORK rime_driver +#define NETSTACK_CONF_MAC csma_driver +#define NETSTACK_CONF_RDC cxmac_driver +#define NETSTACK_CONF_RADIO cc2420_driver + +#define MAC_CONF_CHANNEL_CHECK_RATE 8 + #define HAVE_STDINT_H #include "avrdef.h"