fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package

This commit is contained in:
Adam Múdry 2023-11-01 16:27:24 +01:00
parent a3bea27e68
commit 7464f5e3ea
4 changed files with 6 additions and 1104 deletions

View File

@ -4,7 +4,6 @@ components/efuse/test_efuse_host/efuse_tests.py
components/esp_local_ctrl/python/esp_local_ctrl_pb2.py
components/mbedtls/esp_crt_bundle/gen_crt_bundle.py
components/mbedtls/esp_crt_bundle/test_gen_crt_bundle/test_gen_crt_bundle.py
components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py
components/partition_table/gen_empty_partition.py
components/partition_table/gen_esp32part.py
components/partition_table/parttool.py

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
#
# SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD
# SPDX-FileCopyrightText: 2018-2023 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
#
@ -8,16 +8,9 @@ import argparse
import csv
import distutils.dir_util
import os
import sys
from itertools import zip_longest
try:
idf_path = os.environ['IDF_PATH']
sys.path.insert(0, idf_path + '/components/nvs_flash/nvs_partition_generator/')
import nvs_partition_gen
except Exception as e:
print(e)
sys.exit('Please check IDF_PATH')
import esp_idf_nvs_partition_gen.nvs_partition_gen as nvs_partition_gen
def create_temp_files(args):

View File

@ -14,6 +14,7 @@ esp-coredump
esptool
esp-idf-kconfig
esp-idf-monitor
esp-idf-nvs-partition-gen
esp-idf-size
esp-idf-panic-decoder
pyclang