mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[PR #425] [MERGED] Coprocessor OTA changes #2737
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/OpenEPaperLink/OpenEPaperLink/pull/425
Author: @skiphansen
Created: 1/5/2025
Status: ✅ Merged
Merged: 1/25/2025
Merged by: @skiphansen
Base:
master← Head:oepl_pr_ota📝 Commits (6)
2224a75OTA changes to support C6/H2 OTA updates from configured repo.b6406b3Update gzip'ed versions of changed data/www/* files.26adea9Use string compare for version to allow non numeric release names.539eea4Merge branch 'OpenEPaperLink:master' into oepl_pr_otaaf83fb8JasonFilename -> JsonFilename.8b70233Merge branch 'oepl_pr_ota' of https://github.com/skiphansen/OpenEPaperLink into oepl_pr_ota📊 Changes
17 files changed (+564 additions, -295 deletions)
View changed files
📝
.github/workflows/release.yml(+37 -25)📝
ESP32_AP-Flasher/data/www/index.html.gz(+0 -0)📝
ESP32_AP-Flasher/data/www/main.css.gz(+0 -0)📝
ESP32_AP-Flasher/data/www/main.js.gz(+0 -0)📝
ESP32_AP-Flasher/data/www/ota.js.gz(+0 -0)📝
ESP32_AP-Flasher/include/espflasher.h(+13 -1)📝
ESP32_AP-Flasher/platformio.ini(+11 -4)📝
ESP32_AP-Flasher/src/espflasher.cpp(+172 -117)📝
ESP32_AP-Flasher/src/ota.cpp(+59 -18)📝
ESP32_AP-Flasher/src/serialap.cpp(+61 -19)📝
ESP32_AP-Flasher/src/web.cpp(+12 -4)📝
ESP32_AP-Flasher/wwwroot/index.html(+4 -1)📝
ESP32_AP-Flasher/wwwroot/main.css(+7 -7)📝
ESP32_AP-Flasher/wwwroot/main.js(+1 -2)📝
ESP32_AP-Flasher/wwwroot/ota.js(+183 -93)📝
binaries/ESP32-C6/firmware_C6.json(+2 -2)📝
binaries/ESP32-H2/firmware_H2.json(+2 -2)📄 Description
This PR touches a LOT more files than I expected! Feedback is solicited and more than welcome!
Change summary:
This PR also lays a lot of ground work for eventual OTA for other coprocessors such as the TLSR.
A Beta release is available testing. The Beta's user orientated installation instructions include screen captures of the changed screens for easy review of the changes.
I have done extensive testing and have seen two issues I haven't been able to reproduce enough to debug. Perhaps some extra eyes and "extreme programming" will help find them.
The first issue hasn't occurred recently and I have no idea for how to reproduce it. I've been monitoring the amount of unused stack space after an successful flash and I don't think that's the issue.
I can simulate download failures and will continue to try to debug the second issue when I get time.
These issues occur less than 10% of the time and they always resulted in a successful reboot and successful update after a retry.
I believe the benefits of the PR outweighs the risk, particularly if the Lilygo T-panel catches on.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.