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;
67 main(
int argc,
char **argv)
81 bordercolor(BORDERCOLOR);
87 ethernet_config = config_read(
"contiki.cfg");
90 static struct ethernet_config config = {0xD500,
"cs8900a.eth"};
105 ethernet_config = &config;
111 process_start((
struct process *)ðernet_process, (
char *)ethernet_config);
113 autostart_start(autostart_processes);
115 log_message(
"Contiki up and running ...",
"");