Separated from Contiki source tree.