Hi Simon, thanx for the report. I suppose we could pull in a single header file from avr-libc trunk if the general consensus is that the Atmel version is in a bad state.
Aurelien, you been pushing for using the Atmel patches. Can you see any issues with this? Thanx. On Sat, Sep 20, 2014 at 11:01 PM, Simon John <[email protected]> wrote: > Package: avr-libc > Version: 1:1.8.0+Atmel3.4.4-1 > > When compiling firmware for Pinoccio (https://pinocc.io/) which uses and > ATmega256RFR2, I get various errors from HardwareSerial.cpp which > prevents the firmware from compiling. For log see: > > https://gist.github.com/sej7278/51c8853e06ba667d2135 > > If I delete > /usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp > then it builds ok but then breaks serial comms. > > If I replace /usr/lib/avr/include/avr/iom256rfr2.h with the one from > avr-libc trunk, it compiles and works: > > http://svn.savannah.nongnu.org/viewvc/trunk/avr-libc/include/avr/iom256rfr2.h?revision=2410&root=avr-libc&view=markup > > See also discussion: > > https://github.com/Pinoccio/firmware-pinoccio/issues/10 > > I asked Atmel and they have no plans to move to avr-libc 1.8.1 in their > SP1 release, not sure about afterwards. > > So a quick fix would be to import the upstream iom256rfr2.h > > The alternative is going back to using avr-libc "proper" rather than > Atmel's version, but avr-libc 1.8.1 requires avr-gcc 4.9.1 > > Debian jessie/sid with Arduino 1.0.5 > > Thanks. > > -- > Simon John > https://github.com/sej7278 > [email protected] -- Håkan Ardö -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

