forked from BlackIoT/Polverine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
63 lines (58 loc) · 1.53 KB
/
platformio.ini
File metadata and controls
63 lines (58 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
;
[platformio]
extra_configs =
deps/bmv080_sdk.ini
deps/bsec3_lib.ini
credentials.ini
boards_dir = boards
; Default credentials (can be overridden in credentials.ini)
[credentials]
wifi_ssid =
wifi_pass =
mqtt_uri =
mqtt_user =
mqtt_pass =
[env:polverine]
platform = espressif32@^6.3.2
board = polverine
framework = espidf
board_upload.flash_size = 8MB
board_build.partitions = partitions.csv
board_build.embed_files =
web/config.html.gz
web/success.html.gz
web/sensor_dashboard.html.gz
build_flags =
-std=gnu17
-Wall
-mlongcalls
-Wno-frame-address
-Wl,--static
-l lib_bmv080.a
-l lib_postProcessor.a
-l libalgobsec.a
-O2
-L ./lib
${bmv080_sdk.build_flags}
${bsec3_lib.build_flags}
-DDEFAULT_WIFI_SSID=\"${credentials.wifi_ssid}\"
-DDEFAULT_WIFI_PASS=\"${credentials.wifi_pass}\"
-DDEFAULT_MQTT_URI=\"${credentials.mqtt_uri}\"
-DDEFAULT_MQTT_USER=\"${credentials.mqtt_user}\"
-DDEFAULT_MQTT_PASS=\"${credentials.mqtt_pass}\"
build_src_filter =
${bsec3_lib.build_src_filter}
+<../deps/bosch-sensortec/bsec_library_wrappers/bsec_integration.c>
extra_scripts =
pre:compress_web.py
pre:before_build.py
lib_ldf_mode = deep+