]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/btnode3.target
updated AVR specific makefiles with dual support for uisp and avrdude
[tinyos-2.x.git] / support / make / btnode3.target
index 6908815e2f1af374bac4b0f95d8c7cbcb812c3f8..a144ae2c31e7b7d1394dc8b7edf20ddb79befed1 100644 (file)
@@ -3,8 +3,14 @@
 
 PLATFORM ?= btnode3
 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
 
 ifdef TINYOS_NP
   ifeq ($(TINYOS_NP),BNP)