]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/btnode3/MotePlatformC.nc
Merge devel code into the trunk.
[tinyos-2.x.git] / tos / platforms / btnode3 / MotePlatformC.nc
diff --git a/tos/platforms/btnode3/MotePlatformC.nc b/tos/platforms/btnode3/MotePlatformC.nc
new file mode 100644 (file)
index 0000000..98cceb1
--- /dev/null
@@ -0,0 +1,31 @@
+/* $Id$
+ * Copyright (c) 2006 ETH Zurich.
+ * Copyright (c) 2005 Intel Corporation
+ * All rights reserved.
+ *
+ * This file is distributed under the terms in the attached INTEL-LICENSE     
+ * file. If you do not find these files, copies can be found by writing to
+ * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA, 
+ * 94704.  Attention:  Intel License Inquiry.
+ */
+/**
+ * The porttion of a mica-family initialisation that is btnode3-specific.
+ * 
+ * @author David Gay
+ * @author Jan Beutel
+ */
+configuration MotePlatformC
+{
+  provides interface Init as PlatformInit;
+  uses interface Init as SubInit;
+}
+implementation {
+  components MotePlatformP, HplCC1000InitP, HplAtm128GeneralIOC as IO;
+
+  PlatformInit = MotePlatformP;
+  PlatformInit = HplCC1000InitP;
+  
+  MotePlatformP.SerialIdPin -> IO.PortA4; //TODO: btnode3 does not support this
+  SubInit = MotePlatformP.SubInit;
+  
+}