1# flake8: noqa 2# SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD 3# 4# SPDX-License-Identifier: GPL-2.0-or-later 5 6import json 7 8config = json.load(args.configfiles[0]) 9 10 11assert args.index == 28, "Should be index from the first script = 28" 12 13for cmd in config["burn_efuses2"]: 14 cmd = cmd.format(index=args.index) 15 print(cmd) 16 espefuse(esp, efuses, args, cmd) 17 18assert args.index == 28, "Should be index from the first script = 28" 19