-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
48 lines (41 loc) · 1.19 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
default_envs = d1_mini
; default_envs = d1_mini_ota
[env]
platform = espressif8266
framework = arduino
lib_deps =
BH1750
FastLed
NtpClient
Time
TimeZone
https://github.com/bertmelis/espMqttClient.git
https://github.com/luebbe/HaMqttConfigBuilder.git
luisllamasbinaburo/MedianFilterLib@^1.0.0
luisllamasbinaburo/MeanFilterLib@^1.0.0
monitor_speed = 74880
monitor_filters = esp8266_exception_decoder
monitor_rts = 0
monitor_dtr = 0
build_flags = -D SERIAL_SPEED=${env.monitor_speed}
extra_scripts =
pre:platformio_version_increment/version_increment_pre.py
post:platformio_version_increment/version_increment_post.py
[env:d1_mini]
board = d1_mini
upload_speed = 921600
build_flags = -D SERIAL_SPEED=${env.monitor_speed} -D DEBUG
[env:d1_mini_ota]
board = d1_mini
upload_protocol = espota
upload_port = 192.168.0.xxx