install log
Since I haven’t run the arduino gui in a while, then it means I can do a clean install and not break any existing build chains.
The reference I liked most turned out to be ancient (2013 and a 2.0 teensy ie different architecture) but strangely relevant ‘HalfKay’.
arduino 1.8 gui
You do need the Arduino gui install, it provides the folder structure that teensy requires and updates. For me the linux 64 was a clean install (off the arduino website / no package manager) and came in from https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz ie requires a further $ tar -xJf ~/Downloads/arduino-1.8.19-linux64.tar.xz into where you want it to go).
-
There’s a binary ‘arduino’ in the root runs up the gui
-
There are some install shell files there also which I ran also ''arduino-linux-setup.sh" eg set up some group memberships … or at least said it did.
arduino 1.8 install fix (java version)
Although it ran okay, the menu system was blanked. Caused by the required font not being found. Fix is as follows:
- rename the java folder inside /arduino 1.8/
- sudo dnf install java-latest-openjdk
- sudo alternatives --config java (for me was openjdk 17 → 22)
ref: Arduino IDE 1.8.13 menu bar and icon options text missing in Archlinux LXQt · Issue #11150 · arduino/Arduino · GitHub
teensy loader binary and udev additional file
Next I ran up the teensy loader binary from pjrc’s website ''TeensyduinoInstall.linux64" which ran up fine even from the downloads folder after I gave it execute permissions. It whinged about my not having added the udev file until I did; as 00-teensy.rules /etc/udev/rules.d/. Then I let it go at the arduino gui folder structure, adding in teensy specifics. If we’re talking user experience then pjrc should work at packaging this better.
Tympan_Library
I added the Tympan_Library under the arduino root /libraries/ as instructed, latest from github. This at least felt clean.
followups
=> I should have tried listing connected boards, confirm it does see the Tympan. Haven’t tried that yet.
=> Also I’d expected the arduino-gui compile to check/ask then load any required dependency libraries. Maybe because my first compile was on an old/bad java version it didn’t ask.