]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added support for mulle in net programing
authorr-studio <r-studio>
Mon, 7 Sep 2009 14:05:02 +0000 (14:05 +0000)
committerr-studio <r-studio>
Mon, 7 Sep 2009 14:05:02 +0000 (14:05 +0000)
tos/lib/net/Deluge/extra/NetProgC.nc
tos/lib/net/Deluge/extra/NetProgM.nc

index 462ff7da4883f412557da2857805b3ff19a52304..9857964a1b9afd1e05868e9b746b66f99c7fcef4 100644 (file)
@@ -53,7 +53,11 @@ implementation {
   components LedsC;
   NetProgM.Leds -> LedsC;
   
-  components CC2420ControlP, ActiveMessageAddressC;
-  NetProgM.CC2420Config -> CC2420ControlP;
+  components ActiveMessageAddressC;
   NetProgM.setAmAddress -> ActiveMessageAddressC;
+
+#if !defined(PLATFORM_MULLE)
+  components CC2420ControlP;
+  NetProgM.CC2420Config -> CC2420ControlP;
+#endif
 }
index e77ebeedeb4b09780359cfa6b8eb8cc0dbe91055..95f4d30bf35670344ef39ef5260a3a3bc116716e 100644 (file)
@@ -40,7 +40,9 @@ module NetProgM {
     interface InternalFlash as IFlash;
     interface Crc;
     interface Leds;
+#if !defined(PLATFORM_MULLE)
     interface CC2420Config;
+#endif
     async command void setAmAddress(am_addr_t a);
     interface ReprogramGuard;
   }