-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
50 lines (46 loc) · 1.4 KB
/
platformio.ini
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
; 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 = user_config.ini
[env]
build_flags = -D $PIOENV
platform_packages =
platformio/tool-cmake@^3.21.3
lib_ignore =
WiFiNINA
MKRGSM to platformio.ini
lib_deps =
ow
grafana/SnappyProto@^0.1.2
grafana/PromLokiTransport@^0.2.2
arduino-libraries/ArduinoBearSSL@^1.7.3
arduino-libraries/ArduinoHttpClient@^0.5.0
arduino-libraries/ArduinoECCX08@^1.3.7
grafana/PrometheusArduino@^0.4.0
sensirion/arduino-sht @ ^1.2.5
[user_config]
build_flags =
-D ENV_GRAFANA_USER=\"${sysenv.GRAFANA_USER}\"
-D ENV_GRAFANA_PASSWORD=\"${sysenv.GRAFANA_PASSWORD}\"
-D ENV_WIFI_SSID=\"${sysenv.WIFI_SSID}\"
-D ENV_WIFI_PASSWORD=\"${sysenv.WIFI_PASSWORD}\"
-D ENV_LABEL_SITE="${sysenv.LABEL_SITE}\"
-D ENV_LABEL_FLOOR="${sysenv.LABEL_FLOOR}\"
-D ENV_ENABLE_REV2_SENSORS="${sysenv.ENABLE_REV2_SENSORS}\"
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 9600
monitor_filters = esp32_exception_decoder
build_flags =
${env.build_flags}
${user_config.build_flags}
-D MONITOR_SPEED=${this.monitor_speed}