I have a BME680 with BSEC running on a STM32F1. I'm using the "basic.ino" example in the 5/19/2019 Github Bsec "library"
My compiled code size is just a little over 66k. While I can't really tell what the BSEC code is doing 66k seems excessive. Can others verify I'm in the right ballpark?
Solved! Go to Solution.
The STM32F1 microcontroller is a Cortex M3 chip, which does not have a Floating point unit. Therefore I would initially assume that a large part of your code is acutally just a floating point library that was automatically included when the code was built. I suggest that you take a look at the *.map file to see what is taking all this space.
There are other available libraries available to execute floating point operations on Cortex M3 that can optimize for size, speed, accuracy or a combination of these. BSEC itself should use about ~20-22kB of ROM space, and 1kB of RAM