]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/micaz.target
added channel selection support to makefiles for micaz and iris
[tinyos-2.x.git] / support / make / micaz.target
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)