core architecture avrxmega3 not supported

Bug #1754624 reported by J T
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gcc-avr (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Cannot compile programs for new ATtiny devices like ATtiny214/414/814 under avr-gcc(GCC) 5.4.0 from Ubuntu packages.
To work with new devices it is mandatory to use ATMEL packs from http://packs.download.atmel.com/

According to note in toolchain source source: http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.6.0/:
"
How to use Atmel DFPs with Stanadalone toolchain?

# Download DFP from here (e.g. Atmel.ATmega_DFP.1.0.86.atpack)
# Unzip .atpack to packs directory (/home/packs/)
# Invoke avr-gcc with additional option -B to tell gcc where to look for device specific information
    e.g. avr-gcc -mmcu=atmega328pb -B /home/packs/Atmel.ATmega_DFP.1.0.86/gcc/dev/atmega328pb/ -I /home/packs/Atmel.ATmega_DFP.1.0.86/include/
"

It works OK for new ATmega devices, but some new ATtiny models has avrxmega3 core and avr-gcc produces this error message:

error: unknown core architecture ‘avrxmega3’ specified with ‘-mmcu=’

Also there is no directory avrxmega3 in /usr/lib/gcc/avr/5.4.0

Tags: avr gcc-avr
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gcc-avr (Ubuntu):
status: New → Confirmed
Revision history for this message
Ronald Sutherland (rsutherland) wrote :

Microchip has made the source available for there AVR GCC 3.6.2 toolchain, which should provide the needed architectures for the new devices. The Debian maintain may need to be shown this link.

https://www.microchip.com/mplab/avr-support/avr-and-sam-downloads-archive

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.