-
Notifications
You must be signed in to change notification settings - Fork 3
/
platformio.ini
76 lines (67 loc) · 1.98 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
64
65
66
67
68
69
70
71
72
73
74
75
76
; 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]
description = "Project for controlling Junkers heating systems equipped with BM1 and BM2 bus modules"
default_envs = development, production
data_dir = data_build
[env]
platform = espressif32
board = esp32dev
framework = arduino
upload_speed = 921600
monitor_speed = 115200
monitor_raw = yes
lib_deps =
knolleary/PubSubClient@^2.8
pierremolinaro/ACAN2515@^2.1.2
ropg/ezTime@^0.8.3
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.9.1
bblanchon/ArduinoJson@^6.19.4
me-no-dev/AsyncTCP @ ^1.1.1
https://github.com/me-no-dev/ESPAsyncWebServer.git
board_build.filesystem = littlefs
board_build.partitions = partitions_custom.csv
build_flags =
-D MCP2515_INT=17
-D MCP2515_CS=5
-D MQTT_MAX_PACKET_SIZE=1024
extra_scripts = post:gzip-data.py
[custom]
upload_protocol = espota
upload_port = 10.0.1.56
[env:development]
build_flags =
${env.build_flags}
-D ENV=${this.__env__}
-D MUTE_MQTT=1
[env:development_ota]
upload_protocol = ${custom.upload_protocol}
upload_port = ${custom.upload_port}
monitor_port = socket://${custom.upload_port}:23
build_flags = ${env:development.build_flags}
[env:development_usb]
upload_port = /dev/ttyUSB0
build_flags = ${env:development.build_flags}
[env:production]
build_flags =
${env.build_flags}
-D ENV=${this.__env__}
[env:production_ota]
upload_protocol = ${custom.upload_protocol}
upload_port = ${custom.upload_port}
monitor_port = socket://${custom.upload_port}:23
build_flags =
${env:production.build_flags}
[env:github]
build_flags =
${env.build_flags}
-include version.h
-D ENV=${this.__env__}