]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added channel selection support to makefiles for micaz and iris
authorsallai <sallai>
Wed, 9 Jul 2008 15:36:50 +0000 (15:36 +0000)
committersallai <sallai>
Wed, 9 Jul 2008 15:36:50 +0000 (15:36 +0000)
support/make/iris.target
support/make/micaz.target

index 7ce8a075a81f258c14464fd906b91886defe3be6..c0149bcdc7369cf2018078073167cc8648f3f1af 100644 (file)
@@ -20,6 +20,11 @@ endif
 
 AVR_FUSE_H ?= 0xd9
 AVR_FUSE_L ?= 0xff
+
+ifdef RF230_CHANNEL
+PFLAGS += -DRF230_DEF_CHANNEL=$(RF230_CHANNEL)
+endif
+
 $(call TOSMake_include_platform,avr)
 
 iris: $(BUILD_DEPS)
index 9f3a1f50f29fb7f65bf3d3c80b8fe5216f794429..49a30878e2c0c8042285be59b72ce2746dfd4213 100644 (file)
@@ -11,9 +11,13 @@ endif
 ifeq ($(PROGRAMMER),uisp)
   PROGRAMMER_PART ?= -dpart=ATmega128  --wr_fuse_e=ff
 endif
-  
+
 AVR_FUSE_H ?= 0xd9
 
+ifdef CC2420_CHANNEL
+PFLAGS += -DCC2420_DEF_CHANNEL=$(CC2420_CHANNEL)
+endif
+
 $(call TOSMake_include_platform,avr)
 
 micaz: $(BUILD_DEPS)