From b3a89ee8c964779b6237d6a26cfc7f42d0874ff0 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 1 Sep 2024 20:14:51 +0200 Subject: [PATCH] add S32 --- pio_local.ini_example | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pio_local.ini_example b/pio_local.ini_example index c77b2b619..c8ff57ce9 100644 --- a/pio_local.ini_example +++ b/pio_local.ini_example @@ -17,7 +17,8 @@ [platformio] ; 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 = native ; default_envs = debug @@ -25,11 +26,10 @@ default_envs = s3_16M_P ; BBQKees S3 ; upload settings ; for USB ; upload_protocol = esptool -; upload_port = /dev/ttyUSB* +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 = 192.168.1.23 ; custom_emsesp_ip = ems-esp.local custom_username = admin custom_password = admin @@ -51,10 +51,16 @@ extra_scripts = [env:s3_16M_P] 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 +[env:s_4M] +extra_scripts = + 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 + ; pio run -e debug ; or from Visual Studio Code do PIO -> Project Tasks -> debug -> General -> Upload and Monitor ; options for debugging are: EMSESP_DEBUG EMSESP_UART_DEBUG EMSESP_DEBUG_SENSOR