mbed-cloud-client
mbed-cloud-client copied to clipboard
Fix compile error for Mbed TF-M V8M target
[x] I confirm this contribution is my own and I agree to license it with Apache 2.0. [x] I confirm the moderators may change the PR before merging it in. [x] I understand the release model prohibits detailed Git history and my contribution will be recorded to the list at the bottom of CONTRIBUTING.md.
Summary of changes
This PR tries to fix compile error for Mbed TF-M V8M target, usually without FLASHIAP:
- Use
DEVICE_FLASHto excludeFLASHIAPcode - Fix
MBED_MAJOR_VERSIONisn't available, which is needed to excludembedtls_psa_crypto_free().
Have a look?
Thank you, I'll take a look.
Thanks @ccli8 @marcuschangarm
I'll mark this for next public release as the changes have already been integrated internally.