Skip to content

Commit c7bee04

Browse files
committed
updates for sdk removal
1 parent 6e7dc76 commit c7bee04

File tree

10 files changed

+70
-15
lines changed

10 files changed

+70
-15
lines changed

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ The [SparkFun Air Quality PM1/PM2.5/PM10 Sensor - BMV080 (Qwiic)](https://www.sp
1515

1616
The breakout board comes with the BMV080 populated and takes advantage of its flexible cable with the FPC 13-pin 0.33mm connector. On the back of the board is a horizontal Qwiic connector to reduce the amount of soldering on the board. However, the board still breaks out 0.1"-spaced pins for users who prefer a soldered connection or prototyping the pins on a breadboard. The breakout also includes four jumper selectable I2C addresses if you happen to connect more than one BMV080 on the same I2C port. While the breakout was designed for I2C by default, you can also configure the board's jumper to communicate over SPI as well. A special lens allows the laser to pass through the enclosure to take measurements.
1717

18+
> [!NOTE]
19+
> To use this library, the Bosch BMV080 SDK must be downloaded from Bosch, and some files copyied over into this library once it's installed. Details of this are outlined below [here](#install-the-bosch-sdk).
20+
>
21+
> If the SDK files are not copied into this library, this library will fail to build.
22+
1823
## Functionality
1924

2025
The Air Quality PM1/PM2.5/PM10 Sensor - BMV080 can run as an I2C client device, or as a SPI client device. Once connected, the library allows the collaction of PM1, PM2.5 and PM10 readings as well as if the sensor is obstructed.
@@ -36,6 +41,56 @@ The library enables setting a variety of sensor settings, properties and operati
3641
|[SparkFun Air Quality PM1/PM2.5/PM10 Sensor - BMV080](https://github.com/sparkfun/SparkFun_Particulate_Matter_Sensor_Breakout_BMV080)| Hardware GitHub Repository|
3742
|[Hook Up Guide](https://docs.sparkfun.com/SparkFun_Particulate_Matter_Sensor_Breakout_BMV080) | Hardware Overview and Quick Start for the Air Quality Sensor - BMV080 |
3843

44+
## Install the Bosch SDK
45+
46+
To use this library with SparkFun BMV080 Air Quality Sensor, the Bosch SKD for the BMV080 must be installed and files copied into the correct locations within this library.
47+
48+
The following outlines how to install the library.
49+
50+
### Intall this library
51+
52+
Using the Arduino Library Manager, install this library.
53+
54+
![Install Library](docs/images/sdk-arduino-install.png)
55+
56+
## Download the Bosch BMV080 SDK
57+
58+
The SDK is avilable [on this page](https://www.bosch-sensortec.com/products/environmental-sensors/particulate-matter-sensor/bmv080/#documents). Select the 'Download the SDK for BMV080` link/button.
59+
60+
Once downloaded, unzip the file.
61+
62+
## Copy Files
63+
64+
Files from the SDK must be copied into the isntallation of this library. This library is installed in the following locations:
65+
66+
| OS | Directory|
67+
|---|---|
68+
|macOS | $HOME/Documents/Arduino/libraries/SparkFun_BMV080_Arduino_Library|
69+
|Windows | $HOME\Documents\Arduino\libraries\SparkFun_BMV080_Arduino_Library|
70+
|Linux| $HOME/Arduino/libraries/SparkFun_BMV080_Arduino_Library|
71+
72+
From the Bosch SDK, the following files are copied into the specified library locations.
73+
74+
|Bosch SDK File | SparkFun BMV080 Arduino Library Directory|
75+
|--|--|
76+
|api/inc/bmv080.h| src/sfTk/bmv080.h|
77+
|api/inc/bmv080_defs.h| src/sfTk/bmv080_defs.h|
78+
|api/api/lib/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_bmv080.a | src/esp32/lib_bmv080.a|
79+
|api/api/lib/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_postProcessor.a | src/esp32/lib_postProcessor.a|
80+
|api/api/lib/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_bmv080.a | src/esp32/lib_bmv080.a|
81+
|api/api/lib/xtensa_esp32s2/xtensa_esp32s2_elf_gcc/release/lib_postProcessor.a | src/esp32s2/lib_postProcessor.a|
82+
|api/api/lib/xtensa_esp32s2/xtensa_esp32s2_elf_gcc/release/lib_bmv080.a | src/esp32s2/lib_bmv080.a|
83+
|api/api/lib/arm_cortex_m0plus/xarm_none_eabi_gcc/release/lib_postProcessor.a | src/cortex-m0plus/lib_postProcessor.a|
84+
|api/api/lib/arm_cortex_m0plus/arm_none_eabi_gcc/release/lib_bmv080.a | src/cortex-m0plus/lib_bmv080.a|
85+
|api/api/lib/arm_cortex_m33f/xarm_none_eabi_gcc/release/lib_postProcessor.a | src/cortex-m33/lib_postProcessor.a|
86+
|api/api/lib/arm_cortex_m33f/arm_none_eabi_gcc/release/lib_bmv080.a | src/cortex-m33/lib_bmv080.a|
87+
|api/api/lib/arm_cortex_m4/xarm_none_eabi_gcc/release/lib_postProcessor.a | src/cortex-m4/lib_postProcessor.a|
88+
|api/api/lib/arm_cortex_m4/arm_none_eabi_gcc/release/lib_bmv080.a | src/cortex-m4/lib_bmv080.a|
89+
|api/api/lib/arm_cortex_m4f/xarm_none_eabi_gcc/release/lib_postProcessor.a | src/cortex-m4f/lib_postProcessor.a|
90+
|api/api/lib/arm_cortex_m4f/arm_none_eabi_gcc/release/lib_bmv080.a | src/cortex-m4f/lib_bmv080.a|
91+
92+
One the files are copied into place, this library is available for use.
93+
3994
## Examples
4095

4196
The following examples are provided with the library
244 KB
Loading

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ url=https://github.com/sparkfun/SparkFun_BMV080_Arduino_Library
99
architectures=esp32,esp32s2,esp32s3,cortex-m33,cortex-m0plus,cortex-m4f
1010
precompiled=true
1111
depends=SparkFun Toolkit (>=1.0.0)
12-
ldflags=-lbmv080 -lpostProcessor
12+
ldflags=-l_bmv080 -l_postProcessor

src/cortex-m0plus/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/arm_cortex_m0plus/arm_none_eabi_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/arm_cortex_m0plus/arm_none_eabi_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/arm_cortex_m0plus/arm_none_eabi_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/arm_cortex_m0plus/arm_none_eabi_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

src/cortex-m33/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/arm_cortex_m33f/arm_none_eabi_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/arm_cortex_m33f/arm_none_eabi_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/arm_cortex_m33f/arm_none_eabi_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/arm_cortex_m33f/arm_none_eabi_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

src/cortex-m4/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/arm_cortex_m4/arm_none_eabi_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/arm_cortex_m4/arm_none_eabi_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/arm_cortex_m4/arm_none_eabi_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/arm_cortex_m4/arm_none_eabi_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

src/cortex-m4f/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/arm_cortex_m4f/arm_none_eabi_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/arm_cortex_m4f/arm_none_eabi_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/arm_cortex_m4f/arm_none_eabi_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/arm_cortex_m4f/arm_none_eabi_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

src/esp32/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/xtensa_esp32/xtensa_esp32_elf_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

src/esp32s2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/xtensa_esp32s2/xtensa_esp32s2_elf_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/xtensa_esp32s2/xtensa_esp32s2_elf_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/xtensa_esp32s2/xtensa_esp32s2_elf_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/xtensa_esp32s2/xtensa_esp32s2_elf_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

src/esp32s3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Using a shell:
77
Where BOSCH_SDK = *The install directory of the downloaded Bosch SDK*
88

99
```sh
10-
cp $BOSCH_SDK/xtensa_esp32s3/xtensa_esp32s3_elf_gcc/release/lib_bmv080.a libbmv080.a
11-
cp $BOSCH_SDK/xtensa_esp32s3/xtensa_esp32s3_elf_gcc/release/lib_postProcessor.a libpostProcessor.a
10+
cp $BOSCH_SDK/xtensa_esp32s3/xtensa_esp32s3_elf_gcc/release/lib_bmv080.a lib_bmv080.a
11+
cp $BOSCH_SDK/xtensa_esp32s3/xtensa_esp32s3_elf_gcc/release/lib_postProcessor.a lib_postProcessor.a
1212
```
1313

1414
Or just drag and drop via a GUI interface.

0 commit comments

Comments
 (0)