Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330637 - dev-embedded/arduino-0017 fails to compile example sketches at atmega328p
Summary: dev-embedded/arduino-0017 fails to compile example sketches at atmega328p
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-31 16:37 UTC by Juergen Rose
Modified: 2011-01-28 07:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-07-31 16:37:06 UTC
If I try to verify (compile) the example sketch blink, arduino says:

Error compiling

unknown MCU 'atmega328p' specified
...
   attiny28

/usr/share/arduino-0017/hardware/cores/arduino/wiring_shift.c:1: Fehler: MCU »atmega328p« nur für Assemblierung unterstützt.

Do I need dev-embedded/arduino-0018?




Reproducible: Always
Comment 1 Juergen Rose 2010-07-31 17:08:28 UTC
Still some information abuot the toolchain:

root@thinkpad:/usr/local/portage/dev-embedded/arduino(115)# qlist -Iv avr
cross-avr/avr-libc-1.6.2
cross-avr/binutils-2.20.1-r1
cross-avr/gcc-4.2.4-r1
dev-embedded/avrdude-5.8
Comment 2 Juergen Rose 2010-07-31 19:41:30 UTC
After installing the toolchain with:
USE="-openmp"  crossdev -t avr -s4 -S --g 4.3.3 --without-headers

the issue disappeared.

(I forget the --g 4.3.3 option during my last install).