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 void clock_delay(unsigned int us2);
00014 
00015 void clock_wait(int ms10);
00016 
00017 void clock_set_seconds(unsigned long s);
00018 unsigned long clock_seconds(void);
00019 
00020 
00021 /*
00022  * This file is used for setting various compile time settings for the
00023  * CTK GUI toolkit.
00024 */
00025 
00026 #include "ctk/ctk-vncarch.h"
00027 
00028 /* Defines which key that is to be used for activating the menus */
00029 #define CTK_CONF_MENU_KEY             CH_F1
00030 
00031 /* Defines which key that is to be used for switching the frontmost
00032    window.  */
00033 #define CTK_CONF_WINDOWSWITCH_KEY     CH_ESC
00034 
00035 /* Defines which key that is to be used for switching to the next
00036    widget.  */
00037 #define CTK_CONF_WIDGETDOWN_KEY       CH_TAB
00038 
00039 /* Defines which key that is to be used for switching to the prevoius
00040    widget.  */
00041 #define CTK_CONF_WIDGETUP_KEY         1
00042 
00043 /* Toggles support for icons. */
00044 #define CTK_CONF_ICONS                1 /* 107 bytes */
00045 
00046 /* Toggles support for icon bitmaps. */
00047 #define CTK_CONF_ICON_BITMAPS         1
00048 
00049 /* Toggles support for icon textmaps. */
00050 #define CTK_CONF_ICON_TEXTMAPS        1
00051 
00052 /* Toggles support for windows. */
00053 #define CTK_CONF_WINDOWS              1
00054 
00055 /* Toggles support for movable windows. */
00056 #define CTK_CONF_WINDOWMOVE           1 /* 333 bytes */
00057 
00058 /* Toggles support for closable windows. */
00059 #define CTK_CONF_WINDOWCLOSE          1 /* 14 bytes */
00060 
00061 /* Toggles support for menus. */
00062 #define CTK_CONF_MENUS                1 /* 1384 bytes */
00063 
00064 /* Toggles mouse support (must have support functions in the
00065 architecture specific files to work). */
00066 #define CTK_CONF_MOUSE_SUPPORT        1
00067 
00068 /* Defines the default width of a menu. */
00069 #define CTK_CONF_MENUWIDTH            16
00070 /* The maximum number of menu items in each menu. */
00071 #define CTK_CONF_MAXMENUITEMS         10
00072 
00073 
00074 /* Maximum number of clients to the telnet server */
00075 #define CTK_TERM_CONF_MAX_TELNET_CLIENTS 3
00076 
00077 /* Telnet server port */
00078 #define CTK_TERM_CONF_TELNET_PORT 23
00079 
00080 /* Serial server output buffer size */
00081 #define CTK_TERM_CONF_SERIAL_BUFFER_SIZE 300
00082 
00083 /* Maximum number of clients to the terminal module.
00084    Should be set to CTK_TERM_CONF_MAX_TELNET_CLIENTS or
00085    CTK_TERM_CONF_MAX_TELNET_CLIENTS+1 if the serial server is used too
00086 */
00087 #define CTK_TERM_CONF_MAX_CLIENTS (CTK_TERM_CONF_MAX_TELNET_CLIENTS+1)
00088 
00089 #define CTK_VNCSERVER_CONF_NUMCONNS 8
00090 
00091 #define CTK_VNCSERVER_CONF_MAX_ICONS 8
00092 
00093 #define EMAIL_CONF_WIDTH 48
00094 #define EMAIL_CONF_HEIGHT 16
00095 
00096 #define IRC_CONF_WIDTH 78
00097 #define IRC_CONF_HEIGHT 20
00098 
00099 #define IRC_CONF_SYSTEM_STRING "ethernut"
00100 
00101 
00102 #define LIBCONIO_CONF_SCREEN_WIDTH  70
00103 #define LIBCONIO_CONF_SCREEN_HEIGHT 40
00104 
00105 
00106 
00107 #define LOG_CONF_ENABLED 0
00108 
00109 #define PROGRAM_HANDLER_CONF_MAX_NUMDSCS 10
00110 
00111 /* COM port to be used for SLIP connection */
00112 #define SLIP_PORT RS232_PORT_0
00113 
00114 #define TELNETD_CONF_LINELEN 64
00115 #define TELNETD_CONF_NUMLINES 16
00116 
00117 
00118 #define UIP_CONF_MAX_CONNECTIONS 10
00119 #define UIP_CONF_MAX_LISTENPORTS 10
00120 #define UIP_CONF_BUFFER_SIZE     100
00121 
00122 #define UIP_CONF_TCP_SPLIT       1
00123 
00124 #define UIP_CONF_UDP_CONNS       6
00125 
00126 #define UIP_CONF_FWCACHE_SIZE    1
00127 
00128 #define UIP_CONF_BROADCAST       1
00129 
00130 
00131 /* The size of the HTML viewing area. */
00132 #define WWW_CONF_WEBPAGE_WIDTH 46
00133 #define WWW_CONF_WEBPAGE_HEIGHT 25
00134 
00135 /* The size of the "Back" history. */
00136 #define WWW_CONF_HISTORY_SIZE 8
00137 
00138 /* Defines the maximum length of an URL */
00139 #define WWW_CONF_MAX_URLLEN 160
00140 
00141 /* The maxiumum number of widgets (i.e., hyperlinks, form elements) on
00142    a page. */
00143 #define WWW_CONF_MAX_NUMPAGEWIDGETS 30
00144 
00145 /* Turns <center> support on or off; must be on for forms to work. */
00146 #define WWW_CONF_RENDERSTATE 1
00147 
00148 /* Toggles support for HTML forms. */
00149 #define WWW_CONF_FORMS       1
00150 
00151 /* Maximum lengths for various HTML form parameters. */
00152 #define WWW_CONF_MAX_FORMACTIONLEN  80
00153 #define WWW_CONF_MAX_FORMNAMELEN    40
00154 #define WWW_CONF_MAX_INPUTNAMELEN   40
00155 #define WWW_CONF_MAX_INPUTVALUELEN  40
00156 
00157 #define WWW_CONF_PAGEVIEW 1
00158 
00159 #define HAVE_STDINT_H
00160 #include "avrdef.h"
00161 
00162 typedef unsigned short uip_stats_t;
00163 
00164 
00165 #endif /* __CONTIKI_CONF_H__ */

Generated on Mon Apr 11 14:23:41 2011 for Contiki 2.5 by  doxygen 1.6.1