-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
44 lines (41 loc) · 1.14 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
; 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 = espressif32@^4.3.0
board = esp32dev
framework = arduino
monitor_speed = 115200
extra_scripts =
pre:../env.py
lib_deps =
mandulaj/PZEM-004T-v30 @ ^1.1.2
olikraus/U8g2 @ ^2.32.6
esphome/ESPAsyncWebServer-esphome @ ^2.1.0
bblanchon/ArduinoJson @ ^6.18.5
ottowinter/AsyncMqttClient-esphome @ ^0.8.6
rlogiacco/CircularBuffer @ ^1.3.3
https://github.com/strange-v/ESPTelnet
build_flags =
-D ETH_PHY_TYPE=ETH_PHY_LAN8720
-D ETH_PHY_ADDR=1
-D ETH_PHY_POWER=16
-D ETH_CLK_MODE=ETH_CLOCK_GPIO0_IN
[env:LOCAL]
build_flags =
${env.build_flags}
-D SERIAL_DEBUG
[env:REMOTE]
build_flags =
${env.build_flags}
-D TELNET_DEBUG
upload_protocol = espota
upload_port = 127.0.0.1
upload_flags =
--auth=123456