Home
last modified time | relevance | path

Searched full:python (Results 1 – 25 of 416) sorted by relevance

12345678910>>...17

/hal_espressif-3.6.0/tools/test_idf_size/
Dtest.sh10 …&& 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 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json app_$1.map | python $IDF_PATH/tool…
19 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archives app_$1.map | python $ID…
20 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --files app_$1.map | python $IDF_P…
21 …&& python -m coverage run -a $IDF_PATH/tools/idf_size.py --json --archive_details libdriver.a app_…
24 { python -m coverage debug sys \
25 && python -m coverage erase &> output \
31 && python -m coverage run -a $IDF_PATH/tools/idf_size.py app.map &>> output \
[all …]
/hal_espressif-3.6.0/docs/zh_CN/get-started-legacy/
Dlinux-setup-scratch.rst19 …s-dev flex bison gperf python python-pip python-setuptools python-serial python-cryptography pytho…
23 …d gcc git make ncurses flex bison gperf python-pyserial python-cryptography python-future python-p…
36 …sudo yum install gawk gperf grep gettext ncurses-devel python python-devel automake bison flex tex…
40 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
44 …sudo apt-get install gawk gperf grep gettext python python-dev automake bison flex texinfo help2ma…
48 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
Dlinux-setup.rst15 sudo yum install gcc git wget make flex bison gperf python python2-cryptography
19 … make flex bison gperf python python-pip python-setuptools python-serial python-cryptography pytho…
23 … --needed gcc git make flex bison gperf python-pyserial python-cryptography python-future python-p…
/hal_espressif-3.6.0/docs/en/get-started-legacy/
Dlinux-setup-scratch.rst19 …s-dev flex bison gperf python python-pip python-setuptools python-serial python-cryptography pytho…
23 …d gcc git make ncurses flex bison gperf python-pyserial python-cryptography python-future python-p…
38 …sudo yum install gawk gperf grep gettext ncurses-devel python python-devel automake bison flex tex…
42 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
46 …sudo apt-get install gawk gperf grep gettext python python-dev automake bison flex texinfo help2ma…
50 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
Dlinux-setup.rst15 sudo yum install gcc git wget make flex bison gperf python python2-cryptography
19 … make flex bison gperf python python-pip python-setuptools python-serial python-cryptography pytho…
23 … --needed gcc git make flex bison gperf python-pyserial python-cryptography python-future python-p…
27 …Some older Linux distributions may be missing some of the Python packages listed above (or may use…
/hal_espressif-3.6.0/components/esptool_py/esptool/
D.gitlab-ci.yml22 image: python:3.7-bullseye
78 # because python-pkcs11 (v0.7.0) package is compiled using GLIBC_2.34 but docker image python:3.7-b…
96 image: python:3.7-bullseye
107 - python -m flake8 --exit-zero --format gl-codeclimate --output-file code_quality_report.json
108 - python -m flake8
109 - python -m black --check --diff .
115 python esptool.py --help
116 python espefuse.py --help
117 python espsecure.py --help
118 python -m esptool --help
[all …]
/hal_espressif-3.6.0/tools/esp_prov/proto/
D__init__.py34 # protocomm component related python files generated from .proto files
35 constants_pb2 = _load_source('constants_pb2', idf_path + '/components/protocomm/python/constants_pb…
36 sec0_pb2 = _load_source('sec0_pb2', idf_path + '/components/protocomm/python/sec0_pb2.py')
37 sec1_pb2 = _load_source('sec1_pb2', idf_path + '/components/protocomm/python/sec1_pb2.py')
38 session_pb2 = _load_source('session_pb2', idf_path + '/components/protocomm/python/session_pb2.…
40 # wifi_provisioning component related python files generated from .proto files
41 …d_source('wifi_constants_pb2', idf_path + '/components/wifi_provisioning/python/wifi_constants_pb2…
42 …d_source('wifi_config_pb2', idf_path + '/components/wifi_provisioning/python/wifi_config_pb2.py…
43 …ad_source('wifi_scan_pb2', idf_path + '/components/wifi_provisioning/python/wifi_scan_pb2.py')
45 # custom_provisioning component related python files generated from .proto files
[all …]
/hal_espressif-3.6.0/docs/zh_CN/get-started/
Dmacos-setup.rst10 ESP-IDF 将使用 macOS 上默认安装的 Python 版本。
37 安装 Python 3
40 `Catalina 10.15 发布说明`_ 中表示不推荐使用 Python 2.7 版本,在未来的 macOS 版本中也不会默认包含 Python 2.7。执行以下命令来检查您当前使用的 Pyth…
42 python --version
44 如果输出结果是 ``Python 2.7.17``,则代表您的默认解析器是 Python 2.7。这时需要您运行以下命令检查电脑上是否已经安装过 Python 3::
48 如果运行上述命令出现错误,则代表电脑上没有安装 Python 3。
50 请根据以下步骤安装 Python 3:
Dlinux-setup-scratch.rst28 …d gcc git make ncurses flex bison gperf python-pyserial python-cryptography python-future python-p…
44 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
48 …sudo apt-get install gawk gperf grep gettext python python-dev automake bison flex texinfo help2ma…
52 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
56 sudo pacman -Sy --needed python-pip
/hal_espressif-3.6.0/tools/ci/
Dmultirun_with_pyenv.sh3 # Tool for running scripts with several versions of Python by the use of pyenv (versions must be in…
7 …ltirun_with_pyenv.sh ./exec.sh # Run ./exec.h with ALL installed versions of Python
8 …v.sh ./exec.sh arg1 arg2 # Run ./exec.h with arguments (and ALL installed versions of Python)
9 # ./multirun_with_pyenv.sh -p 2.7.15 ./exec.sh # Run ./exec.h with Python 2.7.15 (-p must be …
10 # ./multirun_with_pyenv.sh -p 3.4.8,2.7.15 ./exec.sh # Run ./exec.h with Python 3.4.8 and 2.7.15 (v…
23 echo 'No value (Python version) is given for argument -p!'
37 echo 'Switching to Python' $ver
41 echo 'Run failed! Switching back to the system version of the Python interpreter.';
47 echo 'Switching back to the system version of Python'
48 { pyenv global system; } || { echo 'Restoring the system version of the Python interpreter has fail…
Dsetup_python.sh4 # Use this version of the Python interpreter if it was not defined before.
14 echo 'Python' $PYTHON_VER 'is not installed.'
36 python --version || {
37 echo 'No matching Python interpreter is found!'
40 elif command -v python -V 1>/dev/null 2>&1;
42 python --version
43 echo 'No /opt/pyenv/activate exists and Python from path is used.'
45 echo 'No /opt/pyenv/activate exists and no Python interpreter is found!'
/hal_espressif-3.6.0/
D.pre-commit-config.yaml37 name: isort (python)
43 language: python
49 language: python
55 language: python
60 language: python
65 language: python
73 language: python
79 language: python
87 language: python
93 name: Check type annotations in python files
[all …]
Dexport.bat10 python.exe --version >NUL 2>NUL
11 if %errorlevel% neq 0 set "MISSING_REQUIREMENTS= python &echo\"
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" $*
53 echo Checking if Python packages are up to date...
54 python.exe "%IDF_PATH%\tools\check_python_dependencies.py"
/hal_espressif-3.6.0/.github/workflows/
Dpython_lint.yml1 name: Python CI
3 # This workflow will be triggered when a PR modifies some python relevant files
12 name: python lint
16 python-version: [3.6, 3.7, 3.8]
21 - name: Set up Python environment
22 uses: actions/setup-python@master
24 python-version: ${{ matrix.python-version }}
/hal_espressif-3.6.0/docs/en/get-started/
Dmacos-setup.rst10 ESP-IDF will use the version of Python installed by default on macOS.
37 Installing Python 3
40 …otes`_, use of Python 2.7 is not recommended and Python 2.7 will not be included by default in fut…
42 python --version
44 If the output is like ``Python 2.7.17``, your default interpreter is Python 2.7. If so, also check …
48 If above command returns an error, it means Python 3 is not installed.
50 Below is an overview of steps to install Python 3.
Dlinux-setup-scratch.rst28 …d gcc git make ncurses flex bison gperf python-pyserial python-cryptography python-future python-p…
44 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
48 …sudo apt-get install gawk gperf grep gettext python python-dev automake bison flex texinfo help2ma…
52 …sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex …
56 sudo pacman -Sy --needed python-pip
/hal_espressif-3.6.0/components/esptool_py/esptool/docs/en/
Dinstallation.rst6 You will need `Python 3.7 or newer <https://www.python.org/downloads/>`_ installed on your system t…
7 If your use case requires Python 2.7, 3.4, 3.5, or 3.6, please use ``esptool.py`` v3.3.* instead.
15Python installations this may not work and you’ll receive an error, try ``python -m pip install es…
19Python executables directory and you should be able to run it with the command ``esptool.py`` or `…
/hal_espressif-3.6.0/docs/en/api-guides/tools/
Didf-windows-installer.rst19 * ``/OFFLINE=[yes|no]`` - Execute installation of Python packages by PIP in offline mode. The same …
20 …SEEMBEDDEDPYTHON=[yes|no]`` - Use Embedded Python version for the installation. Set to ``no`` to a…
21 …]`` - Set PYTHONNOUSERSITE variable before launching any Python command to avoid loading Python pa…
22 * ``/PYTHONWHEELSURL=[URL]`` - Specify URLs to PyPi repositories for resolving binary Python Wheel …
43 Custom Python and custom location of Python wheels
46 The IDF installer is using by default embedded Python with reference to Python Wheel mirror.
48 Following parameters allows to select custom Python and custom location of Python wheels:
/hal_espressif-3.6.0/tools/
Dcheck_python_dependencies.py1 #!/usr/bin/env python
15 …'legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Gui…
33 parser = argparse.ArgumentParser(description='ESP-IDF Python package dependency checker')
57 print('The following Python requirements are not satisfied:')
71 …in32' and os.environ.get('MSYSTEM', None) == 'MINGW32' and '/mingw32/bin/python' in sys.executable:
74 "\"pacman -S mingw-w64-i686-python-<package_name>\" for installing it.")
79 # Special case for MINGW32 Python, needs some packages
84 … "you run \"pacman -Syu\" followed by \"pacman -S mingw-w64-i686-python{}-cryptography\"."
88 … print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
89 print('pacman -S mingw-w64-i686-python-setuptools')
[all …]
Dpython_version_checker.py5 # Script for checking the compatibility of the Python interpreter with ESP-IDF.
8 # set-up and they only intend to prefer the use of Python 3 over Python 2. Why not more? All possib…
10 # where "python" or "python3" of compatible version is available.
15 …# Python 2 is not supported anymore but still the old way of typing is used here in order to give …
34 …raise RuntimeError('ESP-IDF supports Python {} or newer but you are using Python {}. Please upgrad…
Ddetect_python.sh3 # This is a helper script for detecting Python executables in the PATH. It is intended to be used f…
4 # which Python should be used with idf_tools.py for installing tools and exporting environment vari…
6 # 1. The script will set variable ESP_PYTHON to "python" if it is of version 3.
8 # 3. The script will fall-back to "python" as the last resort and fail if it doesn't exist.
10 ESP_PYTHON=python
12 for p_cmd in python python3
/hal_espressif-3.6.0/.gitlab/ci/
Dassign-test.yml15 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py $TEST_TYPE $TEST_DIR -c $CI_TARGET_TES…
85 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py $TEST_TYPE $COMPONENT_UT_DIRS -c $CI_T…
105 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py $TEST_TYPE $TEST_DIR -c $CI_TARGET_TES…
129 - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script --customized_only
131 …- python ${ASSIGN_TEST_CASE_SCRIPT} -t ${INTEGRATION_TEST_CASE_PATH} -c $CI_TARGET_TEST_CONFIG_FIL…
158 - python $CHECKOUT_REF_SCRIPT test-management test-management
163 …- python ImportTestCase.py $JIRA_TEST_MANAGEMENT_PROJECT unity -d $UNIT_TEST_CASE_FILES -r $GIT_SHA
165 …- python ImportTestCase.py $JIRA_TEST_MANAGEMENT_PROJECT tiny_test_fw -d ${CI_PROJECT_DIR}/example…
166 …- python ImportTestCase.py $JIRA_TEST_MANAGEMENT_PROJECT tiny_test_fw -d ${CI_PROJECT_DIR}/tools/t…
168 - python OrganizeTestCases.py $JIRA_TEST_MANAGEMENT_PROJECT
Dpre_check.yml32 …- python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py files ${CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}…
47 - python ${IDF_PATH}/tools/ci/check_examples_cmake_make.py
58 - .rules:patterns:python-files
67 …- python -m flake8 --config=$IDF_PATH/.flake8 --output-file=flake8_output.txt --tee --benchmark $I…
84 - python ${IDF_PATH}/tools/ci/test_check_kconfigs.py
119 - python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32-elf-
171 …- run_cmd python $CI_SCAN_TESTS_PY example_test $EXAMPLE_TEST_DIR -b make --exclude examples/build…
172 …- run_cmd python $CI_SCAN_TESTS_PY example_test $EXAMPLE_TEST_DIR -b cmake --exclude examples/buil…
173 …- run_cmd python $CI_SCAN_TESTS_PY test_apps $TEST_APPS_TEST_DIR -c $CI_TARGET_TEST_CONFIG_FILE -o…
174 …- run_cmd python $CI_SCAN_TESTS_PY component_ut $COMPONENT_UT_DIRS --exclude $COMPONENT_UT_EXCLUDE…
[all …]
/hal_espressif-3.6.0/docs/en/contribute/
Dinstall-pre-commit-hook.rst7 Python 3.6.1 or above. This is our recommendation python version for IDF developers.
9 If you still have python versions not compatible, please do not install pre-commit hook and update …
40 ``/usr/bin/env: python: Permission denied.``
42 …u're in Git Bash or MSYS terminal, please check the python executable location by run ``which pyth…
46 Please install python manually and update this in your ``PATH`` environment variable.
/hal_espressif-3.6.0/components/partition_table/
Dproject_include.cmake40 idf_build_get_property(python PYTHON)
43 execute_process(COMMAND ${python}
77 idf_build_get_property(python PYTHON)
84 set(command ${python} ${PARTITION_TABLE_CHECK_SIZES_TOOL_PATH}
104 idf_build_get_property(python PYTHON)
106 set(command ${python} ${PARTITION_TABLE_CHECK_SIZES_TOOL_PATH}

12345678910>>...17