Go to the documentation of this file.
44 #ifndef __CONTIKI_CONF_H__
45 #define __CONTIKI_CONF_H__
47 #include PLATFORM_HEADER
52 #define CC_CONF_REGISTER_ARGS 0
53 #define CC_CONF_FUNCTION_POINTER_ARGS 1
54 #define CC_CONF_FASTCALL
55 #define CC_CONF_VA_ARGS 1
56 #define CC_CONF_INLINE inline
62 typedef uint16_t
u16_t;
63 typedef uint32_t
u32_t;
64 typedef int32_t
s32_t;
74 #define UART1_CONF_TX_WITH_INTERRUPT 0
75 #define WITH_SERIAL_LINE_INPUT 1
76 #define ENERGEST_CONF_ON 0
77 #define TELNETD_CONF_NUMLINES 6
79 #define QUEUEBUF_CONF_NUM 2
82 #define NETSTACK_CONF_RADIO stm32w_radio_driver
87 #define NETSTACK_CONF_NETWORK sicslowpan_driver
88 #define NETSTACK_CONF_MAC nullmac_driver
89 #define NETSTACK_CONF_RDC sicslowmac_driver
90 #define NETSTACK_CONF_FRAMER framer_802154
92 #define RIMEADDR_CONF_SIZE 8
93 #define UIP_CONF_LL_802154 1
95 #define UIP_CONF_ROUTER 1
96 #define UIP_CONF_IPV6_RPL 1
97 #define UIP_CONF_ND6_SEND_RA 0
102 #define UIP_CONF_DS6_AADDR_NBU 1
105 #define UIP_CONF_IPV6 1
106 #define UIP_CONF_IPV6_QUEUE_PKT 0 // This is a very costly feature as it increases the RAM usage by approximately UIP_ND6_MAX_NEIGHBORS * UIP_LINK_MTU bytes.
107 #define UIP_CONF_IPV6_CHECKS 1
108 #define UIP_CONF_IPV6_REASSEMBLY 0
109 #define UIP_CONF_ND6_MAX_PREFIXES 2
110 #define UIP_CONF_ND6_MAX_NEIGHBORS 2
111 #define UIP_CONF_ND6_MAX_DEFROUTERS 1
112 #define UIP_CONF_IP_FORWARD 0
113 #define UIP_CONF_BUFFER_SIZE 140
114 #define UIP_CONF_MAX_CONNECTIONS 6
115 #define UIP_CONF_MAX_LISTENPORTS 6
116 #define UIP_CONF_UDP_CONNS 3
118 #define SICSLOWPAN_CONF_COMPRESSION_IPV6 0
119 #define SICSLOWPAN_CONF_COMPRESSION_HC1 1
120 #define SICSLOWPAN_CONF_COMPRESSION_HC06 2
121 #define SICSLOWPAN_CONF_COMPRESSION SICSLOWPAN_CONF_COMPRESSION_HC06
122 #define SICSLOWPAN_CONF_FRAG 1
123 #define SICSLOWPAN_CONF_MAX_ADDR_CONTEXTS 2
124 #define SICSLOWPAN_CONF_MAXAGE 2
126 #define UIP_CONF_ICMP6 0
129 #define UIP_CONF_UDP 1
130 #define UIP_CONF_TCP 1
132 #define IEEE802154_CONF_PANID 0x1234
133 #define STM32W_NODE_ID 0x5678 // to be deleted
134 #define RF_CHANNEL 16
135 #define RADIO_RXBUFS 2 // Set to a number greater than 1 to decrease packet loss probability at high rates (e.g, with fragmented packets)
136 #define UIP_CONF_LLH_LEN 0
138 typedef unsigned long clock_time_t;
140 #define CLOCK_CONF_SECOND 1000
142 typedef unsigned long long rtimer_clock_t;
143 #define RTIMER_CLOCK_LT(a,b) ((signed short)((a)-(b)) < 0)
146 #define LEDS_CONF_RED_PIN 5
147 #define LEDS_CONF_GREEN_PIN 6
148 #define LEDS_CONF_PORT PORTB
149 #define LEDS_CONF_RED (1<<LEDS_CONF_RED_PIN)
150 #define LEDS_CONF_GREEN (1<<LEDS_CONF_GREEN_PIN)
153 #define UIP_ARCH_ADD32 1
154 #define UIP_ARCH_CHKSUM 0
156 #define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
159 #ifdef PROJECT_CONF_H
160 #include PROJECT_CONF_H