-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
mgmt: mcumgr: grp: img_mgmt: Add slot info command #76317
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
cceb2b5
to
5f40025
Compare
5f40025
to
0759b79
Compare
0a04280
to
5a6da57
Compare
bc887ab
to
23fa4a1
Compare
602f8cc
to
cffaa34
Compare
cffaa34
to
9618e73
Compare
Adds a new command that will return information on slots themselves, listing the slot sizes, without any internal information about the slot data. Will also return the maximum size of an image for a set of slots if built using sysbuild. Signed-off-by: Jamie McCrae <[email protected]>
Adds documentation describing the new slot info command Signed-off-by: Jamie McCrae <[email protected]>
Adds a test to exercise this new feature Signed-off-by: Jamie McCrae <[email protected]>
Adds information on the new img mgmt slot info command Signed-off-by: Jamie McCrae <[email protected]>
9618e73
to
0e08b9e
Compare
goto finish; | ||
} | ||
|
||
rc = flash_area_open(area_id, &fa); |
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 am not going to request change here, just want to not that this call could happen at the beginning of the loop, together with cashing of fa->size and immediately following it flash_area_close; this way code would look more compact.
Adds a slot info command for MCUmgr to list the available slots on a device and information surrounding them
todo:
Fixes #59749