I’m wondering if anyone has been able to successfully program the M2 from the command line, without having to use a GUI. I looked into BOSSA, the open source programmer that Arduino uses for the Due, but haven’t had any luck getting it to work. I suspect it has to do with the slight changes made to the M2 that require it to have its own board configuration for the Arduino IDE.
Any advice on how to upload sketches to the M2 via the command line is much appreciated. Oh, and I’m running Ubuntu 16.04.
Thanks!