contiki-conf.h
00001 #ifndef __CONTIKI_CONF_H__
00002 #define __CONTIKI_CONF_H__
00003
00004
00005 #define DCOSYNCH_CONF_ENABLED 1
00006 #define DCOSYNCH_CONF_PERIOD 30
00007
00008 #define SERIAL_LINE_CONF_BUFSIZE 64
00009
00010 #define TIMESYNCH_CONF_ENABLED 0
00011 #define PROFILE_CONF_ON 0
00012 #define ENERGEST_CONF_ON 1
00013
00014 #define HAVE_STDINT_H
00015 #define MSP430_MEMCPY_WORKAROUND 1
00016 #include "msp430def.h"
00017
00018 #define PROCESS_CONF_NUMEVENTS 8
00019 #define PROCESS_CONF_STATS 0
00020
00021
00022 #define F_CPU 2457600uL
00023
00024
00025
00026 #define CLOCK_CONF_SECOND 64UL
00027
00028 #define NODE_ID_EEPROM_OFFSET 0x0010
00029 #define CFS_EEPROM_CONF_OFFSET 0x0040
00030
00031 #define CC_CONF_REGISTER_ARGS 1
00032 #define CC_CONF_FUNCTION_POINTER_ARGS 1
00033
00034 #define CC_CONF_INLINE inline
00035
00036 #define CC_CONF_VA_ARGS 1
00037
00038 #define CCIF
00039 #define CLIF
00040
00041 typedef unsigned long clock_time_t;
00042
00043 void clock_wait(int ms10);
00044
00045 #define LOG_CONF_ENABLED 0
00046
00047 #define PACKETBUF_CONF_ATTRS_INLINE 1
00048 #define NETSTACK_CONF_RADIO tr1001_driver
00049
00050 #if WITH_UIP
00051
00052
00053 #define NETSTACK_CONF_NETWORK uip_driver
00054 #define NETSTACK_CONF_MAC nullmac_driver
00055 #define NETSTACK_CONF_RDC nullrdc_driver
00056 #define NETSTACK_CONF_FRAMER framer_nullmac
00057
00058 #define QUEUEBUF_CONF_NUM 0
00059 #define QUEUEBUF_CONF_REF_NUM 0
00060 #define ROUTE_CONF_ENTRIES 0
00061
00062 #else
00063
00064
00065
00066 #define NETSTACK_CONF_NETWORK rime_driver
00067 #define NETSTACK_CONF_MAC nullmac_driver
00068 #define NETSTACK_CONF_RDC nullrdc_driver
00069 #define NETSTACK_CONF_FRAMER framer_nullmac
00070
00071 #define QUEUEBUF_CONF_NUM 1
00072 #define QUEUEBUF_CONF_REF_NUM 1
00073 #define ROUTE_CONF_ENTRIES 4
00074
00075 #endif
00076
00077
00078
00079
00080
00081
00082
00083 typedef unsigned short uip_stats_t;
00084
00085 #define UIP_CONF_ICMP_DEST_UNREACH 1
00086
00087 #define UIP_CONF_IP_FORWARD 1
00088 #define UIP_CONF_DHCP_LIGHT
00089 #define UIP_CONF_LLH_LEN 0
00090 #define UIP_CONF_BUFFER_SIZE 110
00091 #define UIP_CONF_RECEIVE_WINDOW (UIP_CONF_BUFFER_SIZE - 40)
00092 #define UIP_CONF_MAX_CONNECTIONS 4
00093 #define UIP_CONF_MAX_LISTENPORTS 4
00094 #define UIP_CONF_UDP_CONNS 3
00095 #define UIP_CONF_FWCACHE_SIZE 1
00096 #define UIP_CONF_BROADCAST 1
00097 #define UIP_ARCH_IPCHKSUM 1
00098 #define UIP_CONF_UDP_CHECKSUMS 1
00099 #define UIP_CONF_PINGADDRCONF 0
00100 #define UIP_CONF_LOGGING 0
00101 #define UIP_CONF_RESOLV_ENTRIES 1
00102
00103 #define UIP_CONF_TCP_SPLIT 0
00104
00105 #define LOADER_CONF_ARCH "loader/loader-arch.h"
00106
00107 #define ELFLOADER_CONF_TEXT_IN_ROM 1
00108 #define ELFLOADER_CONF_DATAMEMORY_SIZE 100
00109 #define ELFLOADER_CONF_TEXTMEMORY_SIZE 0x1000
00110
00111 #define WEBSERVER_CONF_CGI_CONNS 1
00112
00113
00114 #define LEDS_PxDIR P2DIR
00115 #define LEDS_PxOUT P2OUT
00116 #define LEDS_CONF_RED 0x01
00117 #define LEDS_CONF_GREEN 0x02
00118 #define LEDS_CONF_YELLOW 0x04
00119
00120 #ifdef PROJECT_CONF_H
00121 #include PROJECT_CONF_H
00122 #endif
00123
00124 #endif