Mbed crypto with --ropi in IAR

Hi - we were planning to use a very small part of mbed crypto for some signature validation using SHA256 and ECDSA verification.
We have a setup where we require the code to be compiled with --ropi option to make the code position independent but this does not take well with mbed crypto.


Alot of the errors are like this:
“\mbed\src\pk_wrap.c”,465 Error[Ta071]: The address of a pc/static base relative object cannot be used in static initialization"

Do you have any thoughts about the best way through this?

Hi @michaelvf
As mentioned in this anouncement, Mbed TLS is now maintained under open governance at TrustedFirmware.org.
I would suggest you post your question there, as it doesn’t seem your question is Pelion related.

mbed Support