--- /dev/null
+#include "hardware.h"
+
+module PlatformP{
+ provides interface Init;
+ uses interface Init as Msp430ClockInit;
+ uses interface Init as LedsInit;
+}
+implementation {
+ command error_t Init.init() {
+ call Msp430ClockInit.init();
+ TOSH_SET_PIN_DIRECTIONS();
+ call LedsInit.init();
+ return SUCCESS;
+ }
+
+ default command error_t LedsInit.init() { return SUCCESS; }
+
+}
+