From 265fb727abd1760e2bf0b719e5df1ffba023793c Mon Sep 17 00:00:00 2001 From: Peter Woolery Date: Tue, 14 Apr 2026 19:21:08 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20flash=5Fdevice.py=20=E2=80=94=20correct?= =?UTF-8?q?=20nvs=5Fpartition=5Fgen=20module=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit esp-idf-nvs-partition-gen installs as esp_idf_nvs_partition_gen, not nvs_partition_gen. Co-Authored-By: Claude Sonnet 4.6 --- tools/flash_device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/flash_device.py b/tools/flash_device.py index a32a268..7b1018d 100755 --- a/tools/flash_device.py +++ b/tools/flash_device.py @@ -2,7 +2,7 @@ """ flash_device.py — Write NVS config to TimerCamera-F over serial. -Requires: pip install esptool nvs-partition-gen +Requires: pip install esptool esp-idf-nvs-partition-gen Usage: python flash_device.py \\ --port /dev/ttyUSB0 \\ @@ -84,7 +84,7 @@ def main(): # Generate NVS binary ret = subprocess.run( - [sys.executable, "-m", "nvs_partition_gen", "generate", + [sys.executable, "-m", "esp_idf_nvs_partition_gen", "generate", csv_path, bin_path, NVS_PARTITION_SIZE], capture_output=True, text=True )