/* -*- C -*- */ #ifndef CONTIKI_CONF_H #define CONTIKI_CONF_H /* include the project config */ #ifdef PROJECT_CONF_PATH #include PROJECT_CONF_PATH #endif /* PROJECT_CONF_PATH */ /*---------------------------------------------------------------------------*/ #include "sky-def.h" #include "msp430-def.h" /*---------------------------------------------------------------------------*/ /* Map RF_CHANNEL to cc2420 default channel */ #ifdef RF_CHANNEL #define CC2420_CONF_CHANNEL RF_CHANNEL #endif /* RF_CHANNEL */ /* Configure radio driver */ #ifndef NETSTACK_CONF_RADIO #define NETSTACK_CONF_RADIO cc2420_driver #endif /* NETSTACK_CONF_RADIO */ /* The TSCH default slot length of 10ms is a bit too short for this platform, * use 15ms instead. */ #ifndef TSCH_CONF_DEFAULT_TIMESLOT_LENGTH #define TSCH_CONF_DEFAULT_TIMESLOT_LENGTH 15000 #endif /* TSCH_CONF_DEFAULT_TIMESLOT_LENGTH */ /* Save RAM through a smaller uIP buffer */ #ifndef UIP_CONF_BUFFER_SIZE #define UIP_CONF_BUFFER_SIZE 240 #endif /* Platform-specific (H/W) AES implementation */ #ifndef AES_128_CONF #define AES_128_CONF cc2420_aes_128_driver #endif /* AES_128_CONF */ /* Disable the stack check library by default: .rom overflow otherwise */ #ifndef STACK_CHECK_CONF_ENABLED #define STACK_CHECK_CONF_ENABLED 0 #endif /*---------------------------------------------------------------------------*/ #include "msp430-conf.h" /*---------------------------------------------------------------------------*/ #endif /* CONTIKI_CONF_H */