forked from softwarecrash/Daly2MQTT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
73 lines (66 loc) · 2.45 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
; 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] ; preparation for different environments
platform = espressif8266
framework = arduino
custom_prog_version = 2.2.15
board_build.f_cpu = 160000000L ;comment out for 'normal' 80 MHz
build_flags =
-DVERSION=${this.custom_prog_version}
-DPIO_SRC_NAM="Daly-BMS-to-MQTT"
extra_scripts = pre:tools/pre_compile.py
post:tools/post_compile.py
lib_deps =
knolleary/PubSubClient @ ^2.8
knolleary/PubSubClient @ ~2.8
knolleary/PubSubClient @ 2.8
bblanchon/ArduinoJson @ ^6.21.0
bblanchon/ArduinoJson @ ~6.21.0
bblanchon/ArduinoJson @ 6.21.0
ottowinter/ESPAsyncTCP-esphome @ ^1.2.3
ottowinter/ESPAsyncTCP-esphome @ ~1.2.3
ottowinter/ESPAsyncTCP-esphome @ 1.2.3
ottowinter/ESPAsyncWebServer-esphome @ ^3.0.0
ottowinter/ESPAsyncWebServer-esphome @ ~3.0.0
ottowinter/ESPAsyncWebServer-esphome @ 3.0.0
alanswx/ESPAsyncWiFiManager @ ^0.31
alanswx/ESPAsyncWiFiManager @ ~0.31
alanswx/ESPAsyncWiFiManager @ 0.31
plerup/EspSoftwareSerial @ ^8.0.1
plerup/EspSoftwareSerial @ ~8.0.1
plerup/EspSoftwareSerial @ 8.0.1
[env:d1_mini]
board = d1_mini
build_flags = ${env.build_flags}
board_build.ldscript = eagle.flash.4m.ld ; 4MB (FS:4MB OTA:~3600KB)
upload_speed = 921600 ; faster upload to wemos d1 mini
;board_build.f_cpu = 80000000L
[env:d1_mini_debug]
board = d1_mini
build_flags = ${env.build_flags}
board_build.ldscript = eagle.flash.4m.ld ; 4MB (FS:4MB OTA:~3600KB)
upload_speed = 921600 ; faster upload to wemos d1 mini
;board_build.f_cpu = 80000000L
custom_prog_version = ${env.custom_prog_version}_debug
monitor_filters = esp8266_exception_decoder, default, time, printable, colorize
build_type = debug
[env:esp01_1m]
board = esp01_1m
build_flags = ${env.build_flags}
board_build.ldscript = eagle.flash.1m.ld
;board_build.f_cpu = 80000000L
[env:esp01_1m_debug]
board = esp01_1m
build_flags = ${env.build_flags}
custom_prog_version = ${env.custom_prog_version}_debug
;board_build.f_cpu = 80000000L
board_build.ldscript = eagle.flash.1m.ld
monitor_filters = esp8266_exception_decoder, default, time, printable, colorize
build_type = debug