Upload error: Error: 2 UNKNOWN: cannot get programmer tool: undefined 'upload.tool' property

I am unfortunately dealing with Arduino Portenta and the Artemis issues at the same time. One needs a very specific version of Arduino and now I am running into issues with the Artemis setup.

I have tried Windows 10 with Arduino Pro, Windows 10 Arduino 2.0, Arduino 1.8

I have also tried Linux with Arduino 1.8, same error message

Upload error: Error: 2 UNKNOWN: cannot get programmer tool: undefined ‘upload.tool’ property

That likely means the board definition (‘boards.txt’) file is missing some needed parameters - perhaps instead of jumping around between several IDEs, try Arduino’s cloud version for free https://www.arduino.cc/en/IoT/HomePage and see if that yields different results? (It’s what they recommend for the Portenta)

Hope this helps!

You might try running multiple installations of Arduino in separate folders. That way you can customize one for Artemis and the other for Portenta.

In “Tools / Programmers” menu only shows programmers related to the currently selected board. Fixed: “Comparison method violates its original contract” error in library manager * Serial monitor is no more cleared during upload, so it can Fixed: IDE doesn’t start if a library with invalid version is found.