X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Fmica2.target;h=b81960f2bb3cbca23aa5a3ed150528c5955d7faa;hb=4a57660b0c94816a2098e73375aaa7d85ae80ff5;hp=a5e06f59661b0db50d09075da85acd5e66691a17;hpb=bcce1a8f390b5db080a8da9ef1ccc7d4716fea07;p=tinyos-2.x.git diff --git a/support/make/mica2.target b/support/make/mica2.target index a5e06f59..b81960f2 100644 --- a/support/make/mica2.target +++ b/support/make/mica2.target @@ -3,8 +3,14 @@ PLATFORM = mica2 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