-
Notifications
You must be signed in to change notification settings - Fork 3k
Nuvoton: Fix NVSTORE test failed #6437
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
In Mbed OS, page size is program unit, which is different than FMC definition. After fixing page size, we can pass NVSTORE test (mbed-os-features-nvstore-tests-nvstore-functionality).
NUC472/ARM
NUC472/GCC_ARM
NUC472/IAR
|
M453/ARM
M453/GCC_ARM
M453/IAR
|
M487/ARM
M487/GCC_ARM
M487/IAR
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this change. Does this mean that in the test, the page_size variable isn't being used to describe the page size of the flash, but sometrhing else?
What's a program unit?
I'm not familiar with this hardware, but from the changes, it seems that page size is programmatically reduced from a large size (512B/2KB) to 4 bytes, which is great for any application trying to store anything on the flash like NVStore. This both allows a much larger granularity and reduces memory consumption when allocating a page buffer. Good work. |
/morph build |
Build : SUCCESSBuild number : 1539 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1180 |
Test : SUCCESSBuild number : 1320 |
Description
This PR includes a bugfix for NVSTORE test (mbed-os-features-nvstore-tests-nvstore-functionality) failed.
Pull request type