Home
last modified time | relevance | path

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

12345678910>>...15

/hal_espressif-2.7.6/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-2.7.6/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-2.7.6/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:
60 停用 Python 2
63 Python 2 已经 `结束生命周期 <https://www.python.org/doc/sunset-python-2/>`_,ESP-IDF 很快将不再支持 Python 2。请安装 Py…
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
103 停用 Python 2
106 Python 2 已经 `结束生命周期 <https://www.python.org/doc/sunset-python-2/>`_,ESP-IDF 很快将不再支持 Python 2。请安装 Py…
Dlinux-setup.rst24 …sudo pacman -S --needed gcc git make flex bison gperf python-pip cmake ninja ccache dfu-util libusb
44 rm -r ~/.espressif/python_env && python get-pip.py
46 停用 Python 2
49 Python 2 已经 `结束生命周期 <https://www.python.org/doc/sunset-python-2/>`_,ESP-IDF 很快将不再支持 Python 2。请安装 Py…
/hal_espressif-2.7.6/tools/esp_prov/proto/
D__init__.py24 # importlib.machinery doesn't exists in Python 2 so we will use imp (deprecated in Python 3)
31 # protocomm component related python files generated from .proto files
32 constants_pb2 = _load_source('constants_pb2', idf_path + '/components/protocomm/python/constants_pb…
33 sec0_pb2 = _load_source('sec0_pb2', idf_path + '/components/protocomm/python/sec0_pb2.py')
34 sec1_pb2 = _load_source('sec1_pb2', idf_path + '/components/protocomm/python/sec1_pb2.py')
35 session_pb2 = _load_source('session_pb2', idf_path + '/components/protocomm/python/session_pb2.…
37 # wifi_provisioning component related python files generated from .proto files
38 …d_source('wifi_constants_pb2', idf_path + '/components/wifi_provisioning/python/wifi_constants_pb2…
39 …d_source('wifi_config_pb2', idf_path + '/components/wifi_provisioning/python/wifi_config_pb2.py…
40 …ad_source('wifi_scan_pb2', idf_path + '/components/wifi_provisioning/python/wifi_scan_pb2.py')
[all …]
/hal_espressif-2.7.6/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.
60 Python 2 deprecation
63 Python 2 reached its `end of life <https://www.python.org/doc/sunset-python-2/>`_ and support for i…
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
103 Python 2 deprecation
106 Python 2 reached its `end of life <https://www.python.org/doc/sunset-python-2/>`_ and support for i…
/hal_espressif-2.7.6/tools/windows/idf_exe/
DREADME.md5python scripts can be executed directly (by typing their name) if `.py` extension is associated wi…
15 python.exe %IDF_PATH%\tools\idf.py args...
18python.exe` location is determined using the default search rules, which include searching the dir…
20 … `idf.py -v` results in same behavior as `python idf.py -v`, that is `-v` argument is propagated t…
/hal_espressif-2.7.6/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-2.7.6/.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: [2.7, 3.5, 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-2.7.6/tools/ci/config/
Dassign-test.yml26 # auto_test_script only supports python 3.7.x
41 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py example_test $EXAMPLE_TEST_DIR -c $CI_…
42 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py custom_test $CUSTOM_TEST_DIR -c $CI_TA…
43 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py component_ut $COMPONENT_UT_DIRS -c $CI…
44 …- python tools/ci/python_packages/ttfw_idf/IDFAssignTest.py unit_test $UNIT_TEST_DIR -c $CI_TARGET…
49 - python $CHECKOUT_REF_SCRIPT auto_test_script auto_test_script --customized_only
51 …- python ${ASSIGN_TEST_CASE_SCRIPT} -t ${INTEGRATION_TEST_CASE_PATH} -c $CI_TARGET_TEST_CONFIG_FIL…
77 - python $CHECKOUT_REF_SCRIPT test-management test-management
82 …- python ImportTestCase.py $JIRA_TEST_MANAGEMENT_PROJECT unity -d $UNIT_TEST_CASE_FILES -r $GIT_SHA
84 …- python ImportTestCase.py $JIRA_TEST_MANAGEMENT_PROJECT tiny_test_fw -d ${CI_PROJECT_DIR}/example…
[all …]
Dpre_check.yml38 …- python ${CI_PROJECT_DIR}/tools/ci/ci_get_mr_info.py files ${CI_COMMIT_BRANCH} | xargs pre-commit…
63 - python ${IDF_PATH}/tools/ci/check_examples_cmake_make.py
79 …- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh python -m flake8 --config=$IDF_PATH/.flake8 --output…
114 - python tools/ci/check_public_headers.py --jobs 4 --prefix xtensa-esp32-elf-
143 …- python $CI_SCAN_TESTS_PY example_test $EXAMPLE_TEST_DIR -b make --exclude examples/build_system/…
144 …- python $CI_SCAN_TESTS_PY example_test $EXAMPLE_TEST_DIR -b cmake --exclude examples/build_system…
145 …- python $CI_SCAN_TESTS_PY test_apps $TEST_APPS_TEST_DIR -c $TEST_CONFIG_FILE -o $TEST_APPS_OUTPUT…
146 …- python $CI_SCAN_TESTS_PY component_ut $COMPONENT_UT_DIRS --exclude $COMPONENT_UT_EXCLUDES -c $TE…
155 - python ${IDF_PATH}/tools/ci/check_readme_links.py
/hal_espressif-2.7.6/tools/
Dcheck_python_dependencies.py1 #!/usr/bin/env python
26 …'legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Gui…
44 parser = argparse.ArgumentParser(description='ESP-IDF Python package dependency checker')
66 print('The following Python requirements are not satisfied:')
80 …in32' and os.environ.get('MSYSTEM', None) == 'MINGW32' and '/mingw32/bin/python' in sys.executable:
83 "\"pacman -S mingw-w64-i686-python-<package_name>\" for installing it.")
88 # Special case for MINGW32 Python, needs some packages
93 … "you run \"pacman -Syu\" followed by \"pacman -S mingw-w64-i686-python{}-cryptography\"."
97 … print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
98 print('pacman -S mingw-w64-i686-python-setuptools')
[all …]
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-2.7.6/docs/en/api-guides/tools/
Didf-windows-installer.rst17 * ``/OFFLINE=[yes|no]`` - Execute installation of Python packages by PIP in offline mode. The same …
18 …SEEMBEDDEDPYTHON=[yes|no]`` - Use Embedded Python version for the installation. Set to ``no`` to a…
19 * ``/PYTHONWHEELSURL=[URL]`` - Specify URLs to PyPi repositories for resolving binary Python Wheel …
40 Custom Python and custom location of Python wheels
43 The IDF installer is using by default embedded Python with reference to Python Wheel mirror.
45 Following parameters allows to select custom Python and custom location of Python wheels:
/hal_espressif-2.7.6/tools/windows/tool_setup/Languages/
Didf_tool_en-US.islu26 SystemCheckRemedyMissingPip=Please use a supported version of Python available on the next screen.
28 SystemCheckRemedyCreateVirtualenv=Please use the supported Python version that is available on the …
29 SystemCheckRemedyPythonInVirtualenv=Please use the supported Python version that is available on th…
30 SystemCheckRemedyBinaryPythonWheel=Please use the supported Python version that is available on the…
31 SystemCheckRemedyFailedHttpsDownload=Please use the supported Python version that is available on t…
32 SystemCheckRemedyFailedSubmoduleRun=Python contains a subprocess.run module intended for Python 2. …
/hal_espressif-2.7.6/docs/en/contribute/
Dinstall-pre-commit-hook.rst7 Python 3.6.1 or above. This is our recommendation python version for IDF developers.
9 …ave versions not compatible, please do not install pre-commit hook and update your python versions.
35 1. ``/usr/bin/env: python: Permission denied.``
37 …u're in Git Bash or MSYS terminal, please check the python executable location by run ``which pyth…
41 Please install python manually and update this in your ``PATH`` environment variable.
/hal_espressif-2.7.6/components/esp_local_ctrl/proto/
DREADME.md3Python files. The generated C files are used by esp_local_ctrl itself to create, delete and manipu…
9 …under `components/esp_local_ctrl/proto-c` and `components/esp_local_ctrl/python` directories, and …
25 … C and Python files. The newly created files will overwrite those under `components/esp_local_ctrl…
/hal_espressif-2.7.6/
D.pre-commit-config.yaml39 name: isort (python)
45 language: python
51 language: python
57 language: python
62 language: python
67 language: python
75 language: python
/hal_espressif-2.7.6/tools/windows/tool_setup/
Didf_cmd_init.bat16 echo Usage: idf_cmd_init.bat ^<Python directory^> ^<Git directory^>
28 :: Clear PYTHONPATH as it may contain libraries of other Python versions
34 :: Add Python and Git paths to PATH
36 echo Using Python in %IDF_PYTHON_DIR%
37 python.exe --version
72 python.exe "%IDF_TOOLS_PY_PATH%" --tools-json "%IDF_TOOLS_JSON_PATH%" export --format key-value >"%…
85 echo Checking if Python packages are up to date...
86 python.exe %IDF_PATH%\tools\check_python_dependencies.py
/hal_espressif-2.7.6/components/esptool_py/
DMakefile.projbuild11 PYTHON ?= $(call dequote,$(CONFIG_SDK_PYTHON))
17 ESPTOOLPY := $(PYTHON) $(ESPTOOLPY_SRC) --chip esp32
21 ESPEFUSEPY := $(PYTHON) $(COMPONENT_PATH)/esptool/espefuse.py
22 ESPSECUREPY := $(PYTHON) $(COMPONENT_PATH)/esptool/espsecure.py
136 MONITOR_PYTHON := $(PYTHON)
141 MONITOR_PYTHON := winpty $(PYTHON)
145 # miniterm.py on the console. The '$(PYTHON) -m serial.tools.miniterm'
146 # is to allow for the $(PYTHON) variable overriding the python path.
172 $(PYTHON) $(IDF_PATH)/tools/mkuf2.py write \
178 $(PYTHON) $(IDF_PATH)/tools/mkuf2.py write \

12345678910>>...15