[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Fwd: [Tinyos-help] TinyOs avr-gcc-4

From: David Gay
Subject: [avr-gcc-list] Fwd: [Tinyos-help] TinyOs avr-gcc-4
Date: Sat, 13 Oct 2007 18:02:08 -0700

Seems some other people than Domenico (who asked, and got an answer,
this question earlier) would be interested in this... (also, though
the e-mail isn't 100% clear on that subject, the instructions are for
using avr-gcc+binutils as is, i.e., w/o the patch to support $ in

David Gay

---------- Forwarded message ----------
From: David Gay <address@hidden>
Date: Oct 9, 2007 8:29 AM
Subject: Re: [Tinyos-help] TinyOs avr-gcc-4
To: Domenico Arenga <address@hidden>
Cc: address@hidden

On 10/9/07, Domenico Arenga <address@hidden> wrote:
> I'm a student of the universita one of Pisa, Italy. I would want to know if
> it is possible to use avr-GCC 4 on tinyOs. Excuse the disturbance, and
> thanks thousands.

You need nesC 1.2.9. I think there's no rpm at this point, so you'll
have to install it from source, available at
Read the INSTALL directions once you've extracted files from the tarball.

You will also have to make the following changes to the tinyos tree
(changes to the avr make rules):

Index: mica2.target
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/mica2.target,v
retrieving revision 1.4
diff -r1.4 mica2.target
< PFLAGS += -finline-limit=100000
> PFLAGS += --param max-inline-insns-single=100000
> #PFLAGS += -finline-limit=100000
Index: mica2dot.target
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/mica2dot.target,v
retrieving revision 1.4
diff -r1.4 mica2dot.target
< PFLAGS += -finline-limit=100000
> PFLAGS += --param max-inline-insns-single=100000
> #PFLAGS += -finline-limit=100000
Index: avr/avr.rules
RCS file: /cvsroot/tinyos/tinyos-2.x/support/make/avr/avr.rules,v
retrieving revision 1.6
diff -r1.6 avr.rules
< AMADDR = ActiveMessageAddressC\$$addr
> AMADDR = ActiveMessageAddressC__addr
< PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c
> PFLAGS += -target=$(PLATFORM) -fnesc-cfile=$(BUILDDIR)/app.c 
> -board=$(SENSORBOARD) -fnesc-separator=__

reply via email to

[Prev in Thread] Current Thread [Next in Thread]