BSEC Sensor Library

  • Compiling with Particle CLI like particle compile photon.
  • Using BME680 4-in-1 sensor.

I’ve been able to retrieve gas resistance values, but it’s incredibly difficult to interpret them into anything useful beyond maybe aggregating them over a long time and collecting subjective feedback… I noticed that Bosch makes a binary-only library for interpreting IAQ from this sensor: How can I include this headers-only library via particle compile photon? Do I need to migrate to local toolchain for this?


Let me ping someone that might be able to help, @rickkas7 or @ParticleD are you able to assist?



My apologies, I have edited this post to correct my oops.
The STM32F205 is in fact part of the ARM Cortex family.

I think you will need to do a local build to have a chance of this working.

Particle Dev or Particle Build will definitely not work since they compile in the cloud.


Hi @cyclin_al, huge fan of your work & thanks for your reply!

I’m looking at and see STM32F205RGY6 120Mhz ARM Cortex M3 in the P0 module. Looking at my Photon on my desk, it is marked P0. I see (the 2nd row) a GCC-compiled ARM Cortex M3 distribution of the BSEC library at the 1st post url. Is this not suitable?


It is not possible to use a binary library with any of the cloud compilers (Particle Build Web IDE, Particle Dev Atom IDE, or Particle CLI).

It is possible using the to include a ARM Cortex M3 gcc library (.a) using the local gcc-arm build chain, however.


Thanks for the confirmation. I’ll work through getting the local build chain running.