-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update OTA image tool #20491
Update OTA image tool #20491
Conversation
- allow removing headers - allow re-writing headers
PR #20491: Size comparison from fb98787 to 1058098 Increases (3 builds for cc13x2_26x2)
Decreases (4 builds for cc13x2_26x2, telink)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fast tracking tooling updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the image tool should eventually start using https://construct.readthedocs.io/en/latest/
Packing and unpacking binary data is tedious.
I agree generally, but I also don't know how much use this tool really gets so I'm not sure that it's worth the dev effort to update given that the tool is fairly functional as-is. Suggest we defer to another PR, or possibly indefinitely if this tool doesn't end up being a heavy-lifter. |
* Update OTA image tool - allow removing headers - allow re-writing headers * Read/write in chunks
Problem
Adding some functionality to the OTA tool to allow removing and changing OTA headers
Change overview
Testing
Tested manually - removed header, replaced header with no changes and with everything changed.