mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
update pio example for upload params
This commit is contained in:
@@ -17,22 +17,33 @@
|
|||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
; default_envs = s_16M_P ; BBQKees E32V2
|
; default_envs = s_16M_P ; BBQKees E32V2
|
||||||
; default_envs = s3_16M_P ; BBQKees S3
|
default_envs = s3_16M_P ; BBQKees S3
|
||||||
default_envs = s_4M ; BBQKees S32
|
; default_envs = s_4M ; BBQKees S32
|
||||||
; default_envs = native
|
; default_envs = native
|
||||||
; default_envs = debug
|
; default_envs = debug
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
; upload settings
|
; set the username and password for the admin account (default both admin)
|
||||||
; for USB
|
|
||||||
; upload_protocol = esptool
|
|
||||||
upload_port = /dev/ttyUSB*
|
|
||||||
; for OTA add scripts/upload.py to extra_scripts
|
|
||||||
upload_protocol = custom
|
|
||||||
custom_emsesp_ip = 10.10.10.175
|
|
||||||
; custom_emsesp_ip = ems-esp.local
|
|
||||||
custom_username = admin
|
custom_username = admin
|
||||||
custom_password = admin
|
custom_password = admin
|
||||||
|
|
||||||
|
; ** upload settings **
|
||||||
|
; for direct USB set:
|
||||||
|
; upload_protocol = esptool
|
||||||
|
; upload_port = /dev/ttyUSB*
|
||||||
|
;
|
||||||
|
; for direct via URL (OTA) set:
|
||||||
|
; upload_protocol = custom
|
||||||
|
; custom_emsesp_ip = <ip address> or ems-esp.local
|
||||||
|
; custom_password = admin
|
||||||
|
|
||||||
|
; upload_protocol = esptool
|
||||||
|
; upload_port = /dev/ttyUSB*
|
||||||
|
|
||||||
|
; upload_protocol = custom
|
||||||
|
; custom_emsesp_ip = 10.10.10.175
|
||||||
|
|
||||||
|
; ** modules **
|
||||||
; example below is using a locally built version of EMS-ESP-Modules. You can also test with:
|
; example below is using a locally built version of EMS-ESP-Modules. You can also test with:
|
||||||
; rm -rf .pio/libdeps/native/EMS-ESP-Modules; pio run -e native -t clean; pio run -e native -t exec
|
; rm -rf .pio/libdeps/native/EMS-ESP-Modules; pio run -e native -t clean; pio run -e native -t exec
|
||||||
; lib_deps =
|
; lib_deps =
|
||||||
@@ -57,7 +68,7 @@ extra_scripts =
|
|||||||
|
|
||||||
[env:s_4M]
|
[env:s_4M]
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
; pre:scripts/build_interface.py ; comment out if you don't want to re-build the WebUI each time
|
||||||
scripts/rename_fw.py
|
scripts/rename_fw.py
|
||||||
scripts/upload.py
|
scripts/upload.py
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user