Can't compile Arduino WiFi Rev2

Hi,

I'm having an issue getting the board up and going.

I'm using:
Arduino IDE 1.8.13
megaAVR Boards 1.8.3
Running on:
R-pi 4
Bullseye

When trying to compile, I get the following error message:

"avr-g++: error: device-specs/specs-atmega4809: No such file or directory
exit status 1
Error compiling for board Arduino Uno WiFi Rev2."

I searched the forum and found this thread from 2019- [Can't compile for Uno WiFi Rev 2] where the issue was identified (Linux ARM version of avr-gcc 5.4.0-atmel3.6.1-arduino2 doesn't support ATmega4809), discussed and reported to the dev group on Github.

Following the bug report over to github, it sounded like the issue was taken care of.
[Linux ARM version of avr-gcc 5.4.0-atmel3.6.1-arduino2 doesn't support ATmega4809 · Issue #17 · arduino/ArduinoCore-megaavr · GitHub]

Has anyone else had this issue, and if so, how did you solve it?

gspilot

Carry out these basic steps:

  1. uninstall the IDE (https://support.arduino.cc/hc/en-us/articles/360021325733-Uninstall-Arduino-IDE) and then install the latest version https://support.arduino.cc/hc/en-us/articles/360019833020-How-to-install-the-Arduino-IDE.
  2. install the board’s package core, https://www.arduino.cc/en/Guide/Cores
  3. Use a good quality data USB cable to connect the board to the computer without anything connected or wired to the board. Do not use USB 3.0 port or USB hub.
  4. Make sure you select the board and the port it is connected to before uploading a sketch.

Thank you!

For anyone else having this issue and viewing this thread, the version of the IDE that I was running was installed through APT.

Prior to purchasing the WiFi Rev2, all I had ever programmed with it were Uno's, and they worked fine. I assume the packages in the repositories were fairly outdated.

Thanks again, dozie!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.