mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esptool: Include as a package, delete submodule
This commit is contained in:
parent
d6d34b27a8
commit
2bb7dc4471
1
.flake8
1
.flake8
@ -143,7 +143,6 @@ exclude =
|
|||||||
components/bootloader/subproject/components/micro-ecc/micro-ecc,
|
components/bootloader/subproject/components/micro-ecc/micro-ecc,
|
||||||
components/bt/host/nimble/nimble,
|
components/bt/host/nimble/nimble,
|
||||||
components/cmock/CMock,
|
components/cmock/CMock,
|
||||||
components/esptool_py/esptool,
|
|
||||||
components/json/cJSON,
|
components/json/cJSON,
|
||||||
components/mbedtls/mbedtls,
|
components/mbedtls/mbedtls,
|
||||||
components/openthread/openthread,
|
components/openthread/openthread,
|
||||||
|
@ -126,6 +126,8 @@ before_script:
|
|||||||
- fetch_submodules
|
- fetch_submodules
|
||||||
- *download_test_python_contraint_file
|
- *download_test_python_contraint_file
|
||||||
- $IDF_PATH/tools/idf_tools.py install-python-env
|
- $IDF_PATH/tools/idf_tools.py install-python-env
|
||||||
|
# install esptool globally, TODO: remove this, IDFCI-1207
|
||||||
|
- pip install esptool -c ~/.espressif/${CI_PYTHON_CONSTRAINT_FILE}
|
||||||
|
|
||||||
# used for check scripts which we want to run unconditionally
|
# used for check scripts which we want to run unconditionally
|
||||||
.before_script_no_sync_submodule:
|
.before_script_no_sync_submodule:
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
stage: assign_test
|
stage: assign_test
|
||||||
tags:
|
tags:
|
||||||
- assign_test
|
- assign_test
|
||||||
variables:
|
|
||||||
SUBMODULES_TO_FETCH: components/esptool_py/esptool
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- ${TEST_DIR}/test_configs
|
- ${TEST_DIR}/test_configs
|
||||||
|
@ -248,7 +248,6 @@ test_app_test_pytest_esp32s2_usb_host:
|
|||||||
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
TEST_FW_PATH: "$CI_PROJECT_DIR/tools/tiny-test-fw"
|
||||||
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
LOG_PATH: "$CI_PROJECT_DIR/TEST_LOGS"
|
||||||
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
ENV_FILE: "$CI_PROJECT_DIR/ci-test-runner-configs/$CI_RUNNER_DESCRIPTION/EnvConfig.yml"
|
||||||
SUBMODULES_TO_FETCH: "components/esptool_py/esptool"
|
|
||||||
script:
|
script:
|
||||||
- *define_config_file_name
|
- *define_config_file_name
|
||||||
# first test if config file exists, if not exist, exit 0
|
# first test if config file exists, if not exist, exit 0
|
||||||
|
4
.gitmodules
vendored
4
.gitmodules
vendored
@ -3,10 +3,6 @@
|
|||||||
# For Espressif's public projects please use '../../espressif/proj', not a '../proj'
|
# For Espressif's public projects please use '../../espressif/proj', not a '../proj'
|
||||||
#
|
#
|
||||||
|
|
||||||
[submodule "components/esptool_py/esptool"]
|
|
||||||
path = components/esptool_py/esptool
|
|
||||||
url = ../../espressif/esptool.git
|
|
||||||
|
|
||||||
[submodule "components/bt/controller/lib_esp32"]
|
[submodule "components/bt/controller/lib_esp32"]
|
||||||
path = components/bt/controller/lib_esp32
|
path = components/bt/controller/lib_esp32
|
||||||
url = ../../espressif/esp32-bt-lib.git
|
url = ../../espressif/esp32-bt-lib.git
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit aca9d70bd810c25bc953ca2f7587892c4dbaffc4
|
|
22
components/esptool_py/esptool/espefuse.py
Normal file
22
components/esptool_py/esptool/espefuse.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
try:
|
||||||
|
sys.path.remove(os.path.dirname(os.path.realpath(__file__))) # do not import this script
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
import espefuse
|
||||||
|
except ImportError:
|
||||||
|
raise ModuleNotFoundError('No module named "espefuse" please install espefuse.py by running '
|
||||||
|
'the install and export scripts.')
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
espefuse._main() # type: ignore
|
22
components/esptool_py/esptool/espsecure.py
Normal file
22
components/esptool_py/esptool/espsecure.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
try:
|
||||||
|
sys.path.remove(os.path.dirname(os.path.realpath(__file__))) # do not import this script
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
import espsecure
|
||||||
|
except ImportError:
|
||||||
|
raise ModuleNotFoundError('No module named "espsecure" please install espsecure.py by running '
|
||||||
|
'the install and export scripts.')
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
espsecure._main() # type: ignore
|
22
components/esptool_py/esptool/esptool.py
Normal file
22
components/esptool_py/esptool/esptool.py
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
try:
|
||||||
|
sys.path.remove(os.path.dirname(os.path.realpath(__file__))) # do not import this script
|
||||||
|
except ValueError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
try:
|
||||||
|
import esptool
|
||||||
|
except ImportError:
|
||||||
|
raise ModuleNotFoundError('No module named "esptool" please install esptool.py by running '
|
||||||
|
'the install and export scripts.')
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
esptool._main() # type: ignore
|
@ -73,13 +73,6 @@ These third party libraries can be included into the application (firmware) prod
|
|||||||
|
|
||||||
* `SEGGER SystemView`_ target-side library, Copyright (c) 2015-2017 SEGGER Microcontroller GmbH & Co. KG, is licensed under BSD 3-clause license.
|
* `SEGGER SystemView`_ target-side library, Copyright (c) 2015-2017 SEGGER Microcontroller GmbH & Co. KG, is licensed under BSD 3-clause license.
|
||||||
|
|
||||||
Build Tools
|
|
||||||
-----------
|
|
||||||
|
|
||||||
This is the list of licenses for tools included in this repository, which are used to build applications. The tools do not become part of the application (firmware), so their license does not affect licensing of the application.
|
|
||||||
|
|
||||||
* :component:`esptool.py <esptool_py/esptool>` is Copyright (C) 2014-2016 Fredrik Ahlberg, Angus Gratton and is licensed under the GNU General Public License v2, as described in :component_file:`LICENSE file<esptool_py/LICENSE>`.
|
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ skip:
|
|||||||
- "components/esp_phy/lib"
|
- "components/esp_phy/lib"
|
||||||
- "components/esp_wifi/lib"
|
- "components/esp_wifi/lib"
|
||||||
- "components/esp_wifi/lib_esp32"
|
- "components/esp_wifi/lib_esp32"
|
||||||
- "components/esptool_py/esptool"
|
|
||||||
- "components/ieee802154/lib"
|
- "components/ieee802154/lib"
|
||||||
- "components/json/cJSON"
|
- "components/json/cJSON"
|
||||||
- "components/lwip/lwip"
|
- "components/lwip/lwip"
|
||||||
|
@ -9,11 +9,7 @@ pyparsing
|
|||||||
pyelftools
|
pyelftools
|
||||||
idf-component-manager
|
idf-component-manager
|
||||||
esp-coredump
|
esp-coredump
|
||||||
|
esptool
|
||||||
# esptool dependencies (see components/esptool_py/esptool/setup.py)
|
|
||||||
reedsolo
|
|
||||||
bitstring
|
|
||||||
ecdsa
|
|
||||||
|
|
||||||
# kconfig and menuconfig dependencies
|
# kconfig and menuconfig dependencies
|
||||||
kconfiglib
|
kconfiglib
|
||||||
|
Loading…
Reference in New Issue
Block a user