From 7fe68d9db34400e2541b9f0ad5c2c3e0ad649ef7 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 17 Sep 2024 10:21:32 +0200 Subject: [PATCH] add comment about E32V2 --- scripts/rename_fw.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/rename_fw.py b/scripts/rename_fw.py index f6c128f64..ca32657ed 100755 --- a/scripts/rename_fw.py +++ b/scripts/rename_fw.py @@ -97,8 +97,12 @@ def bin_copy(source, target, env): file1.close() # make a copy using the old 3.6.x filename format for backwards compatibility with the WebUI version check, e.g. - # EMS-ESP-3_6_5-ESP32_S3.bin (16MB) with target ci_s3_16M_P - # EMS-ESP-3_6_5-ESP32.bin (4MB) with target ci_s_4M + # create a EMS-ESP--ESP32_S3.bin if target is ci_s3_16M_P (16MB, PSRAM) + # create a EMS-ESP--ESP32.bin if target is ci_s_4M (4MB, no PSRAM) + # + # Note: there is a chance newer E32V2s (which use the 16MB partition table and PSRAM) are running a custom build + # of the 3.6.5 firmware as 3.6.5 was released before production of the gateway board. Updating via the WebUI will break the system and require a manual update. + # extra_variant = "" if env.get('PIOENV') == "ci_s3_16M_P": extra_variant = "EMS-ESP-" + app_version.replace(".", "_") + "-ESP32_S3"