Home
last modified time | relevance | path

Searched +full:python +full:- +full:version (Results 1 – 25 of 102) sorted by relevance

12345

/Zephyr-latest/.github/workflows/
Ddevicetree_checks.yml3 # SPDX-License-Identifier: Apache-2.0
10 - main
11 - v*-branch
13 - 'scripts/dts/**'
14 - '.github/workflows/devicetree_checks.yml'
17 - main
18 - v*-branch
20 - 'scripts/dts/**'
21 - '.github/workflows/devicetree_checks.yml'
24 devicetree-checks:
[all …]
Dwest_cmds.yml2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - v*-branch
11 - collab-*
13 - 'scripts/west-commands.yml'
14 - 'scripts/west_commands/**'
15 - '.github/workflows/west_cmds.yml'
18 - main
19 - v*-branch
20 - collab-*
[all …]
Dpylib_tests.yml2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - v*-branch
12 - 'scripts/pylib/build_helpers/**'
13 - '.github/workflows/pylib_tests.yml'
16 - main
17 - v*-branch
19 - 'scripts/pylib/build_helpers/**'
20 - '.github/workflows/pylib_tests.yml'
23 pylib-tests:
[all …]
Dtwister_tests.yml2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - v*-branch
11 - collab-*
13 - 'scripts/pylib/**'
14 - 'scripts/twister'
15 - 'scripts/tests/twister/**'
16 - '.github/workflows/twister_tests.yml'
17 - 'scripts/schemas/twister/'
20 - main
[all …]
Dscripts_tests.yml2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - v*-branch
12 - 'scripts/build/**'
13 - '.github/workflows/scripts_tests.yml'
16 - main
17 - v*-branch
19 - 'scripts/build/**'
20 - '.github/workflows/scripts_tests.yml'
23 scripts-tests:
[all …]
Dtwister_tests_blackbox.yml2 # SPDX-License-Identifier: Apache-2.0
9 - main
10 - collab-*
11 - v*-branch
13 - 'scripts/pylib/twister/**'
14 - 'scripts/twister'
15 - 'scripts/tests/twister_blackbox/**'
16 - '.github/workflows/twister_tests_blackbox.yml'
19 twister-tests:
21 runs-on: ${{ matrix.os }}
[all …]
Dhello_world_multiplatform.yaml6 - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
15 - 'scripts/**'
16 - '.github/workflows/hello_world_multiplatform.yaml'
17 - 'SDK_VERSION'
20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
[all …]
Dcompliance.yml6 - edited
7 - opened
8 - reopened
9 - synchronize
13 runs-on: ubuntu-22.04
16 - name: Update PATH for west
20 - name: Checkout the code
24 fetch-depth: 0
26 - name: Rebase onto the target branch
30 git config --global user.email "you@example.com"
[all …]
/Zephyr-latest/cmake/modules/
Dpython.cmake1 # SPDX-License-Identifier: Apache-2.0
5 # On Windows, instruct Python to output UTF-8 even when not
6 # interacting with a terminal. This is required since Python scripts
11 set(ENV{PYTHONIOENCODING} "utf-8")
24 # find_program(PYTHON_EXECUTABLE_SYSTEM_DEFAULT "python" "python3")
25 # cause just using find_program directly could result in a python2.7 as python,
27 foreach(candidate "python" "python3")
30 execute_process (COMMAND "${Python3_EXECUTABLE}" -c
33 OUTPUT_VARIABLE version
36 if(version VERSION_LESS PYTHON_MINIMUM_REQUIRED)
[all …]
Dwest.cmake1 # SPDX-License-Identifier: Apache-2.0
5 include(python)
8 # Python interpreter as everything else, though, so we play some extra
16 # Cut out any symbolic links, e.g. python3.x -> python
37 -c
38 "import west.version; print(west.version.__version__, end='')"
48 The Python version used by west is: ${WEST_PYTHON}${west_realpath_msg}\n\
49 The Python version used by CMake is: ${PYTHON_EXECUTABLE}${python_realpath_msg}")
52 …message(FATAL_ERROR "Unable to import west.version from '${PYTHON_EXECUTABLE}':\n${west_version_er…
54 ${PYTHON_EXECUTABLE} -m pip install west\
[all …]
Dzephyr_default.cmake1 # SPDX-License-Identifier: Apache-2.0
13 # The code line below defines the real minimum supported CMake version.
16 # required version, not even invoking it from a CMake module is sufficient.
18 cmake_minimum_required(VERSION 3.20.0)
25 message(STATUS "CMake version: ${CMAKE_VERSION}")
40 # Find and execute application-specific build configuration
53 # Test and error-out if we are affected by the PyPI CMake 3.22.1 / 3.22.2 bug
55 # It seems only pip-installed builds are affected so we test to see if we are affected
58 message(FATAL_ERROR "The CMake version ${CMAKE_VERSION} installed suffers"
60 "https://gitlab.kitware.com/cmake/cmake/-/issues/23187\n"
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/
Dsetup.py3 # SPDX-License-Identifier: Apache-2.0
15 version = '0.0.2' variable
22 version=version,
23 description='Python libraries for devicetree',
25 … # http://docutils.sourceforge.net/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data
26 long_description_content_type="text/x-rst",
27 url='https://github.com/zephyrproject-rtos/python-devicetree',
31 'Programming Language :: Python :: 3 :: Only',
/Zephyr-latest/doc/develop/getting_started/
Dinstallation_linux.rst32 .. group-tab:: Ubuntu
34 .. code-block:: console
36 sudo apt-get update
37 sudo apt-get upgrade
39 .. group-tab:: Fedora
41 .. code-block:: console
45 .. group-tab:: Clear Linux
47 .. code-block:: console
51 .. group-tab:: Arch Linux
53 .. code-block:: console
[all …]
Dindex.rst8 - Set up a command-line Zephyr development environment on Ubuntu, macOS, or
11 - Get the source code
12 - Build, flash, and run a sample application
23 .. group-tab:: Ubuntu
25 This guide covers Ubuntu version 20.04 LTS and later.
28 .. code-block:: bash
33 .. group-tab:: macOS
39 <https://support.apple.com/en-us/HT201541>`_.
41 .. group-tab:: Windows
46 .. _install-required-tools:
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/
Dsetup.cfg2 name = pytest-twister-harness
3 version = attr: twister_harness.__version__
8 Development Status :: 3 - Alpha
14 Programming Language :: Python :: 3.8
15 Programming Language :: Python :: 3.9
16 Programming Language :: Python :: 3.10
17 Programming Language :: Python :: 3.11
/Zephyr-latest/scripts/dts/
Dgen_edt.py3 # Copyright (c) 2019 - 2020 Nordic Semiconductor ASA
6 # SPDX-License-Identifier: Apache-2.0
17 # Note: Do not access private (_-prefixed) identifiers from edtlib here (and
28 sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'python-devicetree',
48 "-Wno-simple_bus_reg" not in args.dtc_flags,
57 with open(args.dts_out, "w", encoding="utf-8") as f:
63 def parse_args() -> argparse.Namespace:
64 # Returns parsed command-line arguments
67 parser.add_argument("--dts", required=True, help="DTS file")
68 parser.add_argument("--dtc-flags",
[all …]
/Zephyr-latest/modules/hal_nordic/nrf-regtool/
Dnrf-regtoolConfig.cmake2 # SPDX-License-Identifier: Apache-2.0
5 string(REPEAT "-v;" ${CONFIG_NRF_REGTOOL_VERBOSITY} verbosity)
8 ${CMAKE_COMMAND} -E env PYTHONPATH=${ZEPHYR_BASE}/scripts/dts/python-devicetree/src
9 ${NRF_REGTOOL} ${verbosity} uicr-compile
10 --edt-pickle-file ${EDT_PICKLE}
11 --product-name ${CONFIG_SOC}
12 --output-file ${generated_hex_file}
20 # Prepare common argument sub-lists.
21 string(REPEAT "-v;" ${CONFIG_NRF_REGTOOL_VERBOSITY} verbosity)
22 list(TRANSFORM CACHED_DTS_ROOT_BINDINGS PREPEND "--bindings-dir;" OUTPUT_VARIABLE bindings_dirs)
[all …]
/Zephyr-latest/doc/contribute/documentation/
Dgeneration.rst11 .. _documentation-overview:
18 using Sphinx to create a formatted stand-alone website. Developers can
36 * Doxygen-generated material used to create all API-specific documents
39 * Script-generated material for kernel configuration options based on Kconfig
51 rtd [shape="rectangle" label="read-the-docs\ntheme"]
56 images -> sphinx
57 rst -> sphinx
58 conf -> sphinx
59 header -> doxygen
60 doxygen -> xml
[all …]
/Zephyr-latest/cmake/
Dverify-toolchain.cmake5 # other tools, such as twister / python scripts.
7 # When invoked as a script with -P:
8 # cmake [options] -P verify-toolchain.cmake
11 # FORMAT=json: Print the output as a json formatted string, useful for Python
13 cmake_minimum_required(VERSION 3.20.0)
16 message(FATAL_ERROR "verify-toolchain.cmake is a script and must be invoked "
17 "as:\n 'cmake ... -P verify-toolchain.cmake'\n"
/Zephyr-latest/scripts/west_commands/
Dzcmake.py3 # SPDX-License-Identifier: Apache-2.0
19 import packaging.version
78 :param build_directory: runs "cmake --build build_directory"
80 these come after "--build <build_directory>"
83 Any additional keyword arguments are passed as-is to run_cmake().
86 return run_cmake(['--build', build_directory] + extra_args, **kwargs)
99 alpha_under = re.compile('[A-Za-z_]')
100 alpha_num_under = re.compile('[A-Za-z0-9_]')
117 converts the following cache types to Python types:
119 Cache Type Python type
[all …]
/Zephyr-latest/doc/develop/west/
Dtroubleshooting.rst1 .. _west-troubleshooting:
14 .. code-block:: shell
16 west -v update
21 .. code-block:: none
26 --- your_project: fetching, need revision SOME_SHA
27 …west.manifest: running 'git fetch ... https://github.com/your-username/your_project ...' in /some/…
37 ``curl -v FETCH_URL`` (for HTTPS URLs) or ``ssh -v FETCH_URL`` (for SSH URLs)
51 First, make sure you've installed west; see :ref:`west-install`. Then try
57 you installed Python and pip, so ordinarily you should not need to follow these
67 C:\foo\python\python38\lib\site-packages``. The exact location
[all …]
Drelease-notes.rst1 .. _west-release-notes:
11 - New ``west grep`` command for running a "grep tool" in your west workspace's
18 .. code-block:: console
25 .. list-table::
27 * - ``git grep --untracked``
28 - ``west grep --untracked foo``
29 * - ``ripgrep``
30 - ``west grep --tool ripgrep foo``
31 * - ``grep --recursive``
32 - ``west grep --tool grep foo``
[all …]
/Zephyr-latest/doc/develop/
Dbeyond-GSG.rst1 .. _beyond-gsg:
6 The :ref:`getting_started` gives a straight-forward path to set up
11 .. _python-pip:
13 Python and pip
16 Python 3 and its package manager, pip\ [#pip]_, are used extensively by Zephyr
22 ``--user`` flag to the ``pip3`` command when installing new packages. This is
24 See `Installing Packages`_ in the Python Packaging User Guide for more
25 information about pip\ [#pip]_, including `information on -\\-user`_.
27 - On Linux, make sure ``~/.local/bin`` is at the front of your :envvar:`PATH`
28 :ref:`environment variable <env_vars>`, or programs installed with ``--user``
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/autopts/
Dautopts-win10.rst1 .. _autopts-win10:
20 Start -> Settings -> Update & Security -> Windows Update
24 Install Python 3
27 Download and install `Python 3 <https://www.python.org/downloads/>`_.
28 Setup was tested with versions >=3.8. Let the installer add the Python
44 Download and install `Git <https://git-scm.com/downloads>`_.
78 On Windows download latest nrftools (version >= 10.12.1) from site
79 https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools/Download
112 .. code-block::
116 Build the auto-pts tester app
[all …]
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain_magic_wand_model.ipynb7 "Licensed under the Apache License, Version 2.0 (the \"License\");\n",
11 " http://www.apache.org/licenses/LICENSE-2.0\n",
43 "<table class=\"tfo-notebook-buttons\" align=\"left\">\n",
48 …ic_wand_model.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View s…
60 …efore you proceed, ensure you are using a GPU runtime by going to **Runtime -> Change runtime type…
72 "Run the following cell to ensure the correct version of TensorFlow is used."
96 "!git clone --depth 1 -q https://github.com/tensorflow/tensorflow\n",
98 "!cp -r tensorflow/tensorflow/lite/micro/examples/magic_wand/train train"
126 "!tar xvzf data.tar.gz -C train 1>/dev/null"
152 "!python data_prepare.py\n",
[all …]

12345