I connected the BME680 sensor using the BME680_driver (3.5.10 from 01/23/2020). The sensor works well.
I need to connect the BSEC library. I found BSEC_1.4.7.4_Generic_Release, but cannot figure out how to do this correctly. I am reading BST-BME680-Integration-Guide-AN008-47.pdf, I need to connect bsec_interface.h, bsec_datatypes.h, bsec_integration.h, bsec_integration.c. But files are found many times. For example, ..... BSEC_1.4.7.4_Generic_Release \ algo \ normal_version \ bin \ IAR7 \ Cortex_M3 and ...... BSEC_1.4.7.4_Generic_Release \ algo \ normal_version \ contains files with identical names that must be on connection?
Where to get the rest of the files?
I managed to compile the project in IAR7, but it does not work. I need files for IAR7, using STM32f103. Where to get the files, and how to connect?
BME680 BSEC how to connect
BSEC's header files (bsec_datatypes.h and bsec_interface.h) can be found in different folders, but they should provide the exact set of functions, therefore you only need to pick them once (for example from the same folder as libalgobsec.a).
Based on your platform description (IAR7 + STM32F103), it looks like you already have found the correct folder for the library's binary file: "BSEC_1.4.7.4_Generic_Release\algo\normal_version\bin\IAR7\Cortex_M3\libalgobsec.a".
The example code (bsec_integration.c, bsec_integration.h and bsec_iot_example.c) can be found under the 'examples' folder: "BSEC_1.4.7.4_Generic_Release\examples\".
Please also make sure that your specific part number has sufficient RAM/ROM available for the BSEC library (STM32F103 offers many variants with variable memory size, you can find the expected requirements for BSEC on its download page or directly inside the package).