44 #include <avr/pgmspace.h>
47 #include "contiki-lib.h"
50 #include "dev/rs232.h"
51 #include "dev/watchdog.h"
55 #include "dev/ds2401.h"
56 #include "sys/node-id.h"
64 USART_PARITY_NONE | USART_STOP_BITS_1 | USART_DATA_BITS_8);
66 #if NETSTACK_CONF_WITH_IPV4 || NETSTACK_CONF_WITH_IPV6
68 rs232_redirect_stdout(RS232_PORT_0);
70 rs232_redirect_stdout(RS232_PORT_0);
106 leds_on(LEDS_YELLOW);
110 printf_P(PSTR(CONTIKI_VERSION_STRING
" started. Node id %u\n"), node_id);
115 autostart_start(autostart_processes);
void random_init(unsigned short seed)
Seed the cc2538 random number generator.
void clock_init(void)
Initialize the clock library.
Network initialization for the MICAz port.
int process_run(void)
Run the system once - call poll handlers and process one event.
Header file for the Rime stack
#define NULL
The null pointer.
void rs232_init(void)
Initialize the RS232 module.
void process_start(struct process *p, process_data_t data)
Start a process.
int main(void)
This is main...
void rtimer_init(void)
Initialize the real-time scheduler.
void process_init(void)
Initialize the process module.
void ctimer_init(void)
Initialize the callback timer library.