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 /* The TSCH default slot length of 10ms is a bit too short for this platform,
21  * use 15ms instead. */
22 #ifndef TSCH_CONF_DEFAULT_TIMESLOT_LENGTH
23 #define TSCH_CONF_DEFAULT_TIMESLOT_LENGTH 15000
24 #endif /* TSCH_CONF_DEFAULT_TIMESLOT_LENGTH */
25 
26 /* Save RAM through a smaller uIP buffer */
27 #ifndef UIP_CONF_BUFFER_SIZE
28 #define UIP_CONF_BUFFER_SIZE 240
29 #endif
30 
31 /* Platform-specific (H/W) AES implementation */
32 #ifndef AES_128_CONF
33 #define AES_128_CONF cc2420_aes_128_driver
34 #endif /* AES_128_CONF */
35 
36 /* Disable the stack check library by default: .rom overflow otherwise */
37 #ifndef STACK_CHECK_CONF_ENABLED
38 #define STACK_CHECK_CONF_ENABLED 0
39 #endif
40 /*---------------------------------------------------------------------------*/
41 #include "msp430-conf.h"
42 /*---------------------------------------------------------------------------*/
43 #endif /* CONTIKI_CONF_H */
A brief description of what this file is