I'd like to be able to do FW upgrades to my printer direct from my Pi3 running Octoprint. I have the desktop installed and only use it when I need access to the 'net or whatever and don't run it while I'm running a print job.
Currently, I'm having to haul my notebook out to my shop and do upgrades with that. I'd like to "centralize" that process by getting the Arduino IDE running on the Pi. I've spent pretty much the entire day trying to make this work and am 'stuck'.
I've tried both the
sudo apt-get install arduino bit and actually got the IDE running, but ran into gcc/g++ errors, even though both of those packages were installed and 4 major revisions higher than the IDE was telling me I needed.
I nuked that install, purged all the files and then tried downloading the latest ARM tarball from arduino.cc. Got that decompressed and installed but it doesn't start. I get an hourglass on the desktop for about 10 seconds and then nothing.
I uninstalled that, purged files and did a full update and upgrade on the Pi. Installed the Arduino IDE again via
apt-get and actually got it to almost work. I thought I was on the right track and went to import the sanguino libraries.
Unlike the Windows version, there's no Library Manager, but there is an Import Library option that looks for a .ZIP file as it's source. I happened to have a .ZIP file of the libraries I wanted and browsed to that file. Got an hourglass for a few seconds, no errors so I though it imported successfully. Nope. No Sanguino entries when I try to change the Board type.
Read an article that said you need to create a
hardware directory under your sketchbook directory and copy library files there and restart the IDE. Nope, still no Sanguino boards. Argh....
Has anybody figured this out?