33 #ifndef CONTIKI_CONF_H_ 34 #define CONTIKI_CONF_H_ 37 #ifdef PROJECT_CONF_PATH 38 #include PROJECT_CONF_PATH 41 #include "native-def.h" 44 #ifndef WIN32_LEAN_AND_MEAN 45 #include <sys/select.h> 48 struct select_callback {
49 int (* set_fd)(fd_set *fdr, fd_set *fdw);
50 void (* handle_fd)(fd_set *fdr, fd_set *fdw);
52 int select_set_callback(
int fd,
const struct select_callback *callback);
54 #define CC_CONF_REGISTER_ARGS 1 55 #define CC_CONF_FUNCTION_POINTER_ARGS 1 56 #define CC_CONF_VA_ARGS 1 59 #ifndef EEPROM_CONF_SIZE 60 #define EEPROM_CONF_SIZE 1024 63 typedef unsigned int uip_stats_t;
65 #ifndef UIP_CONF_BYTE_ORDER 66 #define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN 69 #if NETSTACK_CONF_WITH_IPV6 71 #ifndef NETSTACK_CONF_NETWORK 72 #define NETSTACK_CONF_NETWORK tun6_net_driver 75 #ifndef NETSTACK_CONF_RADIO 76 #define NETSTACK_CONF_RADIO nullradio_driver 79 #define NETSTACK_CONF_LINUXRADIO_DEV "wpan0" 82 #ifndef NETSTACK_MAX_ROUTE_ENTRIES 83 #define NETSTACK_MAX_ROUTE_ENTRIES 300 85 #ifndef NBR_TABLE_CONF_MAX_NEIGHBORS 86 #define NBR_TABLE_CONF_MAX_NEIGHBORS 300 90 #ifndef QUEUEBUF_CONF_NUM 91 #define QUEUEBUF_CONF_NUM 64 94 #define UIP_CONF_IPV6_QUEUE_PKT 1 95 #define UIP_ARCH_IPCHKSUM 1 101 typedef unsigned long clock_time_t;
103 #define CLOCK_CONF_SECOND 1000 105 #define LOG_CONF_ENABLED 1 107 #define PLATFORM_SUPPORTS_BUTTON_HAL 1 110 int strcasecmp(
const char*,
const char*);
112 #define PLATFORM_CONF_PROVIDES_MAIN_LOOP 1 113 #define PLATFORM_CONF_MAIN_ACCEPTS_ARGS 1 114 #define PLATFORM_CONF_SUPPORTS_STACK_CHECK 0