mgmt: mcumgr: img_mgmt: rewrite to claim data untill write completes#741
Open
eivindj-nordic wants to merge 1 commit intonrfconnect:mainfrom
Open
mgmt: mcumgr: img_mgmt: rewrite to claim data untill write completes#741eivindj-nordic wants to merge 1 commit intonrfconnect:mainfrom
eivindj-nordic wants to merge 1 commit intonrfconnect:mainfrom
Conversation
Contributor
Author
|
Added new Kconfig options. |
1864e69 to
93d332b
Compare
|
You can find the documentation preview for this PR here. |
93d332b to
8232c3b
Compare
7ef7ec2 to
3911496
Compare
This allows only one write operation in flight at the same time, though the next will be started on the event of write complete if applicable. Wait for all image write operations to complete before rebooting the firmware_loader application. This is currently using the new img_mgmt_write_in_progress() function directly in main, which works, but jumps over some layers of abstraction. Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
3911496 to
f0e7407
Compare
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.
This allows only one write operation in flight at the same time, though the next will be started on the event of write complete if applicable.
Wait for all image write operations to complete before rebooting the firmware_loader application. This is currently using the new img_mgmt_write_in_progress() function directly in main, which works, but jumps over some layers of abstraction.