[Tinyos-2-commits] CVS: tinyos-2.x/support/make iris.target, 1.1, 1.2

Janos Sallai sallai at users.sourceforge.net
Tue Nov 6 13:39:45 PST 2007


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

Modified Files:
	iris.target 
Log Message:
added check for atm1281 compatible external tools

Index: iris.target
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/iris.target,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** iris.target	6 Nov 2007 19:32:56 -0000	1.1
--- iris.target	6 Nov 2007 21:39:43 -0000	1.2
***************
*** 5,8 ****
--- 5,14 ----
  SENSORBOARD ?= micasb
  PROGRAMMER ?= avrdude
+ 
+ AVRGCC_SUPPORTS_ATM1281 = $(shell avr-gcc --target-help 2>&1 | grep -c atmega12811)
+ ifneq ($(AVRGCC_SUPPORTS_ATM1281),1)
+   $(error Found avr-gcc with no ATMega1281 support. For details on upgrading your toolchain, please see "http://www.isis.vanderbilt.edu/projects/NEST/tinyos-2.x-iris/doc/html/install-tinyos-iris.html")
+ endif
+ 
  ifeq ($(PROGRAMMER),avrdude)
    PROGRAMMER_PART ?= -pm1281 -U efuse:w:0xff:m



More information about the Tinyos-2-commits mailing list