From: Oliver S. <oli...@us...> - 2007-12-23 12:32:48
|
Update of /cvsroot/contiki/contiki-2.x/cpu/6502 In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv1470 Modified Files: 6502def.h Log Message: Introduced high-level macros to be set on the make command line. They allow easy configuration of Contiki for typical (cc65-)project scenarios. Index: 6502def.h =================================================================== RCS file: /cvsroot/contiki/contiki-2.x/cpu/6502/6502def.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** 6502def.h 16 Dec 2007 17:03:27 -0000 1.4 --- 6502def.h 23 Dec 2007 12:32:43 -0000 1.5 *************** *** 61,64 **** --- 61,92 ---- #define UIP_ARCH_CHKSUM 1 + #if WITH_CLIENT + #define UIP_CONF_ACTIVE_OPEN 1 + #else /* WITH_CLIENT */ + #define UIP_CONF_ACTIVE_OPEN 0 + #endif /* WITH_CLIENT */ + + #if WITH_DNS + #define UIP_CONF_UDP 1 + #define UIP_CONF_UDP_CHECKSUMS 1 + #else /* WITH_DNS */ + #define UIP_CONF_UDP 0 + #define UIP_CONF_UDP_CHECKSUMS 0 + #endif /* WITH_DNS */ + + #define CTK_CONF_WIDGET_FLAGS 0 + #define CTK_CONF_WINDOWS 0 + #define CTK_CONF_WINDOWMOVE 0 + #define CTK_CONF_WINDOWCLOSE 0 + #define CTK_CONF_ICONS 0 + #define CTK_CONF_MENUS 0 + #define CTK_CONF_SCREENSAVER 0 + + #if WITH_MOUSE + #define CTK_CONF_MOUSE_SUPPORT 1 + #else /* WITH_MOUSE */ + #define CTK_CONF_MOUSE_SUPPORT 0 + #endif /* WITH_MOUSE */ + #define ctk_arch_keyavail kbhit #define ctk_arch_getkey cgetc |