]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/micaz.target
Fix the issue with tos-deluge not timing out properly.
[tinyos-2.x.git] / support / make / micaz.target
index 677f5118fdd1ffba67d3d1fc5a96537270e0492b..49a30878e2c0c8042285be59b72ce2746dfd4213 100644 (file)
@@ -3,11 +3,21 @@
 
 PLATFORM = micaz
 SENSORBOARD ?= micasb
-PROGRAMMER_PART ?= -dpart=ATmega128 --wr_fuse_e=ff
-PFLAGS += -finline-limit=100000
+PROGRAMMER ?= uisp
+ifeq ($(PROGRAMMER),avrdude)
+  PROGRAMMER_PART ?= -pm128  -U efuse:w:0xff:m
+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)