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#include <sys/select.h>
46struct select_callback {
47 int (* set_fd)(fd_set *fdr, fd_set *fdw);
48 void (* handle_fd)(fd_set *fdr, fd_set *fdw);
50int select_set_callback(
int fd,
const struct select_callback *callback);
52#define CC_CONF_VA_ARGS 1
54#ifndef EEPROM_CONF_SIZE
55#define EEPROM_CONF_SIZE 1024
58typedef unsigned int uip_stats_t;
60#ifndef UIP_CONF_BYTE_ORDER
61#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
64#if NETSTACK_CONF_WITH_IPV6
66#ifndef NETSTACK_CONF_NETWORK
67#define NETSTACK_CONF_NETWORK tun6_net_driver
70#ifndef NETSTACK_CONF_RADIO
71#define NETSTACK_CONF_RADIO nullradio_driver
74#define NETSTACK_CONF_LINUXRADIO_DEV "wpan0"
77#ifndef NETSTACK_MAX_ROUTE_ENTRIES
78#define NETSTACK_MAX_ROUTE_ENTRIES 300
80#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
81#define NBR_TABLE_CONF_MAX_NEIGHBORS 300
85#ifndef QUEUEBUF_CONF_NUM
86#define QUEUEBUF_CONF_NUM 64
89#define UIP_CONF_IPV6_QUEUE_PKT 1
90#define UIP_ARCH_IPCHKSUM 1
96#define CLOCK_CONF_SECOND 1000
98#define LOG_CONF_ENABLED 1
100#define PLATFORM_SUPPORTS_BUTTON_HAL 1
101#define PLATFORM_CONF_PROVIDES_MAIN_LOOP 1
102#define PLATFORM_CONF_MAIN_ACCEPTS_ARGS 1
103#define PLATFORM_CONF_SUPPORTS_STACK_CHECK 0