Skip to content

NVStore.cpp (and KVStore) - run-time failure handling missing #11084

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 1 commit into from
Jul 23, 2019

Conversation

mtomczykmobica
Copy link

@mtomczykmobica mtomczykmobica commented Jul 22, 2019

Description

Against to using MBED_ASSERT (works only for DEBUG build, not working with release build) implemented valid failure handling for NVStore nad KVStore.

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[X] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@JanneKiiskila
@SeppoTakalo

Release Notes

@SeppoTakalo
Copy link
Contributor

@mtomczykmobica Please review & fix those Astyle errors!

@ciarmcom ciarmcom requested review from JanneKiiskila, SeppoTakalo and a team July 22, 2019 13:00
@ciarmcom
Copy link
Member

@mtomczykmobica, thank you for your changes.
@JanneKiiskila @SeppoTakalo @ARMmbed/mbed-os-storage @ARMmbed/mbed-os-maintainers please review.

@mtomczykmobica
Copy link
Author

astyle fixed

@mbed-ci
Copy link

mbed-ci commented Jul 22, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@SeppoTakalo
Copy link
Contributor

Changed to "functionality change" because if you change ASSERTS() to runtime checks, then it changes the functionality.
So, cannot be pushed into patch release.

@mbed-ci
Copy link

mbed-ci commented Jul 23, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 2
Build artifacts

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.

4 participants