Hello! You could use the newest toolchain, there won't be any compilation errors, but some code doesn't work with that, probably becouse the better optimization in gcc (I had problems with the rf230 radio and the at45db flash chips).
Current toolchain: binutils 2.17; gcc 4.1.2; avr-libc 1.4.7, avrdude 5.4 SVN version: Probably this will be the toolchain for the next tinyos release. The main reason to update is the atmega128rfa1 support. Patches: Most of them came from the winavr project (and they're usually backport bugfixes from the newer toolchain): http://winavr.cvs.sourceforge.net/viewvc/winavr/patches/ except: -dollarsign.patch (for backward compatibility: nesc did need it some time ago) -rfa1-*.patch (atm128rfa1 support) -makeinfo411.patch (needed to compile binutils info files with makeinfo 4.11 and newer) Patches at Razvan's repository: these are also winavr patches and the dollar sign patch, but merged into one file per package. Andris On Sun, Aug 7, 2011 at 6:01 PM, Martin Cerveny <mar...@c-home.cz> wrote: > Hello. > > What is the up-to-date version and patchset of toolchain for TinyOS on AVR > platforms ? > Does anyone analyzed/combined patches from many sources ? > Why the tinyos using older releases, will be updated ? > > Thanks for answers, Martin Cerveny > > ----------------------------------- > > I found following: > > GNU sources (without patches): > > binutils: 2.21 > gcc: 4.5.3 (4.6.1 is problematic) > avr-libc: 1.7.1 > nesc: 1.3.3 > avarice: 2.10 > avrdude: 5.10 > gdb: 7.3 > simulavr: 0.1.2.7 > > TinyOS CVS (tools/avr-toolchain): > > binutils: 2.17 + patches > gcc: 4.1.2 + patches > avr-libc: 1.6.7 > nesc: 1.3.1 > avarice: - > avrdude: 5.10 > gdb: - > simulavr: - > > Toolchain by Razvan (git://hinrg.cs.jhu.edu/git/razvanm/tinyos-2.x.git > tools/avr): > > binutils: 2.17 + patches > gcc: 4.1.2 + patches > avr-libc: 1.4.7 > nesc: 1.3.3 > avarice: - > avrdude: 5.4 > gdb: - > simulavr: - > > Toolchain by Atmel > (http://www.atmel.com/dyn/resources/prod_documents/avr8-gnu-toolchain-3.2.3.314-readme.pdf) > > binutils: 2.20.1 + patches? > gcc: 4.5.1 + patches? > avr-libc: 1.7.1 + patches? > nesc: - > avarice: - > avrdude: - > gdb: 6.7.1 + patches? > simulavr: - > > Toolchain by avr-libc > (http://www.nongnu.org/avr-libc/user-manual/install_tools.html) with > recommened patches from freebsd.org (http://www.freebsd.org/ports/devel.html): > > binutils: 2.20_1 > gcc: 3.4.6_1/4.2.4_2/4.3.4_2 > avr-libc: 1.7.0,1 > nesc: - > avarice: 2.10 > avrdude: 5.10 > gdb: 6.8 > simulavr: 0.1.2_16 > > Debian (with patches, stable/unstable): > > binutils: 2.20.1-1/2.20.1-2 > gcc: 4.3.5-1/4.5.3-1 > avr-libc: 1.6.8-2/1.7.1-2 > nesc: - > avarice: 2.10-3/2.10-3 > avrdude: 5.10-3/5.10-3 > gdb: 6.4.90.dfsg-3/7.2-1 > simulavr: 0.1.2.2-6.1/0.1.2.2-6.1 > > ........ > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help