2018-01-09 05:27 AM
Hello
I would like to use the crypto lib with gcc (eclipse/ system workbench).
The compiler returns this:
error: xxx.elf uses VFP register arguments, libSTM32CryptographicV3.0.0_CM4_GCC_ot.a(crypto.o) does not.
I'm not sure to understand. My program is obviously using the hardware FPU. The library may have been compiled in soft FPU mode. I have no idea about the solution.
Thank you for your help
2018-01-09 06:44 AM
There is a difference in 'softfp' and 'hard', even if both use the FPU.
The first ABI option passes parameters in core registers, the second option in FPU regs.
All parts of your application need to use the same ABI.