34 #include <avr/pgmspace.h>
36 #include <avr/eeprom.h>
40 #include "loader/symbols-def.h"
41 #include "loader/symtab.h"
43 #if RF230BB //radio driver using contiki core mac
48 #else //radio driver using Atmel/Cisco 802.15.4'ish MAC
51 #include "sicslowmac.h"
57 #include "contiki-net.h"
58 #include "contiki-lib.h"
60 #include "dev/rs232.h"
65 #include "sicslowmac.h"
74 PROCESS(rcb_leds,
"RCB leds process");
77 PROCINIT(&etimer_process, &tcpip_process, &rcb_leds);
79 PROCINIT(&etimer_process, &mac_process, &tcpip_process, &rcb_leds);
83 uint8_t mac_address[8] EEMEM = {0x02, 0x11, 0x22, 0xff, 0xfe, 0x33, 0x44, 0x55};
89 #define LEDOff(x) (PORTE |= (x))
90 #define LEDOn(x) (PORTE &= ~(x))
98 USART_PARITY_NONE | USART_STOP_BITS_1 | USART_DATA_BITS_8);
101 rs232_redirect_stdout(RS232_PORT_1);
103 DDRE |= LED1 | LED2 | LED3;
114 if((error = icmp6_new(
NULL)) == 0) {
154 autostart_start(autostart_processes);
156 printf_P(PSTR(
"\n********BOOTING CONTIKI*********\n"));
158 printf_P(PSTR(
"System online.\n"));