I'm trying to use an Arduino Due with a Raspberry Pi 4. I've installed arduino-cli, and I can use this to see that the board is connected and needs the arduino:sam core to work.
$ arduino-cli board list
Port Protocol Type Board Name FQBN Core
/dev/ttyACM0 serial Serial Port (USB) Arduino Due (Programming Port) arduino:sam:arduino_due_x_dbg arduino:sam
However, when I try to install the core, I get the following message:
$ arduino-cli core install arduino:sam
Downloading packages...
Error during install: Error downloading tool arduino:arm-none-eabi-gcc@4.8.3-2014q1: no versions available for the current OS, try contacting packages@arduino.cc
I've tried the same process with 3 different OSes:
- The default Raspberry Pi OS (32-bit), a port of Debian Bullseye;
- The legacy Raspberry Pi OS, a port of Debian Buster;
- Ubuntu Server 22.04.2 LTS (64-bit)
All three give me the same error.
The problem seems to be specific to the arduino:sam core. I tested running $ arduino-cli core install arduino:samd
, and that installed without any issue.
I did also take the error message advice try contacting packages@arduino.cc
literally, but with that address being undeliverable I've ended up here.
Is there a workaround I could use to program the Due from the Pi command line? Is there another operating system I should use which would work?