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 )