47 lines
1.5 KiB
C
47 lines
1.5 KiB
C
/* -*- 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"
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
/* Configure radio driver */
|
|
#ifndef NETSTACK_CONF_RADIO
|
|
#define NETSTACK_CONF_RADIO cc2420_driver
|
|
#endif /* NETSTACK_CONF_RADIO */
|
|
|
|
/* Symbol for the TSCH 15ms timeslot timing template */
|
|
#define TSCH_CONF_ARCH_HDR_PATH "dev/cc2420/cc2420-tsch-15ms.h"
|
|
|
|
/* The TSCH default slot length of 10ms is a bit too short for this platform,
|
|
* use 15ms instead. */
|
|
#ifndef TSCH_CONF_DEFAULT_TIMESLOT_TIMING
|
|
#define TSCH_CONF_DEFAULT_TIMESLOT_TIMING tsch_timeslot_timing_us_15000
|
|
#endif /* TSCH_CONF_DEFAULT_TIMESLOT_TIMING */
|
|
|
|
/* 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 */
|