forked from daniel-jong/esp8266_p1meter
-
Notifications
You must be signed in to change notification settings - Fork 4
/
platformio.ini
50 lines (44 loc) · 1.39 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
; 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]
src_dir = C:\Users\[email protected]\source\personal_repos\esp8266_p1meter\esp8266_p1meter
default_envs = nodemcuv2_USB
[env]
lib_deps =
datacute/DoubleResetDetector@^1.0.3
bblanchon/ArduinoJson @ ^6.21.0
[env:nodemcuv2_OTA_1]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
upload_protocol = espota
upload_port = 192.168.0.7 ;REPLACE THIS WITH IPADDRESS OF YOUR ESP8266 BEFORE UPLOAD
upload_flags = --auth=yoursecretpassword ;REPLACE THIS BEFORE UPLOAD
[env:nodemcuv2_OTA_2]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
upload_protocol = espota
upload_port = 192.168.0.228 ;REPLACE THIS WITH IPADDRESS OF YOUR ESP8266 BEFORE UPLOAD
upload_flags = --auth=yoursecretpassword ;REPLACE THIS BEFORE UPLOAD
[env:nodemcuv2_USB]
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
[env:d1_mini_USB]
platform = espressif8266
board = d1_mini
framework = arduino
monitor_speed = 115200