Home
last modified time | relevance | path

Searched +full:if +full:- +full:no +full:- +full:files +full:- +full:found (Results 1 – 25 of 150) sorted by relevance

123456

/Zephyr-latest/scripts/ci/
Dtest_plan.py2 # SPDX-License-Identifier: Apache-2.0
5 # A script to generate twister options based on modified files.
25 if "ZEPHYR_BASE" not in os.environ:
29 # however, pylint complains that it doesn't recognized them when used (used-before-assignment).
48 # Returns None if there are neither globs nor regexes, which should be
49 # interpreted as no match.
51 if not (globs or regexes):
56 if globs:
63 if not glob.endswith("/"):
70 # return search(). (?:) is a non-capturing group.
[all …]
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
44 # errors if 'ignore_non_zero' is set to False (default: False). 'cwd' is the
53 if not ignore_non_zero and (cp.returncode or cp.stderr):
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 ()
[all …]
/Zephyr-latest/cmake/modules/
Dzephyr_module.cmake1 # SPDX-License-Identifier: Apache-2.0
9 # files for Zephyr modules into Zephyr build system.
11 # CMakeLists.txt and Kconfig files can reside directly in the Zephyr module or
13 # The `<module>/zephyr/module.yml` file specifies whether the build files are
17 # -DZEPHYR_MODULES=<module-path>[;<additional-module(s)-path>]
22 # If west is installed, it uses west's APIs to obtain a list of projects to
25 # If the module.yml file specifies that build files are located in a
27 # - `ZEPHYR_<MODULE_NAME>_CMAKE_DIR` is used for inclusion of the CMakeLists.txt
28 # - `ZEPHYR_<MODULE_NAME>_KCONFIG` is used for inclusion of the Kconfig
29 # files into the build system.
[all …]
Ddts.cmake1 # SPDX-License-Identifier: Apache-2.0
15 # - To Zephyr and application source code files, as a C macro API
18 # - To other arbitrary Python scripts (like twister) using a
22 # - To users as a final devicetree source (DTS) file which can
25 # - To CMake files, after this module has finished running, using
28 # - To Kconfig files, both using some Kconfig symbols we generate
36 # files in scripts/dts to make all this work. We also optionally will
37 # run the dtc tool if it is found, in order to catch any additional
44 # - The pre_dt module has been included; refer to its outcome
46 # - DTS_SOURCE: set to the path to the devicetree file which
[all …]
Dshields.cmake1 # SPDX-License-Identifier: Apache-2.0
9 # If a shield implementation is not found for one of the specified shields, an
14 # - shield_conf_files: List of shield-specific Kconfig fragments
15 # - shield_dts_files : List of shield-specific devicetree files
16 # - SHIELD_AS_LIST : A CMake list of shields created from the SHIELD variable.
17 # - SHIELD_DIRS : A CMake list of directories which contain shield definitions
20 # - shields: when invoked, a list of valid shields will be printed
22 # If the SHIELD variable is changed after this module completes,
26 # - BOARD_ROOT: CMake list of board roots containing board implementations
29 # use only, and may be removed, renamed, or re-purposed without prior notice.
[all …]
Dconfiguration_files.cmake1 # SPDX-License-Identifier: Apache-2.0
5 # Zephyr build system configuration files.
7 # Locate the Kconfig and DT config files that are to be used.
13 # - CONF_FILE: List of Kconfig fragments
14 # - EXTRA_CONF_FILE: List of additional Kconfig fragments
15 # - DTC_OVERLAY_FILE: List of devicetree overlay files
16 # - EXTRA_DTC_OVERLAY_FILE List of additional devicetree overlay files
17 # - DTS_EXTRA_CPPFLAGS List of additional devicetree preprocessor defines
18 # - APPLICATION_CONFIG_DIR: Root folder for application configuration
20 # If any of the above variables are already set when this CMake module is
[all …]
/Zephyr-latest/doc/_extensions/zephyr/
Ddoxyrunner.py6 SPDX-License-Identifier: Apache-2.0
16 - Doxygen build is run before Sphinx reads input files
17 - Doxyfile can be optionally pre-processed so that variables can be inserted
18 - Changes in the Doxygen input files are tracked so that Doxygen build is only
19 run if necessary.
20 - Synchronizes Doxygen XML output so that even if Doxygen is run only changed,
21 deleted or added files are modified.
25 - https://github.com/michaeljones/breathe/issues/420
30 - ``doxyrunner_doxygen``: Path to the Doxygen binary.
31 - ``doxyrunner_doxyfile``: Path to Doxyfile.
[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
48 # could be handy for archiving the generated documentation or if some version
73 # into which the generated documentation will be written. If a relative path is
[all …]
/Zephyr-latest/
D.gitignore24 # The .cache directory will be used to cache toolchain capabilities if
25 # no suitable out-of-tree directory is found.
29 outdir-*
32 coverage-report
33 doc-coverage.info
41 doc/themes/zephyr-docs-theme
42 sanity-out*
43 twister-out*
55 hide-defaults-note
62 # Cargo drops lock files in projects to capture resolved dependencies.
[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
79 Linker exits with error when an orphan section is found.
89 if HAS_FLASH_LOAD_OFFSET
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
104 hex "Kernel load offset" if !USE_DT_CODE_PARTITION
[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
36 # Use the speedier C LibYAML parser if available
60 "-m", "--maintainers",
62 help="Maintainers file to load. If not specified, MAINTAINERS.yml in "
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")
[all …]
/Zephyr-latest/scripts/net/
Drun-sample-tests.sh3 # SPDX-License-Identifier: Apache-2.0
5 image=net-tools
6 name=net-tools
7 network=net-tools0
14 docker_test_script_name=docker-test.sh
24 if [ -z "$ZEPHYR_BASE" ]; then
27 elif [ ! -d "$ZEPHYR_BASE" ]; then
32 if [ -z "$NET_TOOLS_BASE" ]; then
39 l="$d/tools/net-tools"
40 if [ -d "$l" ]; then
[all …]
/Zephyr-latest/subsys/net/lib/tftp/
Dtftp_client.h4 * SPDX-License-Identifier: Apache-2.0
7 /* Generic header files required by the TFTPC Module. */
19 * are no buffer overflows. The complete "tftpc_buffer" has the size of
25 #define TFTP_MAX_FILENAME_SIZE (TFTPC_MAX_BUF_SIZE - TFTP_MAX_MODE_SIZE - 4)
36 /** Not defined, see error message (if any). */
38 /** File not found. */
50 /** No such user. */
/Zephyr-latest/scripts/west_commands/zspdx/
Dwalker.py1 # Copyright (c) 2020-2021 The Linux Foundation
3 # SPDX-License-Identifier: Apache-2.0
29 # should also analyze for included header files?
36 # build files, and corresponding source and SDK files, and gathers the
43 # configuration - WalkerConfig
56 # queue of pending source Files to create, process and assign
75 if not url:
81 …|http(s)?:\/\/)(?P<base_url>[\w\.@]+)(\/|:))(?P<namespace>[\w,\-,\_]+)\/(?P<package>[\w,\-,\_]+)(.…
84 if match:
87 if purl and (version or len(version) > 0):
[all …]
/Zephyr-latest/doc/contribute/documentation/
Dgeneration.rst8 as we use to create the online documentation found at
11 .. _documentation-overview:
18 using Sphinx to create a formatted stand-alone website. Developers can
19 view this content either in its raw form as .rst markup files, or you
30 * ReStructuredText source files used to generate documentation found at the
32 are found in the ``/doc`` directory, but others are stored within the
36 * Doxygen-generated material used to create all API-specific documents
37 also found at https://docs.zephyrproject.org
39 * Script-generated material for kernel configuration options based on Kconfig
40 files found in the source code tree
[all …]
/Zephyr-latest/.github/workflows/
Dbsim-tests.yaml6 - ".github/workflows/bsim-tests.yaml"
7 - ".github/workflows/bsim-tests-publish.yaml"
8 - "west.yml"
9 - "subsys/bluetooth/**"
10 - "tests/bsim/**"
11 - "boards/nordic/nrf5*/*dt*"
12 - "dts/*/nordic/**"
13 - "tests/bluetooth/common/testlib/**"
14 - "samples/bluetooth/**"
15 - "boards/native/**"
[all …]
Ddoc-build.yml2 # SPDX-License-Identifier: Apache-2.0
8 - cron: '0 */3 * * *'
11 - v*
22 # and each sphinx-build process may use more than 2GiB of RAM.
26 doc-file-check:
28 runs-on: ubuntu-22.04
29 if: >
30 github.repository_owner == 'zephyrproject-rtos'
32 file_check: ${{ steps.check-doc-files.outputs.any_modified }}
34 - name: checkout
[all …]
Dclang.yaml6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
7 cancel-in-progress: true
10 clang-build:
11 if: github.repository_owner == 'zephyrproject-rtos'
12 runs-on:
13 group: zephyr-runner-v2-linux-x64-4xlarge
15 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
16 options: '--entrypoint /bin/bash'
18 fail-fast: false
22 CCACHE_DIR: /node-cache/ccache-zephyr
[all …]
Dtwister.yaml6 - main
7 - v*-branch
8 - collab-*
11 - main
12 - v*-branch
13 - collab-*
16 - cron: '0 3 * * 0'
19 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
20 cancel-in-progress: true
23 twister-build-prep:
[all …]
/Zephyr-latest/scripts/west_commands/runners/
Dsilabs_commander.py3 # Based on J-Link runner
5 # SPDX-License-Identifier: Apache-2.0
50 def dev_id_help(cls) -> str:
51 return '''Device identifier. Use it to select the J-Link Serial Number
55 def tool_opt_help(cls) -> str:
56 return "Additional options for Simplicity Commander, e.g. '--noreset'"
61 parser.add_argument('--device', required=True,
65 parser.add_argument('--commander', default=DEFAULT_APP,
67 parser.add_argument('--speed', default=None,
84 opts = ['--device', self.device]
[all …]
Dlinkserver.py1 # Copyright 2023-2024 NXP
4 # SPDX-License-Identifier: Apache-2.0
18 DEFAULT_LINKSERVER_EXE = 'Linkserver.exe' if sys.platform == 'win32' else 'LinkServer'
23 '''Runner front-end for NXP Linkserver'''
39 self.gdb_cmd = cfg.gdb if cfg.gdb else None
49 self.tui_arg = ['-tui'] if tui else []
50 self.override = override if override else []
54 if tool_opt is not None:
70 parser.add_argument('--device', required=True, help='device name')
72 parser.add_argument('--core', required=False, help='core of the device')
[all …]
/Zephyr-latest/scripts/build/
Dsubfolder_list.py2 # SPDX-License-Identifier: Apache-2.0
7 the list of all sub-directories found. If the output file already exists, the
8 file will only be updated in case sub-directories have been added or removed
24 parser.add_argument('-d', '--directory', required=True,
25 help='Directory to walk for sub-directory discovery')
26 parser.add_argument('-c', '--create-links', required=False,
27 help='Create links for each directory found in \
29 parser.add_argument('-o', '--out-file', required=True,
31 directories found')
32 parser.add_argument('-t', '--trigger-file', required=False,
[all …]
Dgen_relocate_app.py5 # SPDX-License-Identifier: Apache-2.0
9 This script will relocate .text, .rodata, .data and .bss sections from required files
25 python3 gen_relocate_app.py -i input_string -o generated_linker -c generated_code
29 - If the memory is like SRAM1/SRAM2/CCD/AON then place full object in
31 - If the memory type is appended with _DATA / _TEXT/ _RODATA/ _BSS only the
34 - COPY/NOCOPY defines whether the script should generate the relocation code in
36 - NOKEEP will suppress the default behavior of marking every relocated symbol
82 if ".text." in name:
153 __{0}_{1}_reloc_size = __{0}_{1}_reloc_end - __{0}_{1}_reloc_start;
164 #if {6}
[all …]
/Zephyr-latest/doc/build/
Dzephyr_cmake_package.rst6 The Zephyr `CMake package`_ is a convenient way to create a Zephyr-based application.
9 The :ref:`zephyr-app-types` section introduces the application types
13 the application, whether it is a :ref:`Zephyr repository application <zephyr-repo-app>`,
14 a :ref:`Zephyr workspace application <zephyr-workspace-app>`, or a
15 :ref:`Zephyr freestanding application <zephyr-freestanding-app>`.
17 When developing a Zephyr-based application, then a developer simply needs to write
27 .. group-tab:: Ubuntu
29 In Linux, the CMake user package registry is found in:
33 .. group-tab:: macOS
35 In macOS, the CMake user package registry is found in:
[all …]
/Zephyr-latest/scripts/footprint/
Dpack_as_twister.py5 # SPDX-License-Identifier: Apache-2.0
9 into a JSON files compatible with Twister report schema making them ready for upload
13 The memory footprint input data files (rom.json, ram.json) are expected in directories
16 with the corresponding sub-directories.
18 For example, an input path `./**/*v3.6.0-rc3-*/footprints/**/frdm_k64f/` will be
19 expanded by bash to all sub-directories with the 'footprints' data `v3.6.0-rc3`
22 `shopt -s globstar`.
24 The output `twister_footprint.json` files will be placed into the same directories
25 as the corresponding input files.
29 This scripts has `--test-name` parameter to customize how to compose test names
[all …]

123456