Home
last modified time | relevance | path

Searched +full:dry +full:- +full:run (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/scripts/utils/
Dtwister_to_list.py2 Utility script to migrate Twister configuration files from using string-based
8 -p path/to/zephyr-based-project
11 SPDX-License-Identifier: Apache-2.0
67 print(f"Updating {p}{' (dry run)' if dry_run else ''}")
76 "-p", "--project", type=Path, required=True, help="Zephyr-based project path"
78 parser.add_argument("--dry-run", action="store_true", help="Dry run")
Dmigrate_includes.py2 Utility script to migrate Zephyr-based projects to the new <zephyr/...> include
12 -p path/to/zephyr-based-project
15 SPDX-License-Identifier: Apache-2.0
70 print(f"Updating {p}{' (dry run)' if dry_run else ''}")
79 "-p", "--project", type=Path, required=True, help="Zephyr-based project path"
81 parser.add_argument("--dry-run", action="store_true", help="Dry run")
Dmigrate_sys_init.py11 -p path/to/zephyr-based-project
14 SPDX-License-Identifier: Apache-2.0
32 m = re.match(r"^SYS_INIT\(([A-Za-z0-9_]+),.*", line)
37 m = re.match(r"^SYS_INIT_NAMED\([A-Za-z0-9_]+,\s?([A-Za-z0-9_]+).*", line)
76 print(f"Updating {p}{' (dry run)' if dry_run else ''}")
85 "-p", "--project", type=Path, required=True, help="Zephyr-based project path"
87 parser.add_argument("--dry-run", action="store_true", help="Dry run")
/Zephyr-latest/scripts/ci/stats/
Dmerged_prs.py3 # SPDX-License-Identifier: Apache-2.0
19 date_format = '%Y-%m-%d %H:%M:%S'
21 def parse_args() -> argparse.Namespace:
25 parser.add_argument('--pull-request', help='pull request number', type=int)
26 …parser.add_argument('--range', help='execute based on a date range, for example 2023-01-01..2023-0…
27 parser.add_argument('--repo', help='github repo', default='zephyrproject-rtos/zephyr')
28 parser.add_argument('--es-index', help='Elasticsearch index')
29 parser.add_argument('-y','--dry-run', action="store_true", help='dry run, do not upload data')
42 …print(f'#{pr.number}: {pr.title} - {pr.comments} Comments, reviews: {reviews.totalCount}, {len(pr.…
85 delta = pr.closed_at - created
[all …]
/Zephyr-latest/subsys/net/ip/
D6lo.h10 * SPDX-License-Identifier: Apache-2.0
84 * @details This will do a dry-run on uncompressing the headers.
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Djobserver.py2 # SPDX-License-Identifier: Apache-2.0
71 A client of jobserver is allowed to run 1 job without contacting the
113 the environment for a string "--jobserver-auth=R,W", where R
119 * If the first char is "n", this is a dry run, just exit.
120 * If the flags contains -j1, go to sequential mode.
121 * If the flags contains --jobserver-auth=R,W AND those file
138 match = re.search(r"--jobserver-auth=(\d+),(\d+)", makeflags)
144 "-jN forced on command line; ignoring GNU make jobserver"
175 match = re.search(r"-j(\d+)", makeflags)
179 logger.info("Running in sequential mode (-j1)")
[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/scripts/west_commands/
Dpackages.py3 # SPDX-License-Identifier: Apache-2.0
20 def in_venv() -> bool:
43 Run 'west packages <manager>' to list all dependencies
46 see 'west packages <manager> --help' for details.
52 "-m",
53 "--module",
58 help="Zephyr module to run the 'packages' command for. "
59 "Use 'zephyr' if the 'packages' command should run for Zephyr itself. "
61 "If this option is not given, the 'packages' command will run for Zephyr "
80 Run 'west packages pip' to print all requirement files needed by
[all …]
Dzcmake.py3 # SPDX-License-Identifier: Apache-2.0
30 '''Run cmake to (re)generate a build system, a script, etc.
33 :param cwd: directory to run CMake in, cwd is default
38 would have been run
59 log.inf('Dry run{}:'.format(in_cwd), quote_sh_list(cmd))
76 '''Run cmake in build tool mode.
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)
[all …]
Dbuild.py3 # SPDX-License-Identifier: Apache-2.0
22 _ARG_SEPARATOR = '--'
30 west build [-h] [-b BOARD[@REV]]] [-d BUILD_DIR]
31 [-S SNIPPET] [--shield SHIELD]
32 [-t TARGET] [-p {auto, always, never}] [-c] [--cmake-only]
33 [-n] [-o BUILD_OPT] [-f]
34 [--sysbuild | --no-sysbuild] [--domain DOMAIN]
35 [--extra-conf FILE.conf]
36 [--extra-dtc-overlay FILE.overlay]
37 [source_dir] -- [cmake_opt [cmake_opt ...]]
[all …]
/Zephyr-latest/boards/kincony/kincony_kc868_a32/doc/
Dindex.rst6 Kincony KC868-A32 is a home automation relay module based on the
7 Espressif ESP-WROOM-32 module with all its inherent capabilities
8 (Wi-Fi, Bluetooth, etc.)
12 - 32 digital optoisolated inputs “dry contact”
13 - 4 analog inputs 0-5 V
14 - 32 relays 220 V, 10 A (COM, NO, NC)
15 - RS485 interface
16 - I2C connector
17 - Connector GSM/HMI
18 - Ethernet LAN8270A
[all …]
/Zephyr-latest/scripts/ci/
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``.
181 _grouping = name.split("/")[-1]
288 print(f"Setting run date from command line: {args.run_date}")
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,
312 parser.add_argument('-i', '--index', required=True, default='tests-zephyr-1',
314 parser.add_argument('-r', '--run-date', help='Run date in ISO format', required=False)
[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=(
19 'forall[run a command in one or more local projects]'
25 local -a zephyr_ext_cmds=(
29 'sign[sign a Zephyr binary for bootloader chain-loading]'
30 'flash[flash and run a binary on a board]'
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 …]
Dwest-completion.bash1 # Bash auto-completion for west subcommands and flags. To initialize, run
3 # source west-completion.bash
7 __west_previous_extglob_setting=$(shopt -p extglob)
8 shopt -s extglob
12 # bash_completion - programmable completion functions for bash 3.2+
14 # Copyright © 2006-2008, Ian Macdonald <ian@caliban.org>
15 # © 2009-2010, Bash Completion Maintainers
16 # <bash-completion-devel@lists.alioth.debian.org>
33 # http://bash-completion.alioth.debian.org/
41 # if test "${words_[cword_-1]}" = -w
[all …]
/Zephyr-latest/scripts/footprint/
Dupload_data.py4 # SPDX-License-Identifier: Apache-2.0
56 parser.add_argument("-d", "--data", help="Data Directory")
57 …parser.add_argument("-y", "--dryrun", action="store_true", help="Dry run, do not upload to databas…
58 parser.add_argument("-z", "--zephyr-base", help="Zephyr tree")
59 parser.add_argument("-f", "--file", help="JSON file with footprint data")
127 cidx = commit.find('-g') + 2
/Zephyr-latest/scripts/ci/es_upload/
DREADME.md17 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
47 (see `--help` for more details):
49 * `--exclude` removes excess testsuite properties not needed to store them
52 * `--transform` applies regexp group parsing rules to string properties extracting
55 * `--flatten` changes testsuite data structure in regard of one of its list components:
63 * Other command line options: `--flatten-dict-name`, `--flatten-list-names`,
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_jobserver.py4 # SPDX-License-Identifier: Apache-2.0
162 {'MAKEFLAGS': '-j1'},
165 ['Running in sequential mode (-j1)'],
168 {'internal_jobs': 1, 'makeflags': '-j1'}
171 {'MAKEFLAGS': 'n--jobserver-auth=0,1'},
175 '-jN forced on command line; ignoring GNU make jobserver',
176 'MAKEFLAGS contained dry-run flag'
183 {'MAKEFLAGS': '--jobserver-auth=0,1'},
189 {'internal_jobs': 1, 'makeflags': '--jobserver-auth=0,1'}
192 {'MAKEFLAGS': '--jobserver-auth=123,321'},
[all …]
/Zephyr-latest/scripts/
Dset_assignees.py4 # SPDX-License-Identifier: Apache-2.0
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,
40 help="Process pull-requests since date.")
41 group.add_argument("-m", "--modules", action="store_true",
42 help="Process pull-requests from modules.")
44 parser.add_argument("-y", "--dry-run", action="store_true", default=False,
[all …]
/Zephyr-latest/doc/develop/west/
Dzephyr-cmds.rst1 .. _west-zephyr-ext-cmds:
6 This page documents miscellaneous :ref:`west-zephyr-extensions`.
8 .. _west-boards:
16 It can be run by typing::
21 specify the display format yourself you can use the ``--format`` (or ``-f``)
24 west boards -f "{arch}:{name}"
28 west boards -h
30 .. _west-completion:
40 - bash
41 - zsh
[all …]
/Zephyr-latest/scripts/tests/twister_blackbox/
Dtest_outfile.py4 # SPDX-License-Identifier: Apache-2.0
18 # pylint: disable=no-name-in-module
41 (['--clobber-output'], False, False),
42 (['--no-clean'], False, True),
43 (['--clobber-output', '--no-clean'], False, True),
50 args = ['-i', '--outdir', out_path, '-T', path, '-y'] + \
53 ['-p'] * len(test_platforms), test_platforms
56 # We create an empty 'blackbox-out' to trigger the clobbering
69 expected_dirs = ['blackbox-out']
71 expected_dirs += ['blackbox-out.1']
[all …]
Dtest_runner.py2 # Copyright (c) 2023-2024 Intel Corporation
4 # SPDX-License-Identifier: Apache-2.0
8 # pylint: disable=duplicate-code
18 # pylint: disable=no-name-in-module
134 … r'0 of 0 executed test configurations passed \(0.00%\), 0 built \(not run\), 0 failed, 0 errored'
142 … r'1 of 2 executed test configurations passed \(50.00%\), 1 built \(not run\), 0 failed, 0 errored'
149 …[r'2 of 3 executed test configurations passed \(66.67%\), 1 built \(not run\), 0 failed, 0 errored…
200 ['--build-only', '-b']
203 args = ['-i', '--outdir', out_path, '-T', test_path, flag] + \
205 ['-p'] * len(test_platforms), test_platforms
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c8 * SPDX-License-Identifier: Apache-2.0
166 LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid); in bt_sdp_connected()
168 k_fifo_init(&sdp->partial_resp_queue); in bt_sdp_connected()
187 LOG_DBG("chan %p cid 0x%04x", ch, ch->tx.cid); in bt_sdp_disconnected()
220 uint16_t param_len = buf->len; in bt_sdp_send()
224 hdr->op_code = op; in bt_sdp_send()
225 hdr->tid = sys_cpu_to_be16(tid); in bt_sdp_send()
226 hdr->param_len = sys_cpu_to_be16(param_len); in bt_sdp_send()
276 if (buf->len < 1) { in parse_data_elem()
281 data_elem->type = net_buf_pull_u8(buf); in parse_data_elem()
[all …]