Contiki 2.5
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 typedef uint8_t u8_t;
14 typedef uint16_t u16_t;
15 typedef uint32_t u32_t;
16 typedef int8_t s8_t;
17 typedef int16_t s16_t;
18 typedef int32_t s32_t;
19 
20 typedef unsigned int clock_time_t;
21 typedef unsigned int uip_stats_t;
22 
23 #ifndef BV
24 #define BV(x) (1<<(x))
25 #endif
26 
27 /* uIP configuration */
28 #define UIP_CONF_LLH_LEN 0
29 #define UIP_CONF_BROADCAST 1
30 #define UIP_CONF_LOGGING 1
31 #define UIP_CONF_BUFFER_SIZE 116
32 
33 #define UIP_CONF_TCP_FORWARD 1
34 
35 /* Prefix for relocation sections in ELF files */
36 #define REL_SECT_PREFIX ".rel"
37 
38 #define CC_BYTE_ALIGNED __attribute__ ((packed, aligned(1)))
39 
40 #define USB_EP1_SIZE 64
41 #define USB_EP2_SIZE 64
42 
43 #define RAND_MAX 0x7fff
44 #endif /* __CONTIKI_CONF_H__CDBB4VIH3I__ */