I know this post is a bit old, but did you ever determine the fix for your problem? I'll admit I am neither using the BME lib nor am I using an STM32 MCU, but I am running into a very similar sounding problem. I'm building a static library that I hav...