Contiki 2.6

contiki-conf.h

00001 #ifndef __CONTIKI_CONF_H__CDBB4VIH3I__
00002 #define __CONTIKI_CONF_H__CDBB4VIH3I__
00003 
00004 #include <stdint.h>
00005 
00006 #define CCIF
00007 #define CLIF
00008 
00009 #define WITH_UIP 1
00010 #define WITH_ASCII 1
00011 
00012 #define CLOCK_CONF_SECOND 100
00013 
00014 /* These names are deprecated, use C99 names. */
00015 typedef uint8_t u8_t;
00016 typedef uint16_t u16_t;
00017 typedef uint32_t u32_t;
00018 typedef int8_t s8_t;
00019 typedef int16_t s16_t;
00020 typedef int32_t s32_t;
00021 
00022 typedef unsigned int clock_time_t;
00023 typedef unsigned int uip_stats_t;
00024 
00025 #ifndef BV
00026 #define BV(x) (1<<(x))
00027 #endif
00028 
00029 /* uIP configuration */
00030 #define UIP_CONF_LLH_LEN         0
00031 #define UIP_CONF_BROADCAST       1
00032 #define UIP_CONF_LOGGING 1
00033 #define UIP_CONF_BUFFER_SIZE 116
00034 
00035 #define UIP_CONF_TCP_FORWARD 1
00036 
00037 /* Prefix for relocation sections in ELF files */
00038 #define REL_SECT_PREFIX ".rel"
00039 
00040 #define CC_BYTE_ALIGNED __attribute__ ((packed, aligned(1)))
00041 
00042 #define USB_EP1_SIZE 64
00043 #define USB_EP2_SIZE 64
00044 
00045 #define RAND_MAX 0x7fff
00046 #endif /* __CONTIKI_CONF_H__CDBB4VIH3I__ */