mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package
This commit is contained in:
parent
a3bea27e68
commit
7464f5e3ea
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
@ -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):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user