-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
65 lines (54 loc) · 1.61 KB
/
platformio.ini
File metadata and controls
65 lines (54 loc) · 1.61 KB
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
; 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
[common]
[env]
platform = espressif32@4.0.0
board = esp32doit-devkit-v1
board_build.partitions = min_spiffs.csv
framework = arduino
lib_ldf_mode = deep
lib_deps =
knolleary/PubSubClient
blynkkk/Blynk
prampec/IotWebConf@3.2.1
joaolopesf/RemoteDebug
br3ttb/PID
emelianov/modbus-esp8266
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build-flags = -DWEBSOCKET_DISABLED -DSERIAL_PORT_HARDWARE=Serial1
[env:release]
upload_port = COM3
build_type = release
build_flags = -DWEBSOCKET_DISABLED -DSERIAL_PORT_HARDWARE=Serial1 -O2
[env:release-network]
upload_port = 192.168.100.75
upload_protocol = espota
build_type = release
build_flags = -DWEBSOCKET_DISABLED -DSERIAL_PORT_HARDWARE=Serial1 -O2
[env:debug-plain]
upload_port = COM6
build_type = debug
debug_build_flags = -O0 -ggdb3 -g3
[env:debug]
upload_port = COM8
build_type = debug
debug_tool = esp-prog
debug_init_break =
debug_build_flags = -DSERIAL_PORT_HARDWARE=Serial1 -O0 -ggdb3 -g3
upload_protocol = esp-prog
debug_load_mode = manual
[env:release-esp-prog]
upload_port = COM8
build_type = release
upload_protocol = esp-prog
build_flags = -DSERIAL_PORT_HARDWARE=Serial1 -DWEBSOCKET_DISABLED -O2