Home
last modified time | relevance | path

Searched full:py (Results 1 – 25 of 673) sorted by relevance

12345678910>>...27

/hal_espressif-3.6.0/tools/ci/
Dmypy_ignore_list.txt1 components/app_update/otatool.py
2 components/efuse/efuse_table_gen.py
3 components/efuse/test_efuse_host/efuse_tests.py
4 components/esp_local_ctrl/python/esp_local_ctrl_pb2.py
5 components/esp_netif/test_apps/component_ut_test.py
6 components/espcoredump/corefile/gdb.py
7 components/espcoredump/test/test_espcoredump.py
8 components/lwip/weekend_test/net_suite_test.py
9 components/mbedtls/esp_crt_bundle/gen_crt_bundle.py
10 components/mbedtls/esp_crt_bundle/test_gen_crt_bundle/test_gen_crt_bundle.py
[all …]
Dexecutable-list.txt1 .gitlab/ci/dependencies/generate_rules.py
2 components/app_update/otatool.py
3 components/efuse/efuse_table_gen.py
4 components/efuse/test_efuse_host/efuse_tests.py
6 components/espcoredump/espcoredump.py
7 components/espcoredump/test/test_espcoredump.py
11 components/mbedtls/esp_crt_bundle/gen_crt_bundle.py
12 components/mbedtls/esp_crt_bundle/test_gen_crt_bundle/test_gen_crt_bundle.py
13 components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py
14 components/partition_table/check_sizes.py
[all …]
Dtest_build_system_cmake.sh3 # Test the build system for basic consistency (Cmake/idf.py version)
36 export PATH="$IDF_PATH/tools:$PATH" # for idf.py
58 idf.py fullclean || exit $?
70 idf.py build || exit $?
79 idf.py build || failure "Failed to partial build"
86 idf.py build || failure "Failed to partial build bootloader"
93 idf.py build || failure "Failed to build partition table"
101 idf.py build || failure "Partial build failed"
109 idf.py build || failure "Failed to build with app version"
113 idf.py build || failure "Failed to rebuild with changed app version"
[all …]
Dexclude_check_tools_files.txt4 tools/ci/check_*.{py,txt,sh} # excluded because run in default pipeline pre-check stage
5 tools/ci/checkout_project_ref.py
6 tools/ci/ci_fetch_submodule.py
7 tools/ci/ci_get_mr_info.py
9 tools/ci/deploy_docs.py
10 tools/ci/envsubst.py
15 tools/ci/idf_ci_utils.py
19 tools/ci/normalize_clangtidy_path.py
21 tools/ci/python_packages/wifi_tools.py
27 tools/gen_esp_err_to_name.py
/hal_espressif-3.6.0/tools/test_idf_size/
Dtest.sh7 && idf.py set-target $1 \
8 && idf.py build \
9 && echo -e "\n***\nRunning mem_test.py for $1..." &>> $IDF_PATH/tools/test_idf_size/output \
10 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json build/hello_world.map > size_outpu…
11 …&& python $IDF_PATH/components/esptool_py/esptool/esptool.py --chip $1 image_info build/hello_worl…
12 …&& python -m coverage run -a $IDF_PATH/tools/test_idf_size/mem_test.py size_output.json esptool_ou…
18 …age run -a $IDF_PATH/tools/idf_size.py --json app_$1.map | python $IDF_PATH/tools/test_idf_size/js…
19 …n -a $IDF_PATH/tools/idf_size.py --json --archives app_$1.map | python $IDF_PATH/tools/test_idf_si…
20 …run -a $IDF_PATH/tools/idf_size.py --json --files app_$1.map | python $IDF_PATH/tools/test_idf_siz…
21 …_PATH/tools/idf_size.py --json --archive_details libdriver.a app_$1.map | python $IDF_PATH/tools/t…
[all …]
/hal_espressif-3.6.0/docs/zh_CN/api-reference/storage/
Dspiffs.rst24 spiffsgen.py
27 …component_file:`spiffsgen.py<spiffs/spiffsgen.py>`(只写)是 SPIFFS 的一种 Python 实现,可用于从主机文件夹内容生成文件系统镜像。打…
29 python spiffsgen.py <image_size> <base_dir> <output_file>
39 python spiffsgen.py --help
43 镜像生成后,用户可以使用 ``esptool.py`` 或 ``parttool.py`` 烧录镜像。
45 用户可以在命令行或脚本中手动单独调用 ``spiffsgen.py``,也可以直接从构建系统调用 ``spiffs_create_partition_image`` 来使用 ``spiffsgen.
57 在构建系统中使用 ``spiffsgen.py`` 更为方便,构建配置会自动传递给 ``spiffsgen.py`` 工具,确保生成的镜像可用于构建。比如,单独调用 ``spiffsgen.py``…
64 用户也可以指定 ``FLASH_IN_PROJECT``,然后使用 ``idf.py flash`` 或 ``make flash`` 将镜像与应用程序二进制文件、分区表等一起自动烧录至设备,例如:
75 不指定 FLASH_IN_PROJECT/SPIFFS_IMAGE_FLASH_IN_PROJECT 也可以生成镜像,但须使用 ``esptool.py``、``parttool.py`` 或自定义…
98 … 工具创建 SPIFFS 分区镜像。与 ``spiffsgen.py`` 相似,`mkspiffs <https://github.com/igrr/mkspiffs>`_ 也可以用于从指定文件夹…
[all …]
/hal_espressif-3.6.0/components/esptool_py/esptool/
D.gitlab-ci.yml34 - VERSION=$(esptool.py version | head -n 1)
60 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_imagegen.py
61 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_espsecure.py
62 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_merge_bin.py
63 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_image_info.py
64 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_modules.py
65 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_espefuse.py --chip esp32
66 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_espefuse.py --chip esp32c2
67 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_espefuse.py --chip esp32c3
68 - coverage run --parallel-mode -m pytest ${CI_PROJECT_DIR}/test/test_espefuse.py --chip esp32s2
[all …]
DCONTRIBUTING.rst4 We welcome contributions to the ``esptool.py`` project!
9 Contributions to ``esptool.py`` - fixing bugs, adding features, adding documentation - are welcome.…
16 Development mode allows you to run the latest development version from the `esptool.py repository o…
24 This will install ``esptool.py``’s dependencies and create some executable script wrappers in the u…
28 …actually developing and testing ``esptool.py``, run this command to install a development copy of …
39 Please report bugs in ``esptool.py`` if you find them. However, before reporting a bug please check…
59 * Have you tried running ``esptool.py`` test suite locally?
74 Please follow these coding standards when writing code for ``esptool.py``:
93 ``esptool.py`` complies with `flake8 <http://flake8.readthedocs.io/en/latest/>`_ style guide enforc…
107 …gration suite with some integration tests for ``esptool.py``, ``espefuse.py``, and ``espsecure.py`…
[all …]
Dsetup.cfg9 test/*.py: E402,
12 espefuse/efuse/*/mem_definition.py: E241, E501,
13 espefuse/efuse/*/operations.py: E241, E501, F401,
14 espefuse/efuse/*/fields.py: E241, E501,
17 test/test_modules.py: E501,
19 # don't check for unused imports in __init__.py files
20 __init__.py: F401,
23 docs/conf_common.py: F405,
/hal_espressif-3.6.0/docs/zh_CN/api-guides/
Dpartition-tables.rst14 在使用分区表时,最简单的方法就是打开项目配置菜单(``idf.py menuconfig``),并在 :ref:`CONFIG_PARTITION_TABLE_TYPE` 下选择一个预定义的分区表:
19 在以上两种选项中,出厂应用程序均将被烧录至 flash 的 0x10000 偏移地址处。这时,运行 `idf.py partition-table` ,即可以打印当前使用分区表的信息摘要。
67 - 每个分区的 ``Offset`` 字段可以为空,``gen_esp32part.py`` 工具会从分区表位置的后面开始自动计算并填充该分区的偏移地址,同时确保每个分区的偏移地址正确对齐。
112 …- 如果需要从此分区加载 phy 初始化数据,请打开项目配置菜单(``idf.py menuconfig``),并且使能 :ref:`CONFIG_ESP_PHY_INIT_DATA_IN_PA…
138 app 分区的偏移地址必须要与 0x10000 (64K) 对齐,如果将偏移字段留空,``gen_esp32part.py`` 工具会自动计算得到一个满足对齐要求的偏移地址。如果 app 分区的偏移…
156 …的分区表采用二进制格式,而不是 CSV 文件本身。此时,:component_file:`partition_table/gen_esp32part.py` 工具可以实现 CSV 和二进制文件之间…
158 如果您在项目配置菜单(``idf.py menuconfig``)中设置了分区表 CSV 文件的名称,然后构建项目或执行 ``idf.py partition-table``。这时,转换将在编译过程…
162 python gen_esp32part.py input_partitions.csv binary_partitions.bin
166 python gen_esp32part.py binary_partitions.bin input_partitions.csv
168 在标准输出(stdout)上,打印二进制分区表的内容(运行 ``idf.py partition-table`` 时展示的信息摘要也是这样生成的)::
[all …]
Dbuild-system.rst33 - ``项目配置`` 保存在项目根目录下名为 ``sdkconfig`` 的文件中,可以通过 ``idf.py menuconfig`` 进行修改,且一个项目只能包含一个项目配置。
50 .. _idf.py:
52 idf.py
55 ``idf.py`` 命令行工具提供了一个前端,可以帮助您轻松管理项目的构建过程,它管理了以下工具:
59 - `esptool.py`_,烧录目标硬件设备
61 :ref:`入门指南 <get-started-configure>` 简要介绍了如何设置 ``idf.py`` 用于配置、构建并烧录项目。
63 ``idf.py`` 应运行在 ESP-IDF 的 ``项目`` 目录下,即包含 ``CMakeLists.txt`` 文件的目录。仅包含 Makefile 的老式项目并不支持 ``idf.py``。
65 运行 ``idf.py --help`` 查看完整的命令列表。下面总结了最常用的命令:
67 - ``idf.py set-target <target>`` 会设置构建项目的目标(芯片)。请参考 `选择目标芯片`_。
68 - ``idf.py menuconfig`` 会运行 ``menuconfig`` 工具来配置项目。
[all …]
/hal_espressif-3.6.0/tools/ldgen/
DREADME.md10 - `ldgen.py` - Python executable that gets called during build.
11 - `entity.py` - contains classes related to entities (library, object, symbol or combination of the…
12 - `fragments.py` - contains classes for parsing the different types of fragments in linker fragment…
13 - `generation.py` - contains bulk of the logic used to process fragments into output commands.
14 - `sdkconfig.py` - used for evaluating conditionals in fragment files.
15 - `linker_script.py` - augments the input linker script template with output commands from generati…
16 - `output_commands.py` - contains classes that represent the output commands in the output linker s…
17 - `ldgen_common.py` - contains miscellaneous utilities/definitions that can be used in the files me…
32 The build system invokes `ldgen.py`, passing some information from the build.
34 The linker fragment files are parsed by `fragments.py`, evaluating conditional expressions
[all …]
/hal_espressif-3.6.0/.gitlab/ci/
Dhost-test.yml38 - ./gen_esp32part_tests.py
60 - ./test_fragments.py
61 - ./test_generation.py
62 - ./test_entity.py
63 - ./test_output_commands.py
116 - ./test_spiffsgen.py
130 - ./test_gen_crt_bundle.py
136 - ./test_confserver.py
142 - ./test_target_visibility.py
143 - ./test_kconfig_out.py
[all …]
/hal_espressif-3.6.0/
Dexport.bat21 set "IDF_TOOLS_PY_PATH=%IDF_PATH%\tools\idf_tools.py"
31 :: It is possible to do this without a temporary file (running idf_tools.py from for /r command),
32 :: but that way it is impossible to get the exit code of idf_tools.py.
34 python.exe "%IDF_PATH%\tools\idf_tools.py" export --format key-value >"%IDF_TOOLS_EXPORTS_FILE%"
47 DOSKEY idf.py=python.exe "%IDF_PATH%\tools\idf.py" $*
48 DOSKEY esptool.py=python.exe "%IDF_PATH%\components\esptool_py\esptool\esptool.py" $*
49 DOSKEY espefuse.py=python.exe "%IDF_PATH%\components\esptool_py\esptool\espefuse.py" $*
50 DOSKEY otatool.py=python.exe "%IDF_PATH%\components\app_update\otatool.py" $*
51 DOSKEY parttool.py=python.exe "%IDF_PATH%\components\partition_table\parttool.py" $*
54 python.exe "%IDF_PATH%\tools\check_python_dependencies.py"
[all …]
DREADME_CN.md62 * `idf.py set-target <chip_name>` 可将项目的目标芯片设置为 `<chip_name>`。运行 `idf.py set-target`,不用带任何参数,可查看所有支持…
63 * `idf.py menuconfig` 可打开一个基于文本的配置菜单,可以用来对项目进行配置。
67 `idf.py build`
73 当构建结束,终端会打印出一条命令行,告知如何使用 esptool.py 工具烧写项目到芯片中。但你也可以运行下面这条命令来自动烧写:
75 `idf.py -p PORT flash`
77 …inux 下的 `/dev/ttyUSB0`,或者 macOS 下的 `/dev/cu.usbserial-X`。如果省略 `-p` 选项,`idf.py flash` 会尝试使用第一个可用的串口…
79 这会烧写整个项目(包括应用程序,引导程序和分区表)到芯片中,此外还可以使用 `idf.py menuconfig` 来调整串口烧写相关的配置。
81 不必先运行 `idf.py build` 再运行 `idf.py flash`,`idf.py flash` 会根据需要自动重新构建项目。
85 `idf.py monitor` 会调用 [idf_monitor 工具](https://docs.espressif.com/projects/esp-idf/en/latest/get-sta…
91 `idf.py flash monitor`
[all …]
DREADME.md62 * `idf.py set-target <chip_name>` sets the target of the project to `<chip_name>`. Run `idf.py set-…
63 * `idf.py menuconfig` opens a text-based configuration menu where you can configure the project.
67 `idf.py build`
73 When the build finishes, it will print a command line to use esptool.py to flash the chip. However …
75 `idf.py -p PORT flash`
77 …x, or `/dev/cu.usbserial-X` on MacOS. If the `-p` option is left out, `idf.py flash` will try to f…
79 …e) to a new chip. The settings for serial port flashing can be configured with `idf.py menuconfig`.
81 You don't need to run `idf.py build` before running `idf.py flash`, `idf.py flash` will automatical…
85 The `idf.py monitor` target uses the [idf_monitor tool](https://docs.espressif.com/projects/esp-idf…
91 `idf.py flash monitor`
[all …]
/hal_espressif-3.6.0/components/esptool_py/esptool/docs/en/espefuse/
Dexecute-scripts-cmd.rst6 The ``espefuse.py execute_scripts`` command executes scripts to burn at one time.
10 …- it is special format of python scripts (receives list of files, like script1.py script2.py etc.).
15 …t of configfiles with data (receives list of configfiles, like configfile1.py configfile2.py etc.).
19 > espefuse.py execute_scripts efuse_script1.py efuse_script2.py ...
23 … is a list of scripts. The special format of python scripts can be executed inside ``espefuse.py``.
27 Below you can see some examples of the script. This script file is run from ``espefuse.py`` as ``ex…
30 Inside this script, you can call all commands which are available in CLI, see ``espefuse.py --help`…
33 …r script (see the test case ``test_execute_scripts_nesting`` in ``esptool/test/test_espefuse.py``).
37 > espefuse.py execute_scripts efuse_script1.py --do-not-confirm
71 …be read back, and will be done some checks of written eFuses by ``espefuse.py``. In production, yo…
[all …]
/hal_espressif-3.6.0/docs/en/api-reference/storage/
Dspiffs.rst24 spiffsgen.py
27py<spiffs/spiffsgen.py>` is a write-only Python SPIFFS implementation used to create filesystem im…
29 python spiffsgen.py <image_size> <base_dir> <output_file>
39 python spiffsgen.py --help
43 When the image is created, it can be flashed using ``esptool.py`` or ``parttool.py``.
45 … the ``spiffsgen.py`` standalone by manually running it from the command line or a script, it is a…
64 …ly flashed together with the app binaries, partition tables, etc. on ``idf.py flash`` or ``make fl…
75 … generated, but you will have to flash it manually using ``esptool.py``, ``parttool.py``, or a cus…
98 … Similar to ``spiffsgen.py``, it can be used to create an image from a given folder and then flash…
113 …python esptool.py --chip {IDF_TARGET_PATH_NAME} --port [port] --baud [baud] write_flash -z 0x11000…
[all …]
/hal_espressif-3.6.0/examples/storage/parttool/
DREADME.md3 …es common operations the partitions tool [parttool.py](../../../components/partition_table/parttoo…
9 …uld focus on the contents of the Python script [parttool_example.py](parttool_example.py) or shell…
30 idf.py build flash
33 ### Running [parttool_example.py](parttool_example.py)
35 The example can be executed by running the script [parttool_example.py](parttool_example.py) or [pa…
39 python parttool_example.py
51 python parttool_example.py --port /dev/ttyUSB2
/hal_espressif-3.6.0/examples/system/ota/otatool/
DREADME.md3 …emonstrates common operations the OTA tool [otatool.py](../../../../components/app_update/otatool.
9 …ould focus on the contents of the Python script [otatool_example.py](otatool_example.py) or shell …
30 idf.py build flash
33 ### Running [otatool_example.py](otatool_example.py)
35 The example can be executed by running the script [otatool_example.py](otatool_example.py) or [otat…
39 python otatool_example.py
52 python otatool_example.py --port /dev/ttyUSB2
/hal_espressif-3.6.0/docs/en/api-guides/
Dpartition-tables.rst14 The simplest way to use the partition table is to open the project configuration menu (``idf.py men…
19 In both cases the factory app is flashed at offset 0x10000. If you execute `idf.py partition-table`…
67 * The "Offset" field for each partition is empty. The gen_esp32part.py tool fills in each blank off…
112 …- To load PHY data from this partition, open the project configuration menu (``idf.py menuconfig``…
138 …ed to 0x10000 (64K). If you leave the offset field blank, ``gen_esp32part.py`` will automatically…
156 …y format, not CSV. The tool :component_file:`partition_table/gen_esp32part.py` is used to convert …
158 …e CSV name in the project configuration (``idf.py menuconfig``) and then build the project or run …
162 python gen_esp32part.py input_partitions.csv binary_partitions.bin
166 python gen_esp32part.py binary_partitions.bin input_partitions.csv
168 …on table on stdout (this is how the summaries displayed when running ``idf.py partition-table`` ar…
[all …]
/hal_espressif-3.6.0/tools/unit-test-app/
DREADME.md12 * `idf.py menuconfig` to configure the Unit Test App.
13 * `idf.py -T <component> -T <component> ... build` with `component` set to names of the components …
14 * Follow the printed instructions to flash, or run `idf.py -p PORT flash`.
15py ut-clean-config_name` and `idf.py ut-build-config_name` (where `config_name` is the file name u…
128 * Or, you can use `tools/unit-test-app/unit_test.py` to run the test cases (see below)
130 ## Running unit tests on local machine by `unit_test.py`
143 idf.py ut-apply-config-psram
144 idf.py build -T vfs
153 ./unit_test.py "UART can do select()"
156 unit_test.py script will flash the unit test binary from the (default) build directory, then run th…
[all …]
/hal_espressif-3.6.0/docs/zh_CN/security/
Dflash-encryption.rst8 {IDF_TARGET_ENCRYPT_COMMAND:default="espsecure.py encrypt_flash_data --aes_xts", esp32="espsecure.p…
48 Flash 加密操作由 {IDF_TARGET_NAME} 上的多个 eFuse 控制。以下是这些 eFuse 列表及其描述,下表中的各 eFuse 名称也在 espefuse.py 工具中使用,为…
129 …ence/system/efuse>`。要使用 espefuse.py 更改 eFuse 字段的保护位,请使用以下两个命令:read_protect_efuse 和 write_protect_e…
244 idf.py flash monitor
292 espsecure.py generate_flash_encryption_key my_flash_encryption_key1.bin
294 espsecure.py generate_flash_encryption_key my_flash_encryption_key2.bin
303 espsecure.py generate_flash_encryption_key my_flash_encryption_key.bin
310 espsecure.py generate_flash_encryption_key my_flash_encryption_key.bin
318 espefuse.py --port PORT burn_key flash_encryption my_flash_encryption_key.bin
324 espefuse.py --port PORT burn_key BLOCK my_flash_encryption_key.bin KEYPURPOSE
[all …]
/hal_espressif-3.6.0/components/esptool_py/esptool/docs/en/
Dindex.rst1 Esptool.py Documentation
4 This is the documentation for ``esptool.py`` - a Python-based, open source, platform independent ut…
6 ``esptool.py``, ``espefuse.py`` and ``espsecure.py`` are a complete toolset for working with Espres…
14 This document describes using ``esptool.py`` with the {IDF_TARGET_NAME} SoC. To switch to a differe…
21 1) Install ``esptool.py``:
32 3) Run ``esptool.py`` commands:
36 $ esptool.py -p PORT flash_id
/hal_espressif-3.6.0/examples/protocols/mqtt/ssl_ds/
DREADME.md22 idf.py set-target /* target */
47 …pheral can be configured with the python script [configure_ds.py](README.md#configure_ds-py) by ex…
50 python configure_ds.py --port /* USB COM port */ --private-key /* RSA priv key */
58 * Open the project configuration menu (`idf.py menuconfig`)
67 idf.py -p PORT flash monitor
101 ### configure_ds.py
102 The script [configure_ds.py](./configure_ds.py) is used for configuring the DS peripheral on the ES…
110 python configure_ds.py --private-key /* path to client (rsa) prv key */
118 python configure_ds.py --efuse_key_id /* key id in range 1-5 */
128 python configure_ds.py --summary
[all …]

12345678910>>...27