Good point, thanks! The version that I just installed on my Ubuntu 26.04 is 1.5.1, but our other installations (from a few weeks ago) still use 1.5.0. I'll let my colleagues know that they should reinstall. May save us some head-scratching later.
It's solved! I should have looked there first!
On my Ubuntu 26.04, arduino-cli version returned 1.2.2, which was different from my Ubuntu 22.04 machine (1.5.0). I reinstalled it on 26.04 - it all works now.
Thanks for help and sorry about the...
Just posted on the arduino forum, will see what they say: https://forum.arduino.cc/t/arduino-cli-cannot-find-platform-on-ubunty-26-04-works-on-22-04/1448834
Thanks! As I said, if you'd like to reproduce the problem, you could install arduino-cli in a Ubuntu 26.04 docker container and try to build a hello-world sketch for teensy:avr.
If you want, I can report the problem as is on an arduino forum...
Yes, I did: deleted and reinstalled before I did diff -r above. Also, just did diff on the files in staging: they are identical on Ubuntu 26.04 and 22.04.
By the way, package_index.json (attached) on Ubuntu 26.04 is quite different from 22.04...
Thanks! Here it is:
==================================
diff -r packages/teensy/hardware/avr/1.61.0/installed.json /home/xxx/ubuntu.22.04/.arduino15/packages/teensy/hardware/avr/1.61.0/installed.json
7c7
< "Url"...
Good point, I may try. Having said that, it it likely to become a problem for those who develop for Teensy on Ubuntu once they upgrade to Ubuntu 26.04. I'd expect it's a trivial bug somewhere either in Teensy arduino package or, more likely, in...
I'm sorry, I don't know why it's not working and I don't know enough about Arduino CLI to troubleshoot further. Maybe try asking on Arduino's forum?
https://forum.arduino.cc/c/development-tools/arduino-command-line-tools/89
As I mentioned, my installation is the same on Ubuntu 24.04 and Ubuntu 26.04. Everything works on 24.04, but fails as above no 26.04.
> ls -l ~/.arduino15/packages/teensy/*
/home/xxxx/.arduino15/packages/teensy/hardware:
total 4
drwxr-xr-x 3...
Thanks! No new details, though:
> arduino-cli compile --fqbn teensy:avr:teensy41 --verbose .
Error during build: Platform 'teensy:avr' not found: platform not installed
Platform teensy:avr is not found in any known index
Maybe you need to add a...
I've been using arduino-cli to build for Teensy on Ubuntu 22.04 and 24.04. I've configured arduino-cli for Teensy in the same manner on Ubuntu 26.04, but I get an error:
```
> arduino-cli compile --fqbn teensy:avr:teensy41 .
Error during build...