arduino-ide icon indicating copy to clipboard operation
arduino-ide copied to clipboard

feat: can skip verify before upload

Open dankeboy36 opened this issue 11 months ago • 2 comments

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

  • Download the tester build from this PR,
  • Set the arduino.upload.autoVerify advanced settings to false,
  • Run an upload,
  • IDE does not recompile the code.

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

Reviewer checklist

  • [ ] PR addresses a single concern.
  • [ ] The PR has no duplicates (please search among the Pull Requests before creating one)
  • [ ] PR title and description are properly filled.
  • [ ] Docs have been added / updated (for bug fixes / features)

dankeboy36 avatar Mar 10 '24 09:03 dankeboy36

Hi, I would love to use / review this, feature has been missing for too long, but I cannot locate the win zip artifact file.... log file has ben deleted. Am I missing something?

octoplayer2 avatar Jul 09 '24 13:07 octoplayer2

can we merge this? this is very annoying

SophisticaSean avatar Oct 03 '24 22:10 SophisticaSean