Minimal firmware compile and upload possibility #3282
Unanswered
cociweb
asked this question in
Builder features or enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the enhancement
From time to time, the ESP firmwares have become better and better, thanks to adjustments and continuous improvements. Unfortunately, it is unavoidable that the compiled firmware will also become larger from time to time. If I try to reupload a firmware with a size >50% of the flash, it fails, as there is not enough storage. So I need to create another device with the pure settings (API, OTA, WIFI components, webserver with only OTA?) to earn space, then I will be able to reupload the original image.
I suggest adding a Minimal firmware (compile and) upload possibility to the devices. (Just like Tasmota has minimal firmware variant with the bare minimum....)
Use cases
I have 3 solutions for the expected behaviour:
A) Create a menu item for each device where there is a possibility to compile a minimal firmware including the necessary minimal things (API, OTA, WIFI components, webserver with only OTA?) if those are active in the yaml.
B) Create a fallback mechanism and automatically compile and upload the minimal firmware (then re-commission the original firmware) to the device. This will handle the issue of "UPDATE ALL" feature from this POV.
C) A and B together.re-commission
Visual examples
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions