-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
63 lines (54 loc) · 1.84 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
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
; Keep sensitive data in environment variables
;
; Unix
; export WIFI_SSID='\"my\ ssid\ name\"'
; export WIFI_PASS='\"my\ password\"'
;
; Windows
; set WIFI_SSID='"my ssid name"'
; set WIFI_PASS='"my password"'
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
build_flags =
-DWIFI_SSID=${sysenv.WIFI_SSID}
-DWIFI_PASSWORD=${sysenv.WIFI_PASSWORD}
-DMQTT_USERNAME=${sysenv.MQTT_USERNAME}
-DMQTT_PASSWORD=${sysenv.MQTT_PASSWORD}
-DMQTT_SERVER=${sysenv.MQTT_SERVER}
-DMQTT_PORT=${sysenv.MQTT_PORT}
-DDEVICE_NAME=${sysenv.DEVICE_NAME}
lib_deps =
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
arduino-libraries/NTPClient @ ^3.1.0
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
adafruit/Adafruit BME280 Library @ ^2.1.2
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
adafruit/Adafruit Unified Sensor @ ^1.1.4
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
bblanchon/ArduinoJson @ ^6.17.3
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
thijse/ArduinoLog @ ^1.0.3
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
marian-craciunescu/ESP32Ping @ ^1.7
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
knolleary/PubSubClient @ ^2.8
monitor_speed = 115200
src_filter = +<*>