Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Unify verify, upload, and uploadUsingProgrammer to a single code path #1133

Closed
wants to merge 3 commits into from

Conversation

maddogjt
Copy link
Contributor

@maddogjt maddogjt commented Nov 1, 2020

Merge these three functions into a single code path. This reduces maintainence & bugs that resulting from minor variances between the 3 paths.

There were several cases in which serial monitor and USB detection would not be properly restored, including early outs and build failures.  Move restoration to a finally clause to guarantee the restore path will be called.
Also reduce scope/duration that serial monitor is disabled to only include build, but not prebuild
@adiazulay
Copy link
Contributor

adiazulay commented Jan 20, 2021

#1183 unified all the build functions

@adiazulay adiazulay closed this Jan 20, 2021
@maddogjt maddogjt deleted the unify_builds branch October 11, 2021 01:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants