contiki-conf.h

00001 
00002 #ifndef __CONTIKI_CONF_H__
00003 #define __CONTIKI_CONF_H__
00004 
00005 #include "8051def.h"
00006 #include "sys/cc.h"
00007 #include <ctype.h>
00008 #include <string.h>
00009 #include "log.h"
00010 
00011 /* Time type. */
00012 /*typedef unsigned long clock_time_t;*/
00013 typedef unsigned short clock_time_t;
00014 
00015 /* Defines tick counts for a second. */
00016 #define CLOCK_CONF_SECOND               128
00017 
00018 #define rtimer_arch_now()       clock_time()
00019 
00020 /* Memory filesystem RAM size. */
00021 #define CFS_RAM_CONF_SIZE               512
00022 
00023 /* Logging.. */
00024 #define LOG_CONF_ENABLED                0
00025 
00026 /* XXX argh, ugly hack to make stuff compile! */
00027 #define snprintf(BUF, SIZE, ...) sprintf(BUF, __VA_ARGS__)
00028 
00029 #endif /* __CONTIKI_CONF_H__ */

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