sudar / Arduino-Makefile

Makefile for Arduino sketches. It defines the workflows for compiling code, flashing it to Arduino and even communicating through Serial.
http://hardwarefun.com/tutorials/compiling-arduino-sketches-using-makefile
GNU Lesser General Public License v2.1
2.02k stars 449 forks source link

Add newest ard-reset-arduino flag support. #659

Closed JDuchniewicz closed 3 years ago

JDuchniewicz commented 3 years ago

The option --zero no longer works with Arduino 1.8.13 for SAMD boards and has to be replaced with the --caterina option.

tuna-f1sh commented 3 years ago

Please can you add some more context to ‘no longer works’?

I’m still using —zero with the Arduino SAMD bootloader with no issue.

JDuchniewicz commented 3 years ago

The ard-reset-arduino does not have the --zero option anymore in my case (1.6.0 version of the program).

tuna-f1sh commented 3 years ago

The --zero option was added with the SAMD support - not removed.

The release version of this repository (1.6.0) does not include support for SAMD. You need install ard-reset-arduino from the master/HEAD and not use a package manager.

JDuchniewicz commented 3 years ago

Hmm this is embarrassing. I thought that the upstream changes removed that option... Closing it in this case 😄