arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.07k stars 353 forks source link

feat: can skip verify before upload #2397

Open dankeboy36 opened 2 months ago

dankeboy36 commented 2 months ago

Motivation

From here:

For example, I'm now developing using for an ESP32. It requires that I hold down the EN button to put the board into the correct mode to accept the download. It's a tiny button that's hard to hold down, and if I forget to push it or accidentally release it too soon, I'm forced to wait for a long compile before I can try it again.

I also need to program three of these boards with identical code. Again, I have to sit and wait through multiple compiles that produce exactly the same binary.

Change description

This PR adds a new preference to control whether the verify command should automatically run before the upload. If the arduino.upload.autoVerify setting value is false, IDE does not recompile the sketch code before uploading it to the board.

https://github.com/arduino/arduino-ide/assets/111981763/64d53901-05d1-4dc3-b4c0-f260662a2d7d

Other information

Reference the Beta Testing Guide documentation on how to use this tester build.

Reviewer checklist