-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
57 lines (45 loc) · 1.49 KB
/
platformio.ini
File metadata and controls
57 lines (45 loc) · 1.49 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
; 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 = private_config.ini
[common]
lib_deps =
; https://github.com/knolleary/pubsubclient.git#v2.8
; https://github.com/arduino-libraries/Ethernet#2.0.2
pubsubclient @ ~2.8
; arduino-libraries/Ethernet @ 2.0.2
arduino-timer @ ~3.0.1
ElegantOTA @ ~3.1.7
EthernetESP32 @ ~1.0.2
https://github.com/brooksbUWO/Debounce.git#1.0.0
; https://github.com/beegee-tokyo/DHTesp.git#1.19
hwspeedy/DHT-Sensor@1.4.3
karol-brejna-i/RemoteDebug@4.0.1
[env:esp32]
; platform = espressif32
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
framework = arduino
board = esp32dev
lib_compat_mode = strict
lib_deps =
${common.lib_deps}
monitor_filters = esp32_exception_decoder
build_type = debug # for the above filter to work
build_flags =
${custom.build_flags}
[env:esp32_wokwi]
extends = env:esp32
build_flags =
'-D OTA_USERNAME=admin'
'-D OTA_PASSWORD=admin'
'-D MQTT_BROKER="test.mosquitto.org"'
-D MQTT_PORT=1883
'-D MQTT_TOPIC_STATUS="gateguardian/status"'
'-D MQTT_TOPIC_COMMAND="gateguardian/command"'