Skip to content

debug: coredump: coredump_backend_flash: Keep error in context on flush #90596

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

Merged
merged 2 commits into from
May 29, 2025

Conversation

pdgendt
Copy link
Collaborator

@pdgendt pdgendt commented May 26, 2025

Do not override the last known value in backend_ctx.error with the result of flushing.
Any previous error would be cleared and the coredump would appear to have succeeded.

Do not override the last known value in backend_ctx.error with the result
of flushing.
Any previous error would be cleared and the coredump would appear to have
succeeded.

Signed-off-by: Pieter De Gendt <[email protected]>
If the flash stream API fails to write a buffer, exclude it from the
calculated checksum.

Signed-off-by: Pieter De Gendt <[email protected]>
Copy link

@kartben kartben merged commit b029d79 into zephyrproject-rtos:main May 29, 2025
26 checks passed
@pdgendt pdgendt deleted the coredump-flash-error branch May 30, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants