Contiki 3.x
Todo List
Global _fstat_r (struct _reent *r, int fd, struct stat *st)
Handle file size with fstat
Global _getpid (void)
Return some process identifier on getpid()
Global _isr_pit0 (void)
compensate for time between offset = rtimer_arch_now() and RTIMER_ARCH_TIMER_ENABLE in rtimer ISR.
Global lis3dh_init ()
Signal errors when initializing the LIS3DH hardware.
Global mac_init (void)
Find a better location to load the IEEE address.
File onewire.c

Use FIFO if UART supports it (UART0, UART1).

Low power wait/stop during sends in 1-wire driver.

Global ow_begin_next_byte (void)
Trigger an event after reading 1-wire stuff
Global ow_read_bytes (uint8_t *dest, const uint8_t count)
sleep while waiting for rx bits on 1-wire bus.
Global power_modes_init (void)

Handle VLLSx modes

Handle VLPR, VLPW modes

Global PROCESS_THREAD (mac_process, ev, data)
: this screws up if calosc is set to TRUE, find out why?
Global random_init (RAND_SEED_TYPE seed)
Use CPU UUID for additional random seeding
Global sicslowmac_dataRequest (void)

For phase 1 the addresses are all long. We'll need a mechanism in the rime attributes to tell the mac to use long or short for phase 2.

: Fix delay in sicslowmac so they do not block receiving

Global sicslowmac_resetRequest (bool setDefaultPIB)
This might be read from the serial eeprom onboard Raven.
Global UART_BRFA (f, b)

Verify proper rounding on UART1 fine adjust calculation

Verify the UART1 fine-adjust calculations if F_SYS*32 > 2^32 <=> F_SYS > 2^27 (== 134217728)

Global voltage_from_raw_adc (uint16_t adc_raw)
Nitpick: Should we divide by 65535 or 65536 in the ADC conversion?
Global voltage_read_vbat ()
Use interrupts to handle AD conversions of Vbat/Vchr