-
Notifications
You must be signed in to change notification settings - Fork 75
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
Automatic download of Goggle and VTX firmware via WiFi Module #334
Closed
Conversation
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 is going to be amazing! Thanks for the good work! |
Added zip handling for both vtx and goggles. This allows github repo to publish compressed files if they choose to for goggles. |
Final update unless an issue or bug is detected. Both VTX and Goggle have been tested with these latest changes. Feedback appreciated. |
Accidentally merged other branches into this one... a new PR has been created: #346 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces the ability to automatically download the latest official releases from github for both the goggle and vtx firmwares. The vertical menu will notify the user of a firmware update via an exclamation point. The user can then enter the page and highlight either VTX or GOGGLE entries and use the right function button to review the release notes associated with downloaded release. Once reviewed the exclamation point will be removed from the firmware menu entry and is marked read. Below are a few screenshots of what is to be expected when a new release is encountered. In order to make use of this functionality the user must remove any bin files such as HDZERO_TX.bin and HDZERO_GOGGLE.bin from the root of the SD Card. This legacy way of flashing firmware was NOT removed due to user requiring recovery of their goggles.
This PR requires extensive testing... and help would be greatly appreciated to report issues I have yet to encounter. Tested flashing for both VTX and Goggles but its always good to get a few people to try it out as well.
Firmware notification:
Notes describing the use of the function button for both Update VTX and Update GOGGLE:
Reviewing VTX Release Notes (press function button to view):
Reviewing GOGGLE Release Notes (press function button to view):
Notice how the Firmware notification icon has now disappeared... this was due to reading the release notes of the goggles.
Updating VTX Firmware:
Updating GOGGLE Firmware:
As you can see we now have the ability to backout and cancel a firmware update as well.
Legacy VTX or Goggle Flashing:
Notice how both report the firmware is located in the SD Card and the notes notify the user to remove these files from the root of the SD Card in order to download the latest firmware.
Lastly, the notes you see above are only presented when the user has the wifi module enabled. Otherwise, the notes are left empty for non-wifi users.