forked from bigdigital/Solar2MQTT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
41 lines (39 loc) · 1.28 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
; 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.0.0
build_flags =
-DVERSION=${this.custom_prog_version}
-DPIO_SRC_NAM="Must2MQTT"
-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
ottowinter/ESPAsyncTCP-esphome@^1.2.3
ottowinter/ESPAsyncWebServer-esphome @ ^3.1.0
alanswx/ESPAsyncWiFiManager @ ^0.31.0
plerup/EspSoftwareSerial @ ^8.2.0
https://github.com/dok-net/ghostl
robtillaart/CRC@^1.0.1
asjdf/WebSerialLite@^2.2.0
4-20ma/ModbusMaster@^2.0.1
rlogiacco/CircularBuffer@^1.4.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