Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: can skip verify before upload #2397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dankeboy36
Copy link
Contributor

@dankeboy36 dankeboy36 commented Mar 10, 2024

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.

optional-verify-before-upload.mp4

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 dankeboy36 force-pushed the optional-verify-before-upload branch from 2119322 to 24872d1 Compare March 10, 2024 09:31
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.

Signed-off-by: dankeboy36 <dankeboy36@gmail.com>
@dankeboy36 dankeboy36 force-pushed the optional-verify-before-upload branch from 24872d1 to 2971fdd Compare April 18, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant