contiki-conf.h
00001 #ifndef __CONTIKI_CONF_H__
00002 #define __CONTIKI_CONF_H__
00003
00004 #define CC_CONF_REGISTER_ARGS 1
00005 #define CC_CONF_FUNCTION_POINTER_ARGS 1
00006
00007 #define CCIF
00008 #define CLIF
00009
00010 typedef unsigned short clock_time_t;
00011 #define CLOCK_CONF_SECOND 1000
00012
00013 #define NUT_CPU_FREQ 14745600UL
00014 #define AVR_CLK_COUNT (NUT_CPU_FREQ / (128L * CLOCK_CONF_SECOND) + 0.5)
00015
00016 void clock_delay(unsigned int us2);
00017
00018 void clock_wait(int ms10);
00019
00020 void clock_set_seconds(unsigned long s);
00021 unsigned long clock_seconds(void);
00022
00023
00024
00025
00026
00027
00028
00029 #include "ctk/ctk-vncarch.h"
00030
00031
00032 #define CTK_CONF_MENU_KEY CH_F1
00033
00034
00035
00036 #define CTK_CONF_WINDOWSWITCH_KEY CH_ESC
00037
00038
00039
00040 #define CTK_CONF_WIDGETDOWN_KEY CH_TAB
00041
00042
00043
00044 #define CTK_CONF_WIDGETUP_KEY 1
00045
00046
00047 #define CTK_CONF_ICONS 1
00048
00049
00050 #define CTK_CONF_ICON_BITMAPS 1
00051
00052
00053 #define CTK_CONF_ICON_TEXTMAPS 1
00054
00055
00056 #define CTK_CONF_WINDOWS 1
00057
00058
00059 #define CTK_CONF_WINDOWMOVE 1
00060
00061
00062 #define CTK_CONF_WINDOWCLOSE 1
00063
00064
00065 #define CTK_CONF_MENUS 1
00066
00067
00068
00069 #define CTK_CONF_MOUSE_SUPPORT 1
00070
00071
00072 #define CTK_CONF_MENUWIDTH 16
00073
00074 #define CTK_CONF_MAXMENUITEMS 10
00075
00076
00077
00078 #define CTK_TERM_CONF_MAX_TELNET_CLIENTS 3
00079
00080
00081 #define CTK_TERM_CONF_TELNET_PORT 23
00082
00083
00084 #define CTK_TERM_CONF_SERIAL_BUFFER_SIZE 300
00085
00086
00087
00088
00089
00090 #define CTK_TERM_CONF_MAX_CLIENTS (CTK_TERM_CONF_MAX_TELNET_CLIENTS+1)
00091
00092 #define CTK_VNCSERVER_CONF_NUMCONNS 8
00093
00094 #define CTK_VNCSERVER_CONF_MAX_ICONS 8
00095
00096 #define EMAIL_CONF_WIDTH 48
00097 #define EMAIL_CONF_HEIGHT 16
00098
00099 #define IRC_CONF_WIDTH 78
00100 #define IRC_CONF_HEIGHT 20
00101
00102 #define IRC_CONF_SYSTEM_STRING "ethernut"
00103
00104
00105 #define LIBCONIO_CONF_SCREEN_WIDTH 70
00106 #define LIBCONIO_CONF_SCREEN_HEIGHT 40
00107
00108
00109
00110 #define LOG_CONF_ENABLED 0
00111
00112 #define PROGRAM_HANDLER_CONF_MAX_NUMDSCS 10
00113
00114
00115 #define SLIP_PORT RS232_PORT_0
00116
00117 #define TELNETD_CONF_LINELEN 32
00118 #define TELNETD_CONF_NUMLINES 16
00119
00120
00121 #define UIP_CONF_MAX_CONNECTIONS 10
00122 #define UIP_CONF_MAX_LISTENPORTS 10
00123 #define UIP_CONF_BUFFER_SIZE 100
00124
00125 #define UIP_CONF_TCP_SPLIT 1
00126
00127 #define UIP_CONF_UDP_CONNS 6
00128
00129 #define UIP_CONF_FWCACHE_SIZE 1
00130
00131 #define UIP_CONF_BROADCAST 1
00132
00133
00134
00135 #define WWW_CONF_WEBPAGE_WIDTH 46
00136 #define WWW_CONF_WEBPAGE_HEIGHT 25
00137
00138
00139 #define WWW_CONF_HISTORY_SIZE 8
00140
00141
00142 #define WWW_CONF_MAX_URLLEN 160
00143
00144
00145
00146 #define WWW_CONF_MAX_NUMPAGEWIDGETS 30
00147
00148
00149 #define WWW_CONF_RENDERSTATE 1
00150
00151
00152 #define WWW_CONF_FORMS 1
00153
00154
00155 #define WWW_CONF_MAX_FORMACTIONLEN 80
00156 #define WWW_CONF_MAX_FORMNAMELEN 40
00157 #define WWW_CONF_MAX_INPUTNAMELEN 40
00158 #define WWW_CONF_MAX_INPUTVALUELEN 40
00159
00160 #define WWW_CONF_PAGEVIEW 1
00161
00162 #define HAVE_STDINT_H
00163 #include "avrdef.h"
00164
00165 typedef unsigned short uip_stats_t;
00166
00167
00168 #endif