[Tinyos-2-commits] CVS: tinyos-2.x/support/make iris.target, NONE, 1.1 btnode3.target, 1.4, 1.5 mica2.target, 1.4, 1.5 mica2dot.target, 1.4, 1.5 micaz.target, 1.4, 1.5

Janos Sallai sallai at users.sourceforge.net
Tue Nov 6 11:32:59 PST 2007


Update of /cvsroot/tinyos/tinyos-2.x/support/make
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22965

Modified Files:
	btnode3.target mica2.target mica2dot.target micaz.target 
Added Files:
	iris.target 
Log Message:
updated AVR specific makefiles with dual support for uisp and avrdude

--- NEW FILE: iris.target ---
#-*-Makefile-*- vim:syntax=make
#$Id: iris.target,v 1.1 2007/11/06 19:32:56 sallai Exp $

PLATFORM = iris
SENSORBOARD ?= micasb
PROGRAMMER ?= avrdude
ifeq ($(PROGRAMMER),avrdude)
  PROGRAMMER_PART ?= -pm1281 -U efuse:w:0xff:m
endif

ifeq ($(PROGRAMMER),uisp)
  PROGRAMMER_PART ?= -dpart=ATmega1281 --wr_fuse_e=ff
endif

AVR_FUSE_H ?= 0xd9
AVR_FUSE_L ?= 0xff
$(call TOSMake_include_platform,avr)

iris: $(BUILD_DEPS)
	@:
Index: btnode3.target
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/btnode3.target,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** btnode3.target	12 Dec 2006 18:22:55 -0000	1.4
--- btnode3.target	6 Nov 2007 19:32:56 -0000	1.5
***************
*** 4,9 ****
  PLATFORM ?= btnode3
  SENSORBOARD ?= micasb
! PROGRAMMER_PART ?= -dpart=ATmega128 --wr_fuse_e=ff
! PFLAGS += -finline-limit=100000
  
  ifdef TINYOS_NP
--- 4,15 ----
  PLATFORM ?= btnode3
  SENSORBOARD ?= micasb
! 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

Index: mica2.target
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/mica2.target,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mica2.target	12 Dec 2006 18:22:55 -0000	1.4
--- mica2.target	6 Nov 2007 19:32:56 -0000	1.5
***************
*** 4,9 ****
  PLATFORM = mica2
  SENSORBOARD ?= micasb
! PROGRAMMER_PART ?= -dpart=ATmega128 --wr_fuse_e=ff
! PFLAGS += -finline-limit=100000
  
  AVR_FUSE_H ?= 0xd9
--- 4,15 ----
  PLATFORM = mica2
  SENSORBOARD ?= micasb
! 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

Index: mica2dot.target
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/mica2dot.target,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** mica2dot.target	12 Dec 2006 18:22:55 -0000	1.4
--- mica2dot.target	6 Nov 2007 19:32:56 -0000	1.5
***************
*** 3,8 ****
  
  PLATFORM = mica2dot
! PROGRAMMER_PART ?= -dpart=ATmega128 --wr_fuse_e=ff
! PFLAGS += -finline-limit=100000
  
  AVR_FUSE_H ?= 0xd9
--- 3,15 ----
  
  PLATFORM = mica2dot
! 
! 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

Index: micaz.target
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/micaz.target,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** micaz.target	12 Dec 2006 18:22:55 -0000	1.4
--- micaz.target	6 Nov 2007 19:32:56 -0000	1.5
***************
*** 4,10 ****
  PLATFORM = micaz
  SENSORBOARD ?= micasb
! PROGRAMMER_PART ?= -dpart=ATmega128 --wr_fuse_e=ff
! PFLAGS += -finline-limit=100000
  
  AVR_FUSE_H ?= 0xd9
  
--- 4,16 ----
  PLATFORM = micaz
  SENSORBOARD ?= micasb
! 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
  



More information about the Tinyos-2-commits mailing list