]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added iris support
authorsallai <sallai>
Wed, 18 Jun 2008 18:28:01 +0000 (18:28 +0000)
committersallai <sallai>
Wed, 18 Jun 2008 18:28:01 +0000 (18:28 +0000)
apps/tutorials/LowPowerSensing/Base/LowPowerSensingBaseAppC.nc
apps/tutorials/LowPowerSensing/Base/Makefile
apps/tutorials/LowPowerSensing/LowPowerSensingConstants.h
apps/tutorials/LowPowerSensing/Sampler/LowPowerSensingPeriodicSamplerAppC.nc
apps/tutorials/LowPowerSensing/Sampler/Makefile

index 4dfd95816ce2d8f77e9f9834c1257051e55ab20d..7b8aa0669ef448948d2c8ef71f71aaa0e0f982e8 100644 (file)
@@ -74,5 +74,10 @@ implementation {
   components CC1000CsmaRadioC as LPLProvider;
   App.LPL -> LPLProvider;
 #endif
+
+#if defined(PLATFORM_IRIS)
+  components RF230ActiveMessageC as LPLProvider;
+  App.LPL -> LPLProvider;
+#endif
 }
 
index 5818a73836a8203cd96983ec4ba28f32c423667c..8aaf58d945a354cc2827aae125244a9fa97bd150 100644 (file)
@@ -1,5 +1,6 @@
 COMPONENT=LowPowerSensingBaseAppC
 CFLAGS += -I.. -I../universal_sensors
+CFLAGS += -DLOW_POWER_LISTENING
 #CFLAGS += -I.. -I../tmote_onboard_sensors
 #CFLAGS += -DCC1K_DEFAULT_FREQ=CC1K_914_077_MHZ
 
index a0687f476395cda8b5164e2459073aa9bf606202..d883c111841bc63914d8ed3b7f6ca7e45f2a3a2b 100644 (file)
@@ -42,7 +42,6 @@
 #endif
 #include "LowPowerSensingMsgs.h"
 
-#define LOW_POWER_LISTENING
 enum {
   LPL_INTERVAL       = 2000,
   SAMPLING_INTERVAL     = 3000,
index 4a4868422af1a03c7466c0337b01d9ff47a8d4a0..9a07855af2a08fe366ce59e7b2853c155a560b25 100644 (file)
@@ -69,5 +69,11 @@ implementation {
   components CC1000CsmaRadioC as LPLProvider;
   App.LPL -> LPLProvider;
 #endif
+
+#if defined(PLATFORM_IRIS)
+  components RF230ActiveMessageC as LPLProvider;
+  App.LPL -> LPLProvider;
+#endif
+
 }
 
index 0b1792d3aece1c45ad5aec3f5d5015f58669556b..01c47c118cec746f132cae1a209be7a38af4238a 100644 (file)
@@ -1,6 +1,7 @@
 COMPONENT=LowPowerSensingPeriodicSamplerAppC
 CFLAGS += -I.. -I../sampleLog
 CFLAGS += -I.. -I../universal_sensors
+CFLAGS += -DLOW_POWER_LISTENING
 #CFLAGS += -I.. -I../tmote_onboard_sensors
 #CFLAGS += -DCC1K_DEFAULT_FREQ=CC1K_914_077_MHZ