2006-08-02 14:44:46 +00:00
|
|
|
/* -*- C -*- */
|
|
|
|
|
|
|
|
#ifndef CONTIKI_CONF_H
|
|
|
|
#define CONTIKI_CONF_H
|
|
|
|
|
2017-10-07 13:39:48 +00:00
|
|
|
/* include the project config */
|
|
|
|
#ifdef PROJECT_CONF_PATH
|
|
|
|
#include PROJECT_CONF_PATH
|
|
|
|
#endif /* PROJECT_CONF_PATH */
|
2017-12-08 16:49:33 +00:00
|
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
#include "sky-def.h"
|
2017-12-08 16:48:21 +00:00
|
|
|
#include "msp430-def.h"
|
|
|
|
/*---------------------------------------------------------------------------*/
|
2010-12-16 22:51:22 +00:00
|
|
|
|
2017-07-03 15:20:22 +00:00
|
|
|
/* Configure radio driver */
|
2010-10-20 22:21:16 +00:00
|
|
|
#ifndef NETSTACK_CONF_RADIO
|
|
|
|
#define NETSTACK_CONF_RADIO cc2420_driver
|
|
|
|
#endif /* NETSTACK_CONF_RADIO */
|
|
|
|
|
2018-10-10 14:52:33 +00:00
|
|
|
/* Symbol for the TSCH 15ms timeslot timing template */
|
|
|
|
#define TSCH_CONF_ARCH_HDR_PATH "dev/cc2420/cc2420-tsch-15ms.h"
|
2018-10-04 08:33:52 +00:00
|
|
|
|
2015-09-21 20:05:40 +00:00
|
|
|
/* The TSCH default slot length of 10ms is a bit too short for this platform,
|
|
|
|
* use 15ms instead. */
|
2018-10-03 11:36:46 +00:00
|
|
|
#ifndef TSCH_CONF_DEFAULT_TIMESLOT_TIMING
|
|
|
|
#define TSCH_CONF_DEFAULT_TIMESLOT_TIMING tsch_timeslot_timing_us_15000
|
|
|
|
#endif /* TSCH_CONF_DEFAULT_TIMESLOT_TIMING */
|
2015-09-21 20:05:40 +00:00
|
|
|
|
2017-07-03 15:20:22 +00:00
|
|
|
/* Save RAM through a smaller uIP buffer */
|
2010-10-21 18:25:39 +00:00
|
|
|
#ifndef UIP_CONF_BUFFER_SIZE
|
2010-02-06 10:00:25 +00:00
|
|
|
#define UIP_CONF_BUFFER_SIZE 240
|
2010-10-21 18:25:39 +00:00
|
|
|
#endif
|
2008-11-05 14:31:06 +00:00
|
|
|
|
2017-07-03 15:20:22 +00:00
|
|
|
/* Platform-specific (H/W) AES implementation */
|
2014-04-21 11:40:45 +00:00
|
|
|
#ifndef AES_128_CONF
|
|
|
|
#define AES_128_CONF cc2420_aes_128_driver
|
|
|
|
#endif /* AES_128_CONF */
|
2009-02-14 22:52:24 +00:00
|
|
|
|
2017-12-08 16:45:46 +00:00
|
|
|
/* Disable the stack check library by default: .rom overflow otherwise */
|
|
|
|
#ifndef STACK_CHECK_CONF_ENABLED
|
|
|
|
#define STACK_CHECK_CONF_ENABLED 0
|
|
|
|
#endif
|
2017-12-08 16:46:56 +00:00
|
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
#include "msp430-conf.h"
|
|
|
|
/*---------------------------------------------------------------------------*/
|
2006-08-02 14:44:46 +00:00
|
|
|
#endif /* CONTIKI_CONF_H */
|