arduino / arduino/ArduinoCore-megaavr

avr-g++: error: device-specs/specs-atmega4809: No such file or directory

Open
#144 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
111
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Hello,

I installed Arduino IDE 1.8.19 on Raspberry Pi (Linux raspberrypi 6.12.20+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux) using sudo apt install arduino.

Using Boards Manager I installed Arduino megaAVR Boards package.

When I try to compile any sketch for Arduino Uno Wifi rev2 I get the following error:

Warning: platform.txt from core 'Arduino megaAVR Boards' contains deprecated compiler.path={runtime.tools.avr-gcc.path}/bin/, automatically converted to compiler.path=/usr/bin/. Consider upgrading this core.
avr-g++: error: device-specs/specs-atmega4809: No such file or directory
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.

Can you please help solving this problem?

Many thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Arduino Uno WiFi Rev2 compilation on the reported Raspberry Pi setup, then inspect the Arduino megaAVR Boards platform.txt entry and the avr-g++ invocation. Check why device-specs/specs-atmega4809 cannot be found and verify the result by compiling a sketch successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.