Home
last modified time | relevance | path

Searched +full:files +full:- +full:exclude (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/scripts/ci/
Dtags.yaml1 # This file contains information on what files are associated with which
9 # files:
10 # List of paths and/or glob patterns giving the files in the tag,
13 # If a path or glob pattern ends in a '/', it matches all files within
19 # files-regex:
24 # Can be combined with a 'files' key.
26 # Note: Prefer plain 'files' patterns where possible. get_maintainer.py
30 # files-exclude:
31 # Like 'files', but any matching files will be excluded from the tag.
33 # files-regex-exclude:
[all …]
Dtest_plan.py2 # SPDX-License-Identifier: Apache-2.0
5 # A script to generate twister options based on modified files.
29 # however, pylint complains that it doesn't recognized them when used (used-before-assignment).
70 # return search(). (?:) is a non-capturing group.
139 cmd = [f"{zephyr_base}/scripts/twister", "-c"] + options + ["--save-tests", fname ]
141 cmd += ["--no-detailed-test-id"]
144 cmd+=["-T", root]
146 cmd.append("--integration")
149 cmd += ["--quarantine-list", q]
164 old_manifest_content = repo_to_scan.git.show(f"{args.commits[:-2]}:west.yml")
[all …]
Dupload_test_results_es.py3 # Copyright (c) 2022-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
35 :param parent_name: the short, single-level, name of the ``value``.
170 for excl_item in args.exclude:
181 _grouping = name.split("/")[-1]
272 for f in args.files:
290 for f in args.files:
308 parser.add_argument('-y','--dry-run', action="store_true", help='Dry run.')
309 parser.add_argument('-c','--create-index', action="store_true", help='Create index.')
310 parser.add_argument('-m', '--map-file', required=False,
[all …]
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
57 f"{cp.stdout.decode('utf-8')}\n"
59 f"{cp.stderr.decode('utf-8')}\n")
61 return cp.stdout.decode("utf-8").rstrip()
70 return git('rev-list',
71 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
74 filter_arg = (f'--diff-filter={filter}',) if filter else ()
75 paths_arg = ('--', *paths) if paths else ()
76 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg)
77 files = out.splitlines()
[all …]
/Zephyr-latest/scripts/
Dget_maintainer.py4 # SPDX-License-Identifier: Apache-2.0
7 Lists maintainers for files or commits. Similar in function to
16 ./get_maintainer.py path --help
60 "-m", "--maintainers",
63 "the top-level repository directory is used, and must exist. "
65 "to the top-level directory.")
68 help="Available commands (each has a separate --help text)")
92 help="List files in areas")
97 help="Name of area to list files in. If not specified, all "
98 "non-orphaned files are listed (all files that do not appear in "
[all …]
Dtwister4 # SPDX-License-Identifier: Apache-2.0
16 files in the application's project directory. This file may contain one or more
19 that testsuite meta-data. The full canonical name for each test case is <path to
34 Don't build or run this test case unless --enable-slow was passed
35 in on the command line. Intended for time-consuming test cases
139 if the symbol is defined to a non-empty string.
146 all comparison operators (non-associative)
170 Therefore filtering by using {platform|arch}_{exclude|allow} is much faster.
173 files and options passed in on the command line. If there is any confusion,
174 running with -v or examining the test plan report (testplan.json)
Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
52 my @exclude = ();
67 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
78 -q, --quiet quiet
79 --no-tree run without a kernel tree
80 --no-signoff do not check for 'Signed-off-by' line
81 --patch treat FILE as patchfile (default)
82 --emacs emacs compile window format
[all …]
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md8 An index map file allows to create destination index files on ElasticSearch server
13 An alternative way is to have index files created at the ElasticSearch server
17 For other command line options and more details run the upload script with `--help`,
24 It is recommended to try the upload script with `--dry-run` option first
36 python3 ./scripts/ci/upload_test_results_es.py --create-index \
37 --index YOUR_INDEX_NAME \
38 --map-file YOUR_INDEX_MAP.json
45 exclude excess data, extract substrings by regular expressions, change data structure
47 (see `--help` for more details):
49 * `--exclude` removes excess testsuite properties not needed to store them
[all …]
/Zephyr-latest/
DMAINTAINERS.yml35 # files:
36 # List of paths and/or glob patterns giving the files in the area,
39 # If a path or glob pattern ends in a '/', it matches all files within
45 # files-regex:
50 # Can be combined with a 'files' key.
52 # Note: Prefer plain 'files' patterns where possible. get_maintainer.py
56 # files-exclude:
57 # Like 'files', but any matching files will be excluded from the area.
59 # files-regex-exclude:
60 # Like 'files-regex', but any matching files will be excluded from the
[all …]
DKconfig.zephyr3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
6 # SPDX-License-Identifier: Apache-2.0
12 # Include Kconfig.defconfig files first so that they can override defaults and
92 bool "Link application into /chosen/zephyr,code-partition from devicetree"
95 selected by the zephyr,code-partition property in /chosen in devicetree.
100 DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
103 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
116 # Only user-configurable when USE_DT_CODE_PARTITION is disabled
121 If non-zero, this option specifies the size, in bytes, of the flash
136 If the application is built for chain-loading by a bootloader this
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Dgh_utils.py8 SPDX-License-Identifier: Apache-2.0
29 - ``gh_link_version``: GitHub version to use in the URL (e.g. "main")
30 - ``gh_link_base_url``: Base URL used as a prefix for generated URLs.
31 - ``gh_link_prefixes``: Mapping of pages (regex) <> GitHub prefix.
32 - ``gh_link_exclude``: List of pages (regex) that will not report a URL. Useful
33 for, e.g., auto-generated pages not in Git.
61 def get_page_prefix(app: Sphinx, pagename: str) -> str:
79 for exclude in app.config.gh_link_exclude:
80 if re.match(exclude, pagename):
92 def gh_link_get_url(app: Sphinx, pagename: str, mode: str = "blob") -> str | None:
[all …]
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dcoverage.py3 # Copyright (c) 2018-2022 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
72 hex_dump = sp[1][:-1]
100 # Iteratively call gcov-tool (not gcov) to merge the files
101 merge_tool = self.gcov_tool + '-tool'
102 for d1, d2 in zip(dirs[:-1], dirs[1:], strict=False):
103 cmd = [merge_tool, 'merge', d1, d2, '--output', d2]
107 with open(f'{dirs[-1]}/tmp.gcda', 'rb') as fp:
108 return fp.read(-1).hex()
112 logger.debug("Generating gcda files")
[all …]
Dtestplan.py4 # Copyright (c) 2018-2024 Intel Corporation
7 # SPDX-License-Identifier: Apache-2.0
28 print("Install the anytree module to use the --test-tree option")
48 # This is needed to load edt.pickle files.
50 "python-devicetree", "src"))
51 from devicetree import edtlib # pylint: disable=unused-import
86 config_re = re.compile('(CONFIG_[A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
87 dt_re = re.compile('([A-Za-z0-9_]+)[=]\"?([^\"]*)\"?$')
91 "scripts", "schemas", "twister", "testsuite-schema.yaml"))
94 "scripts", "schemas", "twister", "quarantine-schema.yaml"))
[all …]
Denvironment.py4 # Copyright (c) 2018-2024 Intel Corporation
8 # SPDX-License-Identifier: Apache-2.0
45 def _get_installed_packages() -> Generator[str, None, None]:
63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages
71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser:
82 $ ./scripts/twister -v \\
83 --testsuite-root tests/ztest/base \\
84 --testsuite-root tests/kernel \\
85 --test tests/ztest/base/testing.ztest.verbose_0 \\
86 --test tests/kernel/fifo/fifo_api/kernel.fifo
[all …]
/Zephyr-latest/doc/
Dzephyr.doxyfile.in20 # doxygen -x [configFile]
24 # doxygen -x_noenv [configFile]
26 #---------------------------------------------------------------------------
28 #---------------------------------------------------------------------------
31 # file that follow. The default is UTF-8 which is also the encoding used for all
35 # The default value is: UTF-8.
37 DOXYFILE_ENCODING = UTF-8
40 # double-quotes, unless you are using Doxywizard) that should identify the
80 # sub-directories (in 2 levels) under the output directory of each output format
81 # and will distribute the generated files over these directories. Enabling this
[all …]
/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
48 - Projects can be added (like ``P1`` between manifest repository
[all …]
/Zephyr-latest/cmake/modules/
Dextensions.cmake1 # SPDX-License-Identifier: Apache-2.0
14 # 1. Zephyr-aware extensions
21 # 2. Kconfig-aware extensions
23 # 3. CMake-generic extensions
44 # 1. Zephyr-aware extensions
49 # "zephyr". zephyr is a catch-all CMake library for source files that
51 # compiler flags that all zephyr source files use.
52 # [0] https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html
66 # As a very high-level introduction here are two call graphs that are
72 # zephyr_library_compile_options() --> target_compile_options()
[all …]
/Zephyr-latest/doc/develop/test/
Dtwister.rst20 When using (at least) one ``-v`` option, twister's console output
24 of a test is likewise reported in the ``twister.json`` and other report files.
27 - The test is marked as ``build_only: true`` in its ``.yaml``
29 - The test configuration has defined a ``harness`` but you don't have
31 - The target device is not connected and not available for flashing
32 - You or some higher level automation invoked twister with
33 ``--build-only``.
39 .. group-tab:: Linux
41 .. code-block:: bash
43 $ source zephyr-env.sh
[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=(
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})
42 if [[ -v WEST_COMP_CHECK_WORKSPACE ]]; then
44 if [ $? -eq 0 ]; then
[all …]
Dwest-completion.fish15 # exclude the caller if one of the arguments is present in the command line
20 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)
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-3.6.rst26 building with PicolibC. Since this release, these are set only for the files that need them.
35 instead use the new ``-DFILE_SUFFIX`` feature :ref:`application-file-suffixes`.
57 * NXP: Enabled :ref:`linkserver<linkserver-debug-host-tools>` to be the default runner on the
72 To enable them again use the ``west config manifest.project-filter -- +<module
73 name>`` command, or ``west config manifest.group-filter -- +optional`` to
81 command e.g. ``west flash --erase``. (:github:`64703`)
86 * If you have zcbor-generated code that relies on the zcbor libraries through Zephyr, you must
87 regenerate the files using zcbor 0.8.1. Note that the names of generated types and members has
123 macro avoids run-time string comparisons, and is also safer because it will
126 .. list-table::
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
/Zephyr-latest/include/zephyr/drivers/pcie/
Dpcie.h4 * SPDX-License-Identifier: Apache-2.0
19 #include <zephyr/dt-bindings/pcie/pcie.h>
34 * in include/dt-bindings/pcie/pcie.h: see PCIE_BDF() and friends, since
45 * look to PCIE_ID_* macros in include/dt-bindings/pcie/pcie.h for more.
49 /* Helper macro to exclude invalid PCIe identifiers. We should really only
117 * Initialize PCIe-related information within a specific instance of
158 * These functions are arch-, board-, or SoC-specific.
162 * @brief Read a 32-bit word from an endpoint's configuration space.
173 * @brief Write a 32-bit word to an endpoint's configuration space.
194 /** Scan all available PCI host controllers and sub-busses */
[all …]
/Zephyr-latest/doc/contribute/coding_guidelines/
Dindex.rst13 but not enforced. Rules are not yet enforced in CI and pull-requests cannot be
41 <https://github.com/zephyrproject-rtos/zephyr/issues/58903>`__ is being worked on.
46 The coding guideline rules are based on MISRA-C 2012 and are a **subset** of MISRA-C.
54 available through the project. If you need a copy of MISRA-C 2012, please
60 .. list-table:: Main rules
61 :header-rows: 1
64 * - Zephyr rule
65 - Description
66 - MISRA-C 2012 rule
67 - MISRA-C severity
[all …]

12