Skip to content

Conversation

JordanYates
Copy link
Contributor

Add a public function to erase a data logger.

Test the `data_logger_state` and `data_logger_read` RPCs when the
requested logger failed to initialise properly.

Signed-off-by: Jordan Yates <[email protected]>
Add a public function to erase a data logger.

Signed-off-by: Jordan Yates <[email protected]>
Add implementations for erasing all data logger data.

Signed-off-by: Jordan Yates <[email protected]>
Validate the erase all data functionality for backends.

Signed-off-by: Jordan Yates <[email protected]>
Test that read and writes are locked out while an erase is ongoing.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented May 16, 2025

Codecov Report

Attention: Patch coverage is 84.61538% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
subsys/data_logger/backends/exfat_multi_file.c 79.31% 3 Missing and 3 partials ⚠️
subsys/data_logger/data_logger.c 85.18% 1 Missing and 3 partials ⚠️
subsys/data_logger/backends/flash_map.c 86.66% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@JordanYates JordanYates merged commit d4ab5d8 into main May 16, 2025
12 checks passed
@JordanYates JordanYates deleted the feature/data_logger_erase branch May 16, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant