-
Notifications
You must be signed in to change notification settings - Fork 10
/
platformio.ini
76 lines (62 loc) · 1.69 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]
default_envs = release_nodemcu
[env]
framework = arduino
lib_ldf_mode = deep
lib_deps =
emelianov/modbus-esp8266
locoduino/RingBuffer
prampec/IotWebConf
monitor_speed = 19200
monitor_port = com7
monitor_filters = esp8266_exception_decoder
platform = espressif8266
board_build.partitions = min_spiffs.csv
upload_protocol = esptool
build_flags = -DIOTWEBCONF_DEBUG_DISABLED -O3
#build_flags = -O2
[env:release_nodemcu]
board = nodemcuv2
build_type = release
upload_port = COM7
[env:release_ota_nodemcu]
board = nodemcuv2
build_type = release
upload_port = 192.168.100.182
upload_protocol = espota
[env:release_d1]
board = d1_mini
build_type = release
upload_port = COM7
[env:release_d1_ota]
board = d1_mini
build_type = release
upload_port = 192.168.100.178
upload_protocol = espota
[env:release_s2]
platform = espressif32
board = lolin_s2_mini
build_type = release
build_flags = -DIOTWEBCONF_DEBUG_DISABLED -O3
monitor_speed = 115200
[env:release_s2_ota]
platform = espressif32
board = lolin_s2_mini
build_type = release
upload_port = 192.168.100.201
upload_protocol = espota
build_flags = -DIOTWEBCONF_DEBUG_DISABLED -O3
[env:debug_s2]
platform = espressif32
board = lolin_s2_mini
build_type = debug
build_flags = -DIOTWEBCONF_DEBUG_TO_SERIAL -O0 -g