2020-02-18 03:39 PM
I am integrating Tough GFX into my Application and I have observed in order to get it to compile I have had to use hardware floating point (-mfloat-abi=hard) but another modile library requires SW/HW floating point. (mfloat-abi=softfp). I want to know if I can use Touch GFX using SW/HW floating point (mfloat-abi=softfp).
If there a way to use bot in a project. The Touch GFX is using C++ while the other module us using C. But need some help here.
2020-02-18 10:48 PM
The options softfp and hardfp relate to the mode the arguments are passed, and incompatible with each other.
The options soft and softfp would be compatible, and could be linked to one application.
> ... I have observed in order to get it to compile I have had to use hardware floating point (-mfloat-abi=hard) ...
Why is that ?
I have experienced very little differences in runtime between hardfp and softfp.
> The Touch GFX is using C++ while the other module us using C.
This should not make a difference in regard to FPU options.
2020-02-20 11:32 AM
I managed to find the problem. I was using libtouchgfx-float-abi-hard.a in the library settings. I simply changed it to libtouchgfx.a where you can use the SW/HW mixture FPU.