Home
last modified time | relevance | path

Searched +full:manifest +full:- +full:path (Results 1 – 25 of 68) sorted by relevance

123

/Zephyr-latest/doc/develop/west/
Dmanifest.rst1 .. _west-manifests:
7 manifest files, and the ``west manifest`` command. For API documentation on the
8 ``west.manifest`` module, see :ref:`west-apis-manifest`. For a more general
9 introduction and command overview, see :ref:`west-basics`.
16 .. _west-mr-model:
25 .. figure:: west-mr-model.png
27 :alt: West multi-repo history
28 :figclass: align-center
30 West multi-repo history
32 The history of the manifest repository is the line of Git commits which is
[all …]
Dconfig.rst1 .. _west-config:
7 command, and configuration options used by built-in commands. For API
9 :ref:`west-apis-configuration`.
12 ------------------------
14 West's configuration file syntax is INI-like; here is an example file:
16 .. code-block:: ini
18 [manifest]
19 path = zephyr
24 Above, the ``manifest`` section has option ``path`` set to ``zephyr``. Another
25 way to say the same thing is that ``manifest.path`` is ``zephyr`` in this file.
[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 …]
Dbuilt-in.rst1 .. _west-built-in-cmds:
3 Built-in commands
6 This page describes west's built-in commands, some of which were introduced in
7 :ref:`west-basics`, in more detail.
14 names as specified in the manifest file, or (as a fallback) paths to them
17 to using all projects in the manifest file plus the manifest repository
20 For additional help, run ``west <command> -h`` (e.g. ``west init -h``).
22 .. _west-init:
29 1. Cloning a new manifest repository from a remote URL
30 2. Creating a workspace around an existing local manifest repository
[all …]
Dbasics.rst1 .. _west-basics:
9 West's built-in commands allow you to work with :term:`projects <west project>`
13 :term:`west workspace`, and clones the :term:`manifest repo <west manifest
15 :term:`projects <west project>` listed in the manifest in the workspace.
24 .. code-block:: none
28 │ └── config # per-workspace local configuration file
30 │ # The manifest repository, never modified by west after creation:
32 │ ├── west.yml # manifest file
40 │ └── net-tools/ # .git/ project
43 .. _west-workspace:
[all …]
Dworkspaces.rst1 .. _west-workspaces:
7 :ref:`west-basics` in more detail.
9 .. _west-manifest-rev:
11 The ``manifest-rev`` branch
14 West creates and controls a Git branch named ``manifest-rev`` in each
15 project. This branch points to the revision that the manifest file
16 specified for the project at the time :ref:`west-update` was last run.
17 Other workspace management commands may use ``manifest-rev`` as a reference
19 purposes, the ``manifest-rev`` branch allows the manifest file to use SHAs
22 Although ``manifest-rev`` is a normal Git branch, west will recreate and/or
[all …]
Dtroubleshooting.rst1 .. _west-troubleshooting:
14 .. code-block:: shell
16 west -v update
21 .. code-block:: none
23 === updating your_project (path/to/your/project):
24 west.manifest: your_project: checking if cloned
25 [...other west.manifest logs...]
26 --- your_project: fetching, need revision SOME_SHA
27 …west.manifest: running 'git fetch ... https://github.com/your-username/your_project ...' in /some/…
32 One strategy is to go to ``/path/to/your/project``, copy/paste and run the entire
[all …]
Dextensions.rst1 .. _west-extensions:
8 for short. Extensions show up in the ``west --help`` output in a special
14 :ref:`build, flash, and debug <west-build-flash-debug>` and the
15 :ref:`ones described here <west-zephyr-ext-cmds>` , are extensions. That's why
16 help for them shows up like this in ``west --help``:
18 .. code-block:: none
24 sign: sign a Zephyr binary for bootloader chain-loading
30 See :file:`zephyr/scripts/west-commands.yml` and the
37 :ref:`configuration <west-config>` option to ``false``. To set this
40 .. code-block:: console
[all …]
Dwest-apis.rst3 .. _west-apis:
4 .. _west-apis-west:
10 some additional APIs used by the :ref:`west extensions <west-extensions>` in
21 2. if you add a :ref: target here, add it to west-not-found.rst too.
23 .. _west-apis-commands:
30 All built-in and extension commands are implemented as subclasses of the
69 .. py:attribute:: manifest
71 A property which returns the :py:class:`west.manifest.Manifest`
72 instance for the current manifest file or aborts the program if one was
81 True if reading the manifest property will succeed instead of erroring
[all …]
/Zephyr-latest/.github/workflows/
Dmanifest.yml1 name: Manifest
7 runs-on: ubuntu-22.04
8 name: Manifest
10 - name: Checkout the code
13 path: zephyrproject/zephyr
15 fetch-depth: 0
16 persist-credentials: false
18 - name: west setup
21 working-directory: zephyrproject/zephyr
24 git config --global user.email "you@example.com"
[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 …]
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.zsh4 # SPDX-License-Identifier: Apache-2.0
6 # Ensure this works also when being source-ed
9 typeset -A -g _opt_args
12 local -a builtin_cmds=(
14 'update[update projects described in west manifest]'
16 'manifest[manage the west manifest]'
25 local -a zephyr_ext_cmds=(
29 'sign[sign a Zephyr binary for bootloader chain-loading]'
34 'zephyr-export[export Zephyr installation as a CMake config package]'
40 local -a all_cmds=(${builtin_cmds} ${zephyr_ext_cmds})
[all …]
Dwest-completion.fish20 set -l tokens (commandline -opc)
41 set -l tokens (commandline -opc)
42 set -l argc (count $argv)
43 set -l max $argv[1]
44 set -l counter 0
46 if test $argc -eq 1
47 if test (math (count $tokens) - 2) -ge $max
60 if $counter -ge $max
77 set -l tokens (commandline -opc)
80 if string match -qr -- "$token*" "$tokens[-1]"
[all …]
/Zephyr-latest/
Dwest.yml1 # The west manifest file for upstream Zephyr.
3 # The per-installation west configuration file, .west/config, sets the
4 # path to the project containing this file in the [manifest] section's
5 # "path" variable.
7 # You are free to create your own manifest files and put them in any
9 # For example, you could create a manifest file in your own out of
13 # You can pass your manifest repositories to west init when creating a
17 manifest:
22 - name: upstream
23 url-base: https://github.com/zephyrproject-rtos
[all …]
/Zephyr-latest/scripts/
Dzephyr_module.py5 # SPDX-License-Identifier: Apache-2.0
11 Include file is generated for Kconfig using --kconfig-out.
12 A <name>:<path> text file is generated for use with CMake using --cmake-out.
14 Using --twister-out <filename> an argument file for twister script will
28 from pathlib import Path, PurePath
57 cmake-ext:
61 kconfig-ext:
65 sysbuild-cmake:
68 sysbuild-kconfig:
71 sysbuild-cmake-ext:
[all …]
Dset_assignees.py4 # SPDX-License-Identifier: Apache-2.0
14 from west.manifest import Manifest
15 from west.manifest import ManifestProject
17 TOP_DIR = os.path.join(os.path.dirname(__file__))
18 sys.path.insert(0, os.path.join(TOP_DIR, "scripts"))
31 parser.add_argument("-M", "--maintainer-file", required=False, default="MAINTAINERS.yml",
35 group.add_argument("-P", "--pull_request", required=False, default=None, type=int,
36 help="Operate on one pull-request only.")
37 group.add_argument("-I", "--issue", required=False, default=None, type=int,
39 group.add_argument("-s", "--since", required=False,
[all …]
/Zephyr-latest/scripts/west_commands/
Dgtags.py2 # SPDX-License-Identifier: Apache-2.0
11 import os.path
53 its path. May be given more than once. Use
54 "manifest" to refer to the manifest
62 for project in self.manifest.get_projects(args.projects):
66 gtags_files = os.path.join(d, "gtags.files")
71 # doesn't seem to have a way to accept a NUL-delimited
76 # Note that "gtags -f -" and passing files via stdin
79 ["gtags", "-f", gtags_files],
80 cwd=self.manifest.topdir,
[all …]
Dsign.py3 # SPDX-License-Identifier: Apache-2.0
17 from west import manifest
28 sys.path.insert(0, str(ZEPHYR_SCRIPTS / 'dts' / 'python-devicetree' / 'src'))
32 binaries for chain-loading by a bootloader.
36 west sign -t your_tool -- ARGS_FOR_YOUR_TOOL
40 which sort of ARGS_FOR_YOUR_TOOLS you use, the `--` separator/sentinel may
42 understand POSIX 12.2 Guideline 10, always use `--`.
44 See tool-specific help below for details.'''
48 -------
53 west sign -t imgtool -- --key YOUR_SIGNING_KEY.pem
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Dlink-roles.py3 # SPDX-License-Identifier: Apache-2.0
5 # based on http://protips.readthedocs.io/link-roles.html
10 from pathlib import Path
16 ZEPHYR_BASE: Final[str] = Path(__file__).parents[3]
19 import west.manifest
22 west_manifest = west.manifest.Manifest.from_file()
35 "git describe --exact-match", shell=True, stderr=subprocess.DEVNULL
40 return output.strip().decode("utf-8")
88 line_match = re.search(r"(.+?)(?:#(L\d+(?:-L\d+)?))?$", link)
98 # Try to get a module repository's GitHub URL from the manifest.
[all …]
Dmanifest_projects_table.py2 Manifest Revisions Table
6 present in a manifest file.
11 This extension introduces a new directive: ``manifest-projects-table``. It can
14 .. manifest-projects-table::
22 - ``manifest_projects_table_manifest``: Path to the manifest file.
26 SPDX-License-Identifier: Apache-2.0
36 from west.manifest import Manifest
42 """Manifest revisions table."""
49 def rev_url(base_url: str, rev: str) -> str:
64 if re.match(r"^[0-9a-f]{40}$", rev):
[all …]
/Zephyr-latest/soc/intel/intel_ish/utils/
Dbuild_ish_firmware.py2 # -*- coding: utf-8 -*-"
5 # SPDX-License-Identifier: Apache-2.0
7 """Script to pack EC binary with manifest header.
10 image with a manifest header, ISH shim loader will parse this header and load
24 parser.add_argument("-k", "--kernel",
28 parser.add_argument("-a", "--aon",
32 parser.add_argument("-o", "--output",
38 """Returns a binary blob that represents a manifest entry"""
53 """Returns roundup-ed page size from size of bytes"""
61 kernel_size = os.path.getsize(args.kernel)
[all …]
/Zephyr-latest/cmake/modules/
DFindBabbleSim.cmake2 # SPDX-License-Identifier: Apache-2.0
9 # Path to the BabbleSim components source folder
12 # Path to the BabbleSim build output root path (under which libraries and binaries) are kept
16 # fetched babblesim using the manifest.
25 # Let's ask west for the bsim_project existence and its path
32 list babblesim_base -f {posixpath}
48 west config manifest.group-filter +babblesim && west update\n\
51 make everything -j 8\n\
72 "If you got it from Zephyr's manifest, you can do:\n\
74 cd ${BSIM_ROOT_PATH}; make everything -j 8\n"
/Zephyr-latest/submanifests/
Doptional.yaml1 manifest:
3 - name: upstream
4 url-base: https://github.com/zephyrproject-rtos
5 # zephyr-keep-sorted-start re(^\s+\- name:)
7 - name: canopennode
9 path: modules/lib/canopennode
12 - optional
13 - name: chre
15 path: modules/lib/chre
18 - optional
[all …]
/Zephyr-latest/scripts/ci/
Dtest_plan.py2 # SPDX-License-Identifier: Apache-2.0
16 from pathlib import Path
18 from west.manifest import Manifest
29 # however, pylint complains that it doesn't recognized them when used (used-before-assignment).
30 zephyr_base = Path(os.environ['ZEPHYR_BASE'])
37 sys.path.append(os.path.join(zephyr_base, 'scripts'))
69 # The glob regexes must anchor to the beginning of the path, since we
70 # return search(). (?:) is a non-capturing group.
94 def _contains(self, path): argument
95 # Returns True if the area contains 'path', and False otherwise
[all …]
/Zephyr-latest/samples/modules/tflite-micro/tflm_ethosu/
DREADME.rst1 .. zephyr:code-sample:: tflite-ethosu
2 :name: TensorFlow Lite for Microcontrollers on Arm Ethos-U
4 Run an inference using an optimized TFLite model on Arm Ethos-U NPU.
10 framework and the Arm Ethos-U NPU.
13 `Arm model zoo <https://github.com/ARM-software/ML-zoo>`_. This model has then
15 `Vela compiler <https://git.mlplatform.org/ml/ethos-u/ethos-u-vela.git>`_.
18 where the operators supported by Ethos-U have been replaced by an Ethos-U custom
20 Ethos-U custom operator.
25 Add the tflite-micro module to your West manifest and pull it:
27 .. code-block:: console
[all …]

123