]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/Deluge/extra/NetProgC.nc
added iris support for deluge
[tinyos-2.x.git] / tos / lib / net / Deluge / extra / NetProgC.nc
index f88966181c924910d3c72cae08e144aa3f91b4c3..8a4c6c1288ca9113a4b2ea5c8cc9ecd183d3be02 100644 (file)
@@ -40,15 +40,18 @@ configuration NetProgC {
 
 implementation {
 
-  components MainC, InternalFlashC as IFlash, CrcP, 
-    DelugeStorageC, NetProgM;
+  components MainC, InternalFlashC as IFlash, CrcP, NetProgM;
 
   NetProg = NetProgM;
 
   MainC.SoftwareInit -> NetProgM.Init;
-  NetProgM.StorageMap[0] -> DelugeStorageC.StorageMap[0];
-  NetProgM.StorageMap[1] -> DelugeStorageC.StorageMap[1];
-  NetProgM.DelugeMetadata -> DelugeStorageC;
   NetProgM.IFlash -> IFlash;
   NetProgM.Crc -> CrcP;
+  
+  components LedsC;
+  NetProgM.Leds -> LedsC;
+  
+  components CC2420ControlP, ActiveMessageAddressC;
+  NetProgM.CC2420Config -> CC2420ControlP;
+  NetProgM.setAmAddress -> ActiveMessageAddressC;
 }