35 #include "contiki-net.h"
38 #include "lib/config.h"
39 #include "net/ethernet-drv.h"
42 #define CTK_PROCESS &ctk_process,
48 #define RESOLV_PROCESS ,&resolv_process
50 #define RESOLV_PROCESS
53 PROCINIT(&etimer_process,
58 static struct ethernet_config *ethernet_config;
60 void clock_update(
void);
69 main(
int argc,
char **argv)
86 videomode(VIDEOMODE_80COL);
91 ethernet_config = config_read(
"contiki.cfg");
94 static struct ethernet_config config = {0xC0B0,
"cs8900a.eth"};
109 ethernet_config = &config;
115 process_start((
struct process *)ðernet_process, (
char *)ethernet_config);
117 autostart_start(autostart_processes);
119 log_message(
"Contiki up and running ...",
"");