feat(firmware-upload): add data model, APJ reader and bootloader codec - #2027
Open
iacker wants to merge 1 commit into
Open
feat(firmware-upload): add data model, APJ reader and bootloader codec#2027iacker wants to merge 1 commit into
iacker wants to merge 1 commit into
Conversation
Signed-off-by: Billard <82095453+iacker@users.noreply.github.com>
Coverage Report for CI Build 33909389085Coverage at 89.404% (no base build to compare)Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
This file contains hidden or 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
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.
Description
First step of #2017, steps 1 and 2 of the implementation sequence. Adds
data_model_firmware_upload.pywith the APJ reader, the board and flash compatibility rules, the upload state machine, and the bootloader packet codec. Constants and image padding follow ArduPilotTools/scripts/uploader.py. No serial, MAVLink or Tkinter code in this PR.AI assistance was used. I reviewed the changes and ran the tests below.
Checklist
git commit --signoff)Testing
tests/test_data_model_firmware_upload.py, including a full erase, program and CRC verify round trip against a fake rev 5 bootloader