contiki-conf.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef CONTIKI_CONF_H
00032 #define CONTIKI_CONF_H
00033
00034
00035 #include "platform-conf.h"
00036
00037 #define XMAC_CONF_COMPOWER 1
00038 #define CXMAC_CONF_COMPOWER 1
00039
00040 #if WITH_UIP6
00041
00042
00043 #define NETSTACK_CONF_NETWORK sicslowpan_driver
00044
00045
00046 #define NETSTACK_CONF_MAC csma_driver
00047 #define NETSTACK_CONF_RDC contikimac_driver
00048 #define NETSTACK_CONF_RADIO cc2420_driver
00049 #define NETSTACK_CONF_FRAMER framer_802154
00050
00051 #define CC2420_CONF_AUTOACK 1
00052 #define NETSTACK_RDC_CHANNEL_CHECK_RATE 8
00053 #define RIME_CONF_NO_POLITE_ANNOUCEMENTS 0
00054 #define CXMAC_CONF_ANNOUNCEMENTS 0
00055 #define XMAC_CONF_ANNOUNCEMENTS 0
00056
00057 #define QUEUEBUF_CONF_NUM 4
00058
00059
00060 #else
00061
00062
00063
00064 #define NETSTACK_CONF_NETWORK rime_driver
00065 #define NETSTACK_CONF_MAC nullmac_driver
00066
00067 #define NETSTACK_CONF_RDC nullrdc_driver
00068 #define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 128
00069 #define NETSTACK_CONF_FRAMER framer_802154
00070
00071 #define CC2420_CONF_AUTOACK 0
00072 #define MAC_CONF_CHANNEL_CHECK_RATE 8
00073
00074 #define COLLECT_CONF_ANNOUNCEMENTS 1
00075 #define RIME_CONF_NO_POLITE_ANNOUCEMENTS 0
00076 #define CXMAC_CONF_ANNOUNCEMENTS 0
00077 #define XMAC_CONF_ANNOUNCEMENTS 0
00078 #define CONTIKIMAC_CONF_ANNOUNCEMENTS 0
00079
00080 #define CONTIKIMAC_CONF_COMPOWER 1
00081 #define XMAC_CONF_COMPOWER 1
00082 #define CXMAC_CONF_COMPOWER 1
00083
00084 #define COLLECT_NEIGHBOR_CONF_MAX_NEIGHBORS 32
00085
00086 #define QUEUEBUF_CONF_NUM 8
00087
00088 #endif
00089
00090 #define PACKETBUF_CONF_ATTRS_INLINE 1
00091
00092 #ifndef RF_CHANNEL
00093 #define RF_CHANNEL 26
00094 #endif
00095
00096 #define IEEE802154_CONF_PANID 0xABCD
00097
00098 #define SHELL_VARS_CONF_RAM_BEGIN 0x1100
00099 #define SHELL_VARS_CONF_RAM_END 0x2000
00100
00101
00102 #define CFS_CONF_OFFSET_TYPE long
00103
00104 #define PROFILE_CONF_ON 0
00105 #define ENERGEST_CONF_ON 0
00106
00107 #define ELFLOADER_CONF_TEXT_IN_ROM 0
00108 #define ELFLOADER_CONF_DATAMEMORY_SIZE 0x400
00109 #define ELFLOADER_CONF_TEXTMEMORY_SIZE 0x800
00110
00111 #define CCIF
00112 #define CLIF
00113
00114 #define CC_CONF_INLINE inline
00115
00116 #define AODV_COMPLIANCE
00117 #define AODV_NUM_RT_ENTRIES 32
00118
00119 #define WITH_ASCII 1
00120
00121 #define PROCESS_CONF_NUMEVENTS 8
00122 #define PROCESS_CONF_STATS 1
00123
00124
00125
00126 #define UART0_CONF_TX_WITH_INTERRUPT 0 // So far, printfs without interrupt.
00127
00128 #ifdef WITH_UIP6
00129
00130 #define RIMEADDR_CONF_SIZE 8
00131
00132 #define UIP_CONF_LL_802154 1
00133 #define UIP_CONF_LLH_LEN 0
00134
00135 #define UIP_CONF_ROUTER 1
00136 #define UIP_CONF_IPV6_RPL 1
00137
00138
00139 #define UIP_CONF_DS6_NBR_NBU 15
00140
00141 #define UIP_CONF_DS6_ROUTE_NBU 15
00142
00143 #define UIP_CONF_ND6_SEND_RA 0
00144 #define UIP_CONF_ND6_REACHABLE_TIME 600000
00145 #define UIP_CONF_ND6_RETRANS_TIMER 10000
00146
00147 #define UIP_CONF_IPV6 1
00148 #define UIP_CONF_IPV6_QUEUE_PKT 0
00149 #define UIP_CONF_IPV6_CHECKS 1
00150 #define UIP_CONF_IPV6_REASSEMBLY 0
00151 #define UIP_CONF_NETIF_MAX_ADDRESSES 3
00152 #define UIP_CONF_ND6_MAX_PREFIXES 3
00153 #define UIP_CONF_ND6_MAX_NEIGHBORS 4
00154 #define UIP_CONF_ND6_MAX_DEFROUTERS 2
00155 #define UIP_CONF_IP_FORWARD 0
00156 #define UIP_CONF_BUFFER_SIZE 140
00157
00158 #define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
00159 #define SICSLOWPAN_CONF_COMPRESSION_HC1 1
00160 #define SICSLOWPAN_CONF_COMPRESSION_HC01 2
00161 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_COMPRESSION_HC06
00162 #ifndef SICSLOWPAN_CONF_FRAG
00163 #define SICSLOWPAN_CONF_FRAG 1
00164 #define SICSLOWPAN_CONF_MAXAGE 8
00165 #endif
00166 #define SICSLOWPAN_CONF_CONVENTIONAL_MAC 1
00167 #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
00168 #else
00169 #define UIP_CONF_IP_FORWARD 1
00170 #define UIP_CONF_BUFFER_SIZE 108
00171 #endif
00172
00173 #define UIP_CONF_ICMP_DEST_UNREACH 1
00174
00175 #define UIP_CONF_DHCP_LIGHT
00176 #define UIP_CONF_LLH_LEN 0
00177 #define UIP_CONF_RECEIVE_WINDOW 48
00178 #define UIP_CONF_TCP_MSS 48
00179 #define UIP_CONF_MAX_CONNECTIONS 4
00180 #define UIP_CONF_MAX_LISTENPORTS 8
00181 #define UIP_CONF_UDP_CONNS 12
00182 #define UIP_CONF_FWCACHE_SIZE 30
00183 #define UIP_CONF_BROADCAST 1
00184 #define UIP_ARCH_IPCHKSUM 1
00185 #define UIP_CONF_UDP 1
00186 #define UIP_CONF_UDP_CHECKSUMS 1
00187 #define UIP_CONF_PINGADDRCONF 0
00188 #define UIP_CONF_LOGGING 0
00189
00190 #define UIP_CONF_TCP_SPLIT 0
00191
00192
00193 #ifdef PROJECT_CONF_H
00194 #include "project-conf.h"
00195 #endif
00196
00197
00198
00199 #endif