Contiki-NG
contiki-conf.h
1 /* -*- C -*- */
2 
3 #ifndef CONTIKI_CONF_H
4 #define CONTIKI_CONF_H
5 
6 /* include the project config */
7 #ifdef PROJECT_CONF_PATH
8 #include PROJECT_CONF_PATH
9 #endif /* PROJECT_CONF_PATH */
10 /*---------------------------------------------------------------------------*/
11 #include "sky-def.h"
12 #include "msp430-def.h"
13 /*---------------------------------------------------------------------------*/
14 
15 /* Configure radio driver */
16 #ifndef NETSTACK_CONF_RADIO
17 #define NETSTACK_CONF_RADIO cc2420_driver
18 #endif /* NETSTACK_CONF_RADIO */
19 
20 /* Symbol for the TSCH 15ms timeslot timing template */
21 #define TSCH_CONF_ARCH_HDR_PATH "dev/cc2420/cc2420-tsch-15ms.h"
22 
23 /* The TSCH default slot length of 10ms is a bit too short for this platform,
24  * use 15ms instead. */
25 #ifndef TSCH_CONF_DEFAULT_TIMESLOT_TIMING
26 #define TSCH_CONF_DEFAULT_TIMESLOT_TIMING tsch_timeslot_timing_us_15000
27 #endif /* TSCH_CONF_DEFAULT_TIMESLOT_TIMING */
28 
29 /* Save RAM through a smaller uIP buffer */
30 #ifndef UIP_CONF_BUFFER_SIZE
31 #define UIP_CONF_BUFFER_SIZE 240
32 #endif
33 
34 /* Platform-specific (H/W) AES implementation */
35 #ifndef AES_128_CONF
36 #define AES_128_CONF cc2420_aes_128_driver
37 #endif /* AES_128_CONF */
38 
39 /* Disable the stack check library by default: .rom overflow otherwise */
40 #ifndef STACK_CHECK_CONF_ENABLED
41 #define STACK_CHECK_CONF_ENABLED 0
42 #endif
43 /*---------------------------------------------------------------------------*/
44 #include "msp430-conf.h"
45 /*---------------------------------------------------------------------------*/
46 #endif /* CONTIKI_CONF_H */
A brief description of what this file is