From fde425512e6c3cc1af6610d8952eb311cbf47456 Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 12 Sep 2024 18:11:49 +0200 Subject: [PATCH] update pio example for upload params --- pio_local.ini_example | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/pio_local.ini_example b/pio_local.ini_example index c8ff57ce9..2222beeea 100644 --- a/pio_local.ini_example +++ b/pio_local.ini_example @@ -17,22 +17,33 @@ [platformio] ; default_envs = s_16M_P ; BBQKees E32V2 -; default_envs = s3_16M_P ; BBQKees S3 -default_envs = s_4M ; BBQKees S32 +default_envs = s3_16M_P ; BBQKees S3 +; default_envs = s_4M ; BBQKees S32 ; default_envs = native ; default_envs = debug [env] -; upload settings -; 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 +; set the username and password for the admin account (default both admin) custom_username = 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 = 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: ; rm -rf .pio/libdeps/native/EMS-ESP-Modules; pio run -e native -t clean; pio run -e native -t exec ; lib_deps = @@ -57,7 +68,7 @@ extra_scripts = [env:s_4M] 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/upload.py