]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/olimexp169/PlatformSerialC.nc
Merge branch 'release/2.1.0' into debian/2.1.0
[tinyos-2.x.git] / tos / platforms / olimexp169 / PlatformSerialC.nc
diff --git a/tos/platforms/olimexp169/PlatformSerialC.nc b/tos/platforms/olimexp169/PlatformSerialC.nc
new file mode 100644 (file)
index 0000000..58d2833
--- /dev/null
@@ -0,0 +1,21 @@
+
+configuration PlatformSerialC {
+
+  provides interface StdControl;
+  provides interface UartStream;
+  provides interface UartByte;
+
+}
+
+implementation {
+
+  components new Msp430Uart0C() as UartC;
+  UartStream = UartC;
+  UartByte = UartC;
+
+  components TelosSerialP;
+  StdControl = TelosSerialP;
+  TelosSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
+  TelosSerialP.Resource -> UartC.Resource;
+
+}