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
g...@the-jedi.co.uk


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to