1 #ifndef __CONTIKI_CONF_H__
2 #define __CONTIKI_CONF_H__
4 #define CC_CONF_REGISTER_ARGS 1
5 #define CC_CONF_FUNCTION_POINTER_ARGS 1
10 typedef unsigned short clock_time_t;
11 #define CLOCK_CONF_SECOND 1000
13 #define NUT_CPU_FREQ 14745600UL
14 #define AVR_CLK_COUNT (NUT_CPU_FREQ / (128L * CLOCK_CONF_SECOND) + 0.5)
20 void clock_set_seconds(
unsigned long s);
21 unsigned long clock_seconds(
void);
29 #include "ctk/ctk-vncarch.h"
32 #define CTK_CONF_MENU_KEY CH_F1
36 #define CTK_CONF_WINDOWSWITCH_KEY CH_ESC
40 #define CTK_CONF_WIDGETDOWN_KEY CH_TAB
44 #define CTK_CONF_WIDGETUP_KEY 1
47 #define CTK_CONF_ICONS 1
50 #define CTK_CONF_ICON_BITMAPS 1
53 #define CTK_CONF_ICON_TEXTMAPS 1
56 #define CTK_CONF_WINDOWS 1
59 #define CTK_CONF_WINDOWMOVE 1
62 #define CTK_CONF_WINDOWCLOSE 1
65 #define CTK_CONF_MENUS 1
69 #define CTK_CONF_MOUSE_SUPPORT 1
72 #define CTK_CONF_MENUWIDTH 16
74 #define CTK_CONF_MAXMENUITEMS 10
78 #define CTK_TERM_CONF_MAX_TELNET_CLIENTS 3
81 #define CTK_TERM_CONF_TELNET_PORT 23
84 #define CTK_TERM_CONF_SERIAL_BUFFER_SIZE 300
90 #define CTK_TERM_CONF_MAX_CLIENTS (CTK_TERM_CONF_MAX_TELNET_CLIENTS+1)
92 #define CTK_VNCSERVER_CONF_NUMCONNS 8
94 #define CTK_VNCSERVER_CONF_MAX_ICONS 8
96 #define EMAIL_CONF_WIDTH 48
97 #define EMAIL_CONF_HEIGHT 16
99 #define IRC_CONF_WIDTH 78
100 #define IRC_CONF_HEIGHT 20
102 #define IRC_CONF_SYSTEM_STRING "ethernut"
105 #define LIBCONIO_CONF_SCREEN_WIDTH 70
106 #define LIBCONIO_CONF_SCREEN_HEIGHT 40
110 #define LOG_CONF_ENABLED 0
112 #define PROGRAM_HANDLER_CONF_MAX_NUMDSCS 10
115 #define SLIP_PORT RS232_PORT_0
117 #define TELNETD_CONF_LINELEN 32
118 #define TELNETD_CONF_NUMLINES 16
121 #define UIP_CONF_MAX_CONNECTIONS 10
122 #define UIP_CONF_MAX_LISTENPORTS 10
123 #define UIP_CONF_BUFFER_SIZE 100
125 #define UIP_CONF_TCP_SPLIT 1
127 #define UIP_CONF_UDP_CONNS 6
129 #define UIP_CONF_FWCACHE_SIZE 1
131 #define UIP_CONF_BROADCAST 1
135 #define WWW_CONF_WEBPAGE_WIDTH 46
136 #define WWW_CONF_WEBPAGE_HEIGHT 25
139 #define WWW_CONF_HISTORY_SIZE 8
142 #define WWW_CONF_MAX_URLLEN 160
146 #define WWW_CONF_MAX_NUMPAGEWIDGETS 30
149 #define WWW_CONF_RENDERSTATE 1
152 #define WWW_CONF_FORMS 1
155 #define WWW_CONF_MAX_FORMACTIONLEN 80
156 #define WWW_CONF_MAX_FORMNAMELEN 40
157 #define WWW_CONF_MAX_INPUTNAMELEN 40
158 #define WWW_CONF_MAX_INPUTVALUELEN 40
160 #define WWW_CONF_PAGEVIEW 1
162 #define HAVE_STDINT_H