-
Notifications
You must be signed in to change notification settings - Fork 7.7k
feat(hosted): Add OTA and version functionality to esp-hosted #11936
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
base: master
Are you sure you want to change the base?
Conversation
👋 Hello me-no-dev, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 76 files 76 suites 15m 50s ⏱️ For more details on these failures, see this check. Results for commit 8911fa6. ♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This pull request adds firmware version management and update capabilities to the ESP-Hosted integration. The changes introduce functions for retrieving firmware versions, checking for updates, and managing over-the-air (OTA) updates of the co-processor. Additionally, the initialization process now checks for version mismatches and logs update information.
Firmware version management and update features:
hostedGetHostVersionandhostedGetSlaveVersionfunctions to retrieve the firmware version of the host and co-processor, respectively. [1] [2]hostedHasUpdateto compare host and slave firmware versions, log differences, and determine if an update is needed. [1] [2]hostedGetUpdateURLto generate a URL for downloading the appropriate firmware update. [1] [2]OTA update workflow:
hostedBeginUpdate,hostedWriteUpdate, andhostedEndUpdatefor starting, writing, and finalizing OTA updates to the co-processor. [1] [2]Initialization improvements:
hostedInitto connect to the slave device and automatically check for firmware updates during initialization, logging results as appropriate.Code cleanup: