[Tinyos-2-commits]
CVS: tinyos-2.x/support/make/pxa27x pxa27x.rules, 1.4, 1.5
Phil Levis
scipio at users.sourceforge.net
Fri Feb 1 12:25:39 PST 2008
Update of /cvsroot/tinyos/tinyos-2.x/support/make/pxa27x
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20159/pxa27x
Modified Files:
pxa27x.rules
Log Message:
Added proper AM group support. Says something that nobody noticed...
Index: pxa27x.rules
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/pxa27x/pxa27x.rules,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** pxa27x.rules 12 Dec 2006 18:22:59 -0000 1.4
--- pxa27x.rules 1 Feb 2008 20:25:37 -0000 1.5
***************
*** 36,44 ****
OPTFLAGS ?= -O3 -g
! PFLAGS += -Wall -Wshadow -DDEF_TOS_AM_GROUP=$(DEFAULT_LOCAL_GROUP) $(NESC_FLAGS)
PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c -board=$(SENSORBOARD)
ifdef MSG_SIZE
PFLAGS += -DTOSH_DATA_LENGTH=$(MSG_SIZE)
endif
DEFAULT_PROGRAM ?= xflash
--- 36,47 ----
OPTFLAGS ?= -O3 -g
! PFLAGS += -Wall -Wshadow $(NESC_FLAGS)
PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c -board=$(SENSORBOARD)
ifdef MSG_SIZE
PFLAGS += -DTOSH_DATA_LENGTH=$(MSG_SIZE)
endif
+ ifdef DEFAULT_LOCAL_GROUP
+ PFLAGS += -DDEFINED_TOS_AM_GROUP=$(DEFAULT_LOCAL_GROUP)
+ endif
DEFAULT_PROGRAM ?= xflash
More information about the Tinyos-2-commits
mailing list