From 164af013c288b8efe994de14c13c99f5b8773286 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Mon, 6 Mar 2023 20:31:28 +0530 Subject: [PATCH] [ESP32] fix factory partition tool to only generate discriminator as well --- scripts/tools/generate_esp32_chip_factory_bin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/tools/generate_esp32_chip_factory_bin.py b/scripts/tools/generate_esp32_chip_factory_bin.py index a88e999d1010ea..b7dd96eb0d2d07 100755 --- a/scripts/tools/generate_esp32_chip_factory_bin.py +++ b/scripts/tools/generate_esp32_chip_factory_bin.py @@ -486,6 +486,8 @@ def any_base_int(s): return int(s, 0) if args.passcode is not None: spake2p_params = gen_spake2p_params(args.passcode) + else: + spake2p_params = None populate_factory_data(args, spake2p_params)