34 #ifndef __CONTIKI_CONF_H__
35 #define __CONTIKI_CONF_H__
37 #define PROFILE_CONF_ON 0
38 #define ENERGEST_CONF_ON 0
39 #define LOG_CONF_ENABLED 1
45 #error WITH_UIP && WITH_IP6: Bad configuration
49 #ifdef NETSTACK_CONF_H
52 #define NETSTACK__QUOTEME(s) NETSTACK_QUOTEME(s)
53 #define NETSTACK_QUOTEME(s) #s
54 #include NETSTACK__QUOTEME(NETSTACK_CONF_H)
62 #define NETSTACK_CONF_NETWORK uip_driver
63 #define NETSTACK_CONF_MAC nullmac_driver
64 #define NETSTACK_CONF_RDC nullrdc_driver
65 #define NETSTACK_CONF_RADIO cooja_radio_driver
66 #define UIP_CONF_IPV6 1
67 #define UIP_CONF_IP_FORWARD 0
74 #define NETSTACK_CONF_NETWORK rime_driver
75 #define NETSTACK_CONF_MAC nullmac_driver
76 #define NETSTACK_CONF_RDC nullrdc_driver
77 #define NETSTACK_CONF_RADIO cooja_radio_driver
78 #define UIP_CONF_IP_FORWARD 1
83 #define NETSTACK_CONF_NETWORK rime_driver
84 #define NETSTACK_CONF_MAC nullmac_driver
85 #define NETSTACK_CONF_RDC nullrdc_driver
86 #define NETSTACK_CONF_RADIO cooja_radio_driver
95 #define PACKETBUF_CONF_ATTRS_INLINE 1
97 #define QUEUEBUF_CONF_NUM 16
99 #define CC_CONF_REGISTER_ARGS 1
100 #define CC_CONF_FUNCTION_POINTER_ARGS 1
101 #define CC_CONF_FASTCALL
102 #define CC_CONF_VA_ARGS 1
103 #define CC_CONF_INLINE inline
108 #include <inttypes.h>
109 typedef uint8_t
u8_t;
110 typedef uint16_t
u16_t;
111 typedef uint32_t
u32_t;
112 typedef int32_t
s32_t;
115 #define CLOCK_CONF_SECOND 1000L
116 typedef unsigned long clock_time_t;
117 typedef unsigned long rtimer_clock_t;
118 #define RTIMER_CLOCK_LT(a,b) ((signed long)((a)-(b)) < 0)
120 #define AODV_COMPLIANCE
121 #define AODV_NUM_RT_ENTRIES 32
125 #define UIP_CONF_MAX_LISTENPORTS 40
126 #define UIP_CONF_MAX_CONNECTIONS 40
127 #define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
128 #define UIP_CONF_TCP_SPLIT 0
129 #define UIP_CONF_LOGGING 0
130 #define UIP_CONF_UDP_CHECKSUMS 0
131 #define UIP_CONF_BROADCAST 1
133 #define UIP_CONF_UDP 1
134 #define UIP_CONF_TCP 1
137 #define RIMEADDR_CONF_SIZE 8
138 #define UIP_CONF_IPV6_QUEUE_PKT 1
139 #define UIP_CONF_IPV6_CHECKS 1
140 #define UIP_CONF_IPV6_REASSEMBLY 1
141 #define UIP_CONF_NETIF_MAX_ADDRESSES 3
142 #define UIP_CONF_ND6_MAX_PREFIXES 3
143 #define UIP_CONF_ND6_MAX_NEIGHBORS 4
144 #define UIP_CONF_ND6_MAX_DEFROUTERS 2
147 #define CFS_CONF_OFFSET_TYPE long