-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#### Summary: Adds a new option for uploading binaries to the V5: ``` $ prosv5 u --compress-bin ``` The default value is true (and can be switched off with `--no-compress-bin`). When compression is enabled, .bin files to be uploaded are first compressed with gzip, which is supported natively on the V5. (there is a side change included with this PR that adds a missing letter to the name of an internally used class) #### Motivation: One of a series of PRs aimed at improving speed and reliability of wireless uploading. ##### References (optional): <!-- If this PR is related to an issue or task, reference it here (e.g. closes #1) --> Together with #46, this blocks #47 #### Test Plan: - [x] run prosv5 u (targeting a v5). bin/output.compressed.bin should be created, and it should have uploaded successfully - [x] run prosv5 u --no-compress-bin (targeting a v5). only the normal bin/output.bin should be uploaded - [x] run prosv5 u (targeting a cortex). nothing out of the ordinary should happen. Tested both with explicit `prosv5 u --compress-bin` and `prosv5 u --no-compress-bin` - [x] Test compression checkbox in interactive upload modal #### Commits * Add binary compression before uploading on V5 * Remove unused import * don't compress ini files when uploading * �� address review concerns * add interactive UI option for compression
- Loading branch information
1 parent
eefbb45
commit fcd08bc
Showing
5 changed files
with
49 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters