Skip to content
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

mcumgr/img_mgmt: Allow erase pending image by default #87042

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

nvlsianpu
Copy link
Collaborator

Allows erasing secondary slot which is marked for test or confirmed. This is safe as bootloader doesn't make any action on boot-setup yet.

Erase of such pending image might considered like the case when it was never downloaded as well.

This allow user to not stuck with pending irremovable image.

Allows erasing secondary slot which is marked for test or confirmed.
This is safe as bootloader doesn't make any action on boot-setup yet.

Erase of such pending image might considered like the case when it
was never downloaded as well.

This allow user to not stuck with pending irremovable image.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
@zephyrbot zephyrbot added size: XS A PR changing only a single line of code area: mcumgr labels Mar 13, 2025
@zephyrbot zephyrbot requested review from de-nordic and nordicjm March 13, 2025 11:37
nvlsianpu added a commit to nvlsianpu/fw-nrfconnect-zephyr that referenced this pull request Mar 13, 2025
Allows erasing secondary slot which is marked for test or confirmed.
This is safe as bootloader doesn't make any action on boot-setup yet.

Erase of such pending image might considered like the case when it
was never downloaded as well.

This allow user to not stuck with pending irremovable image.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>

Upstream PR: zephyrproject-rtos/zephyr#87042
nvlsianpu added a commit to nvlsianpu/fw-nrfconnect-zephyr that referenced this pull request Mar 13, 2025
Allows erasing secondary slot which is marked for test or confirmed.
This is safe as bootloader doesn't make any action on boot-setup yet.

Erase of such pending image might considered like the case when it
was never downloaded as well.

This allow user to not stuck with pending irremovable image.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>

Upstream PR #: zephyrproject-rtos/zephyr#87042
@kartben kartben merged commit eab304f into zephyrproject-rtos:main Apr 1, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcumgr size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants