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 typedef uint8_t u8_t;
00014 typedef uint16_t u16_t;
00015 typedef uint32_t u32_t;
00016 typedef int8_t s8_t;
00017 typedef int16_t s16_t;
00018 typedef int32_t s32_t;
00019
00020 typedef unsigned int clock_time_t;
00021 typedef unsigned int uip_stats_t;
00022
00023 #ifndef BV
00024 #define BV(x) (1<<(x))
00025 #endif
00026
00027
00028 #define UIP_CONF_LLH_LEN 0
00029 #define UIP_CONF_BROADCAST 1
00030 #define UIP_CONF_LOGGING 1
00031 #define UIP_CONF_BUFFER_SIZE 116
00032
00033 #define UIP_CONF_TCP_FORWARD 1
00034
00035
00036 #define REL_SECT_PREFIX ".rel"
00037
00038 #define CC_BYTE_ALIGNED __attribute__ ((packed, aligned(1)))
00039
00040 #define USB_EP1_SIZE 64
00041 #define USB_EP2_SIZE 64
00042
00043 #define RAND_MAX 0x7fff
00044 #endif