File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ test_framework = googletest
12
12
test_build_src = true
13
13
lib_deps =m5stack/M5Unified
14
14
m5stack/M5UnitUnified
15
- https://github.com/ boschsensortec/Bosch- BME68x-Library.git @ 1.2 .40408
15
+ boschsensortec/BME68x Sensor library@>=1.3 .40408
16
16
17
17
; --------------------------------
18
18
[bsec2]
19
- lib_deps = https://github.com/ boschsensortec/Bosch-BSEC2-Library.git @ 1.8 .2610
19
+ lib_deps = boschsensortec/bsec2@>=1.10 .2610
20
20
21
21
[m5base]
22
22
monitor_speed = 115200
Original file line number Diff line number Diff line change 10
10
#ifndef M5_UNIT_ENV_UNIT_BME688_HPP
11
11
#define M5_UNIT_ENV_UNIT_BME688_HPP
12
12
13
- #if (defined(ESP_PLATFORM) && (!defined(CONFIG_IDF_TARGET_ESP32C6) && \
14
- (!defined(ARDUINO_M5Stack_NanoC6) && !defined(ARDUINO_M5STACK_NANOC6)))) || \
15
- defined (DOXYGEN_PROCESS)
16
- #pragma message "Using BSEC2"
17
- #define UNIT_BME688_USING_BSEC2
18
- #endif
19
-
20
13
#include < M5UnitComponent.hpp>
21
14
#include < m5_utility/stl/extension.hpp>
22
15
26
19
#include < bme68x/bme68x.h>
27
20
#endif
28
21
29
- #if defined(UNIT_BME688_USING_BSEC2)
22
+ #if defined(CONFIG_IDF_TARGET_ESP32C6)
23
+ #pragma message "Not using bsec2"
24
+
25
+ #else
26
+ #pragma message "Using bsec2"
27
+ #define UNIT_BME688_USING_BSEC2
28
+
30
29
#if defined(ARDUINO)
31
30
#include < bsec2.h>
32
31
#else
33
32
#include < inc/bsec_datatypes.h>
34
33
#endif
35
34
36
35
#endif
36
+
37
37
#include < memory>
38
38
#include < limits>
39
39
#include < initializer_list>
You can’t perform that action at this time.
0 commit comments