-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
platformio.ini
61 lines (56 loc) · 1.92 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
; 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
[env]
platform = [email protected]
framework = arduino
monitor_speed = 115200
custom_prog_version = 1.2.0-Pre4A6
build_flags =
-DVERSION=${this.custom_prog_version}
-DPIO_SRC_NAM="Solar2MQTT"
-DESP8266 -DATOMIC_FS_UPDATE
extra_scripts = pre:tools/mini_html.py
pre:tools/pre_compile.py
post:tools/post_compile.py
lib_deps =
;bblanchon/ArduinoJson @ ^6.21.2
bblanchon/ArduinoJson @ ^7.2.0
esphome/ESPAsyncTCP-esphome @ 2.0.0
mathieucarbou/ESPAsyncWebServer @ ^3.3.16
mathieucarbou/WebSerialLite@^6.2.0
alanswx/ESPAsyncWiFiManager @ ^0.31.0
plerup/EspSoftwareSerial @ ^8.2.0
https://github.com/dok-net/ghostl
robtillaart/CRC@^1.0.3
4-20ma/ModbusMaster@^2.0.1
paulstoffregen/OneWire@^2.3.7
milesburton/DallasTemperature@^3.11.0
[env:d1_mini]
board = d1_mini
board_build.ldscript = eagle.flash.4m.ld
build_flags = ${env.build_flags}
custom_hardwareserial = false
monitor_filters = esp8266_exception_decoder, default, time, printable, colorize
upload_speed = 921600
[env:WiFi-Dongle]
board = esp12e
board_build.ldscript = eagle.flash.4m.ld
custom_hardwareserial = true
build_flags = ${env.build_flags}
custom_prog_version = ${env.custom_prog_version}
monitor_filters = esp8266_exception_decoder, default, time, printable, colorize
upload_speed = 921600
[env:esp01_1m]
board = esp01_1m
board_build.ldscript = eagle.flash.1m.ld
custom_hardwareserial = true
build_flags = ${env.build_flags}
custom_prog_version = ${env.custom_prog_version}
monitor_filters = esp8266_exception_decoder, default, time, printable, colorize