Ticket #12898: patch-avr-rules.diff
File patch-avr-rules.diff, 881 bytes (added by platon@…, 17 years ago) |
---|
-
../support/make/avr/avr.rules
old new 29 29 PROGRAMMER ?= uisp 30 30 NCC = ncc 31 31 LIBS = -lm 32 NESC_SEPARATOR = \never1096WritE 32 33 33 34 AMADDR = ActiveMessageAddressC\$$addr 34 AMADDR = ActiveMessageAddressC$(NESC_SEPARATOR)addr 35 35 # Uncomment the next two lines if you have a toolchain without the dollar sign 36 36 # patch. This needs nesc 1.2.8 or newer (1.2.9 is recommended). 37 37 #PFLAGS += -fnesc-separator=__ … … 44 44 VOLUMEFILE = volumes-at45db.xml 45 45 46 46 PFLAGS += -Wall -Wshadow $(NESC_FLAGS) 47 PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c -board=$(SENSORBOARD) 47 PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c -board=$(SENSORBOARD) -fnesc-separator=$(NESC_SEPARATOR) 48 48 ifdef MSG_SIZE 49 49 PFLAGS += -DTOSH_DATA_LENGTH=$(MSG_SIZE) 50 50 endif