forked from espressif/esp-idf
fix(tools): replace nvs_partition_gen.py with new esp-idf-nvs-partition-gen package
This commit is contained in:
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/esp_local_ctrl/python/esp_local_ctrl_pb2.py
|
||||||
components/mbedtls/esp_crt_bundle/gen_crt_bundle.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/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_empty_partition.py
|
||||||
components/partition_table/gen_esp32part.py
|
components/partition_table/gen_esp32part.py
|
||||||
components/partition_table/parttool.py
|
components/partition_table/parttool.py
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/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
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -8,16 +8,9 @@ import argparse
|
|||||||
import csv
|
import csv
|
||||||
import distutils.dir_util
|
import distutils.dir_util
|
||||||
import os
|
import os
|
||||||
import sys
|
|
||||||
from itertools import zip_longest
|
from itertools import zip_longest
|
||||||
|
|
||||||
try:
|
import esp_idf_nvs_partition_gen.nvs_partition_gen as nvs_partition_gen
|
||||||
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')
|
|
||||||
|
|
||||||
|
|
||||||
def create_temp_files(args):
|
def create_temp_files(args):
|
||||||
|
@@ -14,6 +14,7 @@ esp-coredump
|
|||||||
esptool
|
esptool
|
||||||
esp-idf-kconfig
|
esp-idf-kconfig
|
||||||
esp-idf-monitor
|
esp-idf-monitor
|
||||||
|
esp-idf-nvs-partition-gen
|
||||||
esp-idf-size
|
esp-idf-size
|
||||||
esp-idf-panic-decoder
|
esp-idf-panic-decoder
|
||||||
pyclang
|
pyclang
|
||||||
|
Reference in New Issue
Block a user