-
Notifications
You must be signed in to change notification settings - Fork 3k
Revert flash_get_value for M2351 done in PR#8589 #8699
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
`flash_get_erase_value` is added in hal/TARGET_FLASH_CMSIS_ALGO/flash_common_algo.c duplicate copy of same function in targets/TARGET_NUVOTON/TARGET_M2351/flash_api.c resulted in build issues with secure build
@deepikabhavnani Reason I added it there was the fact that it wouldn't recognize the changes added in hal/TARGET_FLASH_CMSIS_ALGO/flash_common_algo.c. Did you try building the flashiap test (under mbed_drivers)? |
@davidsaada - I will try to build the test once, secure side image is in working condition. In #8589 I guess M2351 is the outlier, it uses all the definitions from common layer "hal/TARGET_FLASH_CMSIS_ALGO/flash_common_algo.c". You can see the difference between any other target "flash_api.c" and M2351 - flash_api.c |
Added secure side library and CMSE file for the changes in secure side https://github.com/ARMmbed/mbed-os/pull/8589/files#diff-a91b86027e0469c7339b13de32617b03R263 |
|
/morph build |
Build : SUCCESSBuild number : 3608 Triggering tests/morph test |
Test : FAILUREBuild number : 3384 |
Exporter Build : SUCCESSBuild number : 3212 |
Note: This PR is now a part of a rollup PR (#8733). In order to expidite remaining CI testing, this PR has been bundled into the above rollup PR. No further work is needed here, as once that PR is merged, this PR will also be closed and marked as merged. If any more commits are made in this PR, this PR will remain open and have to go through CI on its own. |
Description
flash_get_erase_value
is added in hal/TARGET_FLASH_CMSIS_ALGO/flash_common_algo.cduplicate copy of same function in targets/TARGET_NUVOTON/TARGET_M2351/flash_api.c
resulted in build issues with secure build
See https://github.com/ARMmbed/mbed-os/pull/8589/files#r232354584 for more details.
Pull request type
CC @ARMmbed/team-nuvoton