2020-09-23 09:58 PM
Hi, I am using an STM32L4 Discovery kit and using VS Code on Windows 10 for development and using CMake to build the application. I have all the setup done using CMake. I now need to include the different mems middleware for calibration and need to know where I can find the source (not just the libraries) to include them if it is open source. Thanks.
Solved! Go to Solution.
2020-09-25 02:20 AM
Could you please use following compiler option -mfloat-abi=softfp.
2020-09-24 12:47 AM
Hi,
unfortunately we don't share source code for the MEMS middleware libraries.
2020-09-24 11:04 AM
Thanks @Miroslav BATEK , so I was also trying to include the same middleware's in STCube Ide and it throws me error saying
"error: *.elf uses VFP register arguments, /STM32Cube/Repository/Packs/STMicroelectronics/X-CUBE-MEMS1/8.1.1/Middlewares/ST/STM32_MotionMC_Library/Lib\MotionMC_CM4F_wc32_ot.a(motion_mc.o) does not"
I was able to repro this by creating a new project and adding just the MC middleware and compiling the build.
2020-09-25 02:20 AM
Could you please use following compiler option -mfloat-abi=softfp.
2020-09-25 10:13 AM
Thanks, that works.