12-28-2021 01:56 PM
I've downloaded BSEC_1.4.8.0_Generic_Release_updated_v3 package.
I use gcc-arm-none-eabi-10-2020-q4-major compiler and my architecture is ARM Cortex M4F, and my code has to compile with "softfp" value for -mfloat-abi option.
It seams that provided BSEC library located at algo/normal_version/bin/gcc/Cortex-M4F is compiled with "hard" value.
Can you provide me library with compiled with -mfloat-abi=softfp option ?
Thanks.
Solved! Go to Solution.
12-29-2021 02:40 AM
Hello DanijelH,
BSEC compiled with "hard" option was more suitable for your host architecture.
12-29-2021 10:05 AM
First of all, thanks for reply.
I'm aware that "hard" option is more sutable, but in my project I have to use some other third party libs that are "softfp" precomiled.
Just for the record, I've tried to link my project agenst:
BSEC_1.4.8.0_Generic_Release_updated_v3/algo/normal_version/bin/gcc/Cortex_M4/libalgobsec.a
and linking was successful.
It seems that this solution works for me, because tests show that humidity measurements are compensated and so close to values read from referent device.
I think this workaround is ok, what is your opinion ?
My explanation for successful linking of CortexM4 libalgobsec.a library is that actually these archs differs in support for hardware floating point unit, and that compiling with "softfp"option for CortexM4F would actually result in the same binary as it is provided for CortexM4.
12-30-2021 04:06 AM
Hello DanijelH,
Yes, you could try to use library under "BSEC_1.4.8.0_Generic_Release\algo\normal_version\bin\gcc\Cortex_M4" folder. This library is used for Cortex-M4 without hardware floating point.