- The instructions in this guide are targeted for Windows environment.
The examples in this repository have been tested with the following versions:
-
BSEC Library:
<bsec_v3-1-0-0> -
BMV080 SDK :
<BMV080-SDK-v11.1.0> -
COINES SDK:
COINES_SDK_v2.12 -
Please use the specified versions for best results.
-
Download mingw32
- Download GCC from GCC Download (tdm64-gcc-10.3.0-2.exe)
- During installation, ensure you check the option "Add to PATH" when prompted.
- This will automatically set the required environment variables for you.
- Complete the installation by following the on-screen instructions
-
Download and install the GNU Arm Embedded Toolchain
- GNU ARM Download (gcc-arm-none-eabi-10.3-2021.10-win32.exe), install and add path to system environment.
-
COINES SDK Setup
- Visit the COINES SDK GitHub repository and select latest tag available and Clone the repository using following command:
git clone https://github.com/boschsensortec/COINES_SDK.git cd COINES_SDK git pull git checkout <Latest tag> - Configure the SDK location:
- There are two options for integrating the COINES SDK with this project, depending on the preferred directory structure and usage scenario.
- The
COINES_SDKfolder is placed inside the mainBMV_BMEproject directory. - Typical Structure:
In each example's
BMV_BME/ ├── COINES_SDK/ ├── src/ └── ...Makefile, set: COINES_INSTALL_PATH = ../../../COINES_SDK Note:- The number of
../in the path (e.g.,../../../COINES_SDK) depends on your folder structure and where you place theCOINES_SDKrelative to your example'sMakefile. Adjust the path accordingly to correctly reference the SDK location.
- The number of
- The
COINES_SDKfolder is located outside theBMV_BMEproject directory, often shared among multiple projects. - Typical Structure:
C:/SDKs/COINES_SDK/
- Visit the COINES SDK GitHub repository and select latest tag available and Clone the repository using following command:
In each example's Makefile, set: COINES_INSTALL_PATH = C:/SDKs/COINES_SDK
(Use the absolute or relative path to your COINES SDK location.)
Note:
- Always ensure the
COINES_INSTALL_PATHvariable in your Makefile points to the correct SDK location before building or running examples.
- Download this repository
- Open the command terminal (using Git Bash or your preferred terminal) and follow the below commands to clone the repository:
git clone <This repository> cd BMV_BME git pull git checkout <Latest tag> - Obtain the latest versions of the BSEC library and the BMV080 library from the official Bosch Sensortec website.
-
These libraries are required for the project to run without errors, as the provided examples depend on them.
-
Follow the section Library Setup Instructions below for details on where and how to place these libraries in your project directory.
- Open the command terminal (using Git Bash or your preferred terminal) and follow the below commands to clone the repository:
- The repository includes a
src/libfolder with placeholder.txtfiles to clarify the expected structure and guide users on where to place the required libraries:
BMV_BME/
│
├── src/
│ └── lib/
│ ├── README_BSEC.txt # Instructions for placing the BSEC library
│ └── README_BMV080.txt # Instructions for placing the BMV080 SDK
-
README_BSEC.txt:
This file provides guidance on how to download and where to place the BSEC library files. -
README_BMV080.txt:
This file explains how to download and where to place the BMV080 SDK files.- These
.txtfiles serve as documentation within the repository, ensuring users understand the intended folder structure and placement of third-party libraries.
- These
To execute an example code, navigate to the src/examples folder. Each example is in its own subfolder. Open the folder and follow the instructions in its README file to run an example.