-
Notifications
You must be signed in to change notification settings - Fork 3k
KVStore: Remove incorrect check with non-default configuration of FLASHIAP #12808
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
Conversation
With non-default configuration FLASHIAP, the region can be defined in front of application. The after-application check must be skipped.
@ccli8, thank you for your changes. |
Why the checks are not fixed, instead of just skipping? |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Take flash layout of Pelion client application for examples. The Default flash layout
But invalid for non-default flash layout, where KVSTORE is located in front of Non-default flash layout
Compared to |
Update? |
@ARMmbed/mbed-os-storage Please review |
CI restarted |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
The bug this PR tries to fix can cause |
@ccli8 Thanks for the heads up. Can you backport this to 5.15 branch as well? |
After further look, this related bug doesn't get into 5.15. Backport is unnecessary. |
Summary of changes
This PR tries to fix invalid check in KVstore/FLASHIAP configuration. With non-default configuration of FLASHIAP, the defined FLASHIAP region can be in front of application, not default post-application. The post-application (
FLASHIAP_APP_ROM_END_ADDR
) check must be skipped.Pull request type
Test results