Contiki 3.x
contiki-conf.h
1 #ifndef CONTIKI_CONF_H_CDBB4VIH3I__
2 #define CONTIKI_CONF_H_CDBB4VIH3I__
3 
4 #include <stdint.h>
5 
6 #define CCIF
7 #define CLIF
8 
9 #define WITH_UIP 1
10 #define WITH_ASCII 1
11 
12 #define CLOCK_CONF_SECOND 100
13 
14 /* These names are deprecated, use C99 names. */
15 typedef uint8_t u8_t;
16 typedef uint16_t u16_t;
17 typedef uint32_t u32_t;
18 typedef int8_t s8_t;
19 typedef int16_t s16_t;
20 typedef int32_t s32_t;
21 
22 typedef unsigned int clock_time_t;
23 typedef unsigned int uip_stats_t;
24 
25 #ifndef BV
26 #define BV(x) (1<<(x))
27 #endif
28 
29 /* uIP configuration */
30 #define UIP_CONF_LLH_LEN 0
31 #define UIP_CONF_BROADCAST 1
32 #define UIP_CONF_LOGGING 1
33 #define UIP_CONF_BUFFER_SIZE 116
34 
35 #define UIP_CONF_TCP_FORWARD 1
36 
37 /* Prefix for relocation sections in ELF files */
38 #define REL_SECT_PREFIX ".rel"
39 
40 #define CC_BYTE_ALIGNED __attribute__ ((packed, aligned(1)))
41 
42 #define USB_EP1_SIZE 64
43 #define USB_EP2_SIZE 64
44 
45 #define RAND_MAX 0x7fff
46 #endif /* CONTIKI_CONF_H_CDBB4VIH3I__ */