02-16-2023 10:56 AM
Hello,
I am trying to use the BME688 sensors using Sparkfun breakout board and BSEC2 library on Arduino IDE 1.8.19 and esp32 pico d4 dev kit with I2C protocol. I followed the instructions on GitHub for the BSEC2 library. I can get the generic_examples > basic.ino to work on MKR Wifi 1010 board but on the esp32 pico d4 dev kit I get the following error when compiling:
undefined reference to `bsec_sensor_control'
collect2: error: ld returned 1 exit status
exit status 1
May I please ask for help on this?
Thank you,
Christoforos
Solved! Go to Solution.
02-16-2023 02:49 PM
Hi Christoforos,
Which link you got BSEC2 library and BME688 sensor API when you compiled them on ESP32?
02-16-2023 03:44 PM
Hello BSTRobin,
I downloaded them from: GitHub - boschsensortec/Bosch-BSEC2-Library: Arduino library to simplify using Bosch Sensortec's BSE... and GitHub - boschsensortec/BME68x-Sensor-API: Common Sensor API for the BME680 and BME688 sensors.
Thank you!
02-18-2023 09:28 AM
So, I found that I don't actually need the BSEC2 library since I only need raw data. The related post is this "BME688 sensor not sensing". Hence, I will be using the BME68x library only.
Thanks a lot!