| /Zephyr-latest/scripts/ruff/ |
| D | gen_lint_exclude.py | 4 # SPDX-License-Identifier: Apache-2.0 12 # ruff check --output-format=json | ./scripts/ruff/gen_lint_exclude.py >> .ruff-excludes.toml 16 def __init__(self, code: str, url: str) -> None: 18 self.url = url 20 def __eq__(self, other: object) -> bool: 25 def __hash__(self) -> int: 31 sys.stdout.write("[lint.per-file-ignores]\n") 33 rules: dict[str, set[RuffRule]] = {} 35 rules.setdefault(v["filename"], set()).add(RuffRule(v["code"], v["url"])) 41 sys.stdout.write(f' "{r.code}",\t# {r.url}\n'.expandtabs())
|
| /Zephyr-latest/subsys/bluetooth/audio/ |
| D | Kconfig.mpl | 1 # Bluetooth Audio - Media player configuration options 6 # SPDX-License-Identifier: Apache-2.0 14 mock-up with no actual media being played. 24 Use this option to set the name of the media player. 35 string "Media player Icon URL" 38 Use this option to set the URL of the Media Player Icon. 41 int "Max length of media player icon URL" 46 the media player icon URL.
|
| D | Kconfig.mcs | 1 # Bluetooth Audio - Media control configuration options 4 # Copyright (c) 2020-2022 Nordic Semiconductor 6 # SPDX-License-Identifier: Apache-2.0 42 int "Max length of media player icon URL" 47 the media player icon URL. If the URL is longer, the media control 85 Should be set large enough to fit any expected object. 129 bool "Support reading Media Player Icon URL" 133 optionally read the Media Player Icon URL.
|
| /Zephyr-latest/scripts/west_commands/ |
| D | blobs.py | 3 # SPDX-License-Identifier: Apache-2.0 26 # Keep this in sync with the string in west-commands.yml. 39 -------------- 50 - module: name of the module that contains this blob 51 - abspath: blob absolute path 52 - status: short status (A: present, M: hash failure, D: not present) 53 - path: blob local path from <module>/zephyr/blobs/ 54 - sha256: blob SHA256 hash in hex 55 - type: type of blob 56 - version: version string [all …]
|
| /Zephyr-latest/boards/amd/kv260_r5/support/ |
| D | xsdb.cfg | 3 # SPDX-License-Identifier: Apache-2.0 6 set elf_file [lindex $args 0] 7 set fsblelf_file [lindex $args 1] 8 connect -url 127.0.0.1:3121 10 targets -set -nocase -filter {name =~ "*R5*#0"} 11 rst -proc 17 targets -set -nocase -filter {name =~ "*R5*#0"}
|
| /Zephyr-latest/samples/bluetooth/beacon/src/ |
| D | main.c | 1 /* main.c - Application main entry point */ 4 * Copyright (c) 2015-2016 Intel Corporation 6 * SPDX-License-Identifier: Apache-2.0 18 #define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1) 21 * Set Advertisement data. Based on the Eddystone specification: 22 * https://github.com/google/eddystone/blob/master/protocol-specification.md 23 * https://github.com/google/eddystone/tree/master/eddystone-url 30 0x10, /* Eddystone-URL frame type */ 32 0x00, /* URL Scheme Prefix http://www. */ 38 /* Set Scan Response data */ [all …]
|
| /Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/ |
| D | doxytooltip.js | 3 * SPDX-License-Identifier: Apache-2.0 18 tooltipShadow.id = 'doxytooltip-shadow'; 25 const tippyStyle = document.querySelector('style[data-tippy-stylesheet]'); 58 .shadowRoot.getElementById('doxytooltip-shadow'), 61 const url = link.getAttribute('href'); 64 fetch(url) 72 const doxygenCSSNames = ['doxygen-awesome.css', 'doxygen-awesome-zephyr.css']; 78 link.href = new URL( 80 new URL(url, window.location.href) 91 if (codeClasses.contains('c-enumerator')) { [all …]
|
| /Zephyr-latest/doc/develop/west/ |
| D | manifest.rst | 1 .. _west-manifests: 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 52 - Project and manifest repository histories don't have to move [all …]
|
| D | release-notes.rst | 1 .. _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 …]
|
| D | built-in.rst | 1 .. _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. 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 32 **Option 1**: to clone a new manifest repository from a remote URL, use: 34 .. code-block:: none 36 west init [-m URL] [--mr REVISION] [--mf FILE] [directory] [all …]
|
| D | workspaces.rst | 1 .. _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 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 27 rebase it on top of a new ``manifest-rev``, or merge ``manifest-rev`` into [all …]
|
| /Zephyr-latest/doc/_extensions/zephyr/ |
| D | link-roles.py | 3 # SPDX-License-Identifier: Apache-2.0 5 # based on http://protips.readthedocs.io/link-roles.html 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. 100 # This allows e.g. building the docs in downstream Zephyr-based 107 baseurl = project.url 117 # Baseurl for manifest project not set 120 f"Configuration value `link_roles_manifest_baseurl` not set\n\t{trace}" [all …]
|
| /Zephyr-latest/doc/_templates/ |
| D | zversions.html | 1 {# Add rst-badge after rst-versions for small badge style. #} 2 <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> 3 <span class="rst-current-version" data-toggle="rst-current-version"> 4 <span class="fa fa-book"> Zephyr Project</span> 6 <span class="fa fa-caret-down"></span> 8 <div class="rst-other-versions"> 11 {% for slug, url in versions %} 12 <dd><a href="{{ url }}">{{ slug }}</a></dd> 17 {% set prefix = current_version if is_release else "latest" %} 26 <a href="https://github.com/zephyrproject-rtos/sdk-ng/releases">SDK</a> [all …]
|
| /Zephyr-latest/scripts/ |
| D | series-push-hook.sh | 5 # SPDX-License-Identifier: Apache-2.0 9 url=$2 16 set -e exec 26 base_commit=`git rev-parse $remote/main` 30 ${ZEPHYR_BASE}/scripts/checkpatch.pl --git $range
|
| /Zephyr-latest/samples/boards/st/power_mgmt/stm32wb_ble/src/ |
| D | main.c | 1 /* main.c - Application main entry point */ 4 * Copyright (c) 2015-2016 Intel Corporation 7 * SPDX-License-Identifier: Apache-2.0 21 #define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1) 24 * Set Advertisement data. Based on the Eddystone specification: 25 * https://github.com/google/eddystone/blob/master/protocol-specification.md 26 * https://github.com/google/eddystone/tree/master/eddystone-url 33 0x10, /* Eddystone-URL frame type */ 35 0x00, /* URL Scheme Prefix http://www. */ 41 /* Set Scan Response data */ [all …]
|
| /Zephyr-latest/doc/contribute/style/ |
| D | index.rst | 22 The Linux kernel GPL-licensed tool ``checkpatch`` is used to check 29 code, make the file *$ZEPHYR_BASE/.git/hooks/pre-commit* executable and edit 32 .. code-block:: bash 35 set -e exec 36 exec git diff --cached | ${ZEPHYR_BASE}/scripts/checkpatch.pl - 40 *$ZEPHYR_BASE/.git/hooks/pre-push* executable and edit it to contain: 42 .. code-block:: bash 46 url="$2" 54 args="$remote $url $local_ref $local_sha $remote_ref $remote_sha" 55 exec ${ZEPHYR_BASE}/scripts/series-push-hook.sh $args [all …]
|
| /Zephyr-latest/doc/develop/toolchains/ |
| D | zephyr_sdk.rst | 18 * ARC (32-bit and 64-bit; ARCv1, ARCv2, ARCv3) 19 * ARM (32-bit and 64-bit; ARMv6, ARMv7, ARMv8; A/R/M Profiles) 20 * MIPS (32-bit and 64-bit) 22 * RISC-V (32-bit and 64-bit; RV32I, RV32E, RV64I) 23 * x86 (32-bit and 64-bit) 34 script. Additional OS-specific instructions are described in the sections below. 47 You can also set :envvar:`ZEPHYR_SDK_INSTALL_DIR` to point to a directory 49 example, you can set ``ZEPHYR_SDK_INSTALL_DIR`` to ``/company/tools``, where the 52 * ``/company/tools/zephyr-sdk-0.13.2`` 53 * ``/company/tools/zephyr-sdk-a.b.c`` [all …]
|
| /Zephyr-latest/samples/net/sockets/http_client/src/ |
| D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 46 net_sin(addr)->sin_family = AF_INET; in setup_socket() 47 net_sin(addr)->sin_port = htons(port); in setup_socket() 48 inet_pton(family, server, &net_sin(addr)->sin_addr); in setup_socket() 50 net_sin6(addr)->sin6_family = AF_INET6; in setup_socket() 51 net_sin6(addr)->sin6_port = htons(port); in setup_socket() 52 inet_pton(family, server, &net_sin6(addr)->sin6_addr); in setup_socket() 65 LOG_ERR("Failed to set %s secure option (%d)", in setup_socket() 66 family_str, -errno); in setup_socket() 67 ret = -errno; in setup_socket() [all …]
|
| /Zephyr-latest/subsys/net/lib/mqtt/ |
| D | mqtt_transport_websocket.c | 5 * SPDX-License-Identifier: Apache-2.0 27 "Sec-WebSocket-Protocol: mqtt\r\n", in mqtt_client_websocket_connect() 33 if (client->transport.type == MQTT_TRANSPORT_NON_SECURE_WEBSOCKET) { in mqtt_client_websocket_connect() 39 transport_sock = client->transport.tcp.sock; in mqtt_client_websocket_connect() 42 else if (client->transport.type == MQTT_TRANSPORT_SECURE_WEBSOCKET) { in mqtt_client_websocket_connect() 48 transport_sock = client->transport.tls.sock; in mqtt_client_websocket_connect() 52 return -EINVAL; in mqtt_client_websocket_connect() 55 if (client->transport.websocket.config.url == NULL) { in mqtt_client_websocket_connect() 56 client->transport.websocket.config.url = "/mqtt"; in mqtt_client_websocket_connect() 59 if (client->transport.websocket.config.host == NULL) { in mqtt_client_websocket_connect() [all …]
|
| /Zephyr-latest/scripts/ci/stats/ |
| D | merged_prs.py | 3 # 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.… 51 reviewers = set() [all …]
|
| /Zephyr-latest/include/zephyr/bluetooth/audio/ |
| D | media_proxy.h | 7 * Copyright (c) 2019 - 2024 Nordic Semiconductor ASA 9 * SPDX-License-Identifier: Apache-2.0 66 /** A 32-bit signed parameter. The parameter value depends on the @ref mpl_cmd.opcode */ 95 /** Concatenated search control items - (type, length, param) */ 102 * All values from -128 to 127 allowed, only some defined 106 #define MEDIA_PROXY_PLAYBACK_SPEED_MIN -128 108 #define MEDIA_PROXY_PLAYBACK_SPEED_QUARTER -128 110 #define MEDIA_PROXY_PLAYBACK_SPEED_HALF -64 122 * The allowed values for seeking speed are the range -64 to -4 127 /** Maximum seeking speed - Can be negated */ [all …]
|
| /Zephyr-latest/dts/bindings/pinctrl/ |
| D | espressif,esp32-pinctrl.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 states are composed by groups of pre-defined pin muxing definitions and user 12 Each Zephyr-based application has its own set of pin muxing/pin configuration 13 requirements. The next steps use ESP-WROVER-KIT's I2C_0 to illustrate how one 17 Suppose an application running on top of the ESP-WROVER-KIT board, for some 20 you'll notice that the I2C_0 node is already assigned to a pre-defined state. 24 #include "esp_wrover_kit-pinctrl.dtsi" 28 pinctrl-0 = <&i2c0_default>; 29 pinctrl-names = "default"; 33 From the above excerpt, the pincrl-0 property is assigned the 'i2c0_default' [all …]
|
| /Zephyr-latest/subsys/net/lib/http/ |
| D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 9 This parser requires some string-related routines commonly 13 bool "HTTP Parser for URL support" 16 This parser requires some string-related routines commonly 78 int "Size of the buffer used for decoding Huffman-encoded strings" 82 Size of the buffer used for decoding Huffman-encoded strings when 87 int "Maximum HTTP URL Length" 91 This setting determines the maximum length of the HTTP URL that the server can process. 94 int "Maximum HTTP Content-Type Length" 98 This setting determines the maximum length of the HTTP Content-Length field. [all …]
|
| /Zephyr-latest/scripts/west_commands/zspdx/ |
| D | datatypes.py | 3 # SPDX-License-Identifier: Apache-2.0 20 # standardized DocumentRef- (including that prefix) that the other 32 # configuration - DocumentConfig 50 # set of other Documents that our elements' Relationships refer to 51 self.externalDocuments = set() 53 # set of LicenseRef- custom licenses to be declared 54 # may or may not include "LicenseRef-" license prefix 55 self.customLicenseIDs = set() 71 # SPDX ID, including "SPDXRef-" 77 # package URL [all …]
|
| /Zephyr-latest/doc/develop/sca/ |
| D | codechecker.rst | 8 `Clang-Tidy <http://clang.llvm.org/extra/clang-tidy/>`__, 9 `Clang Static Analyzer <http://clang-analyzer.llvm.org/>`__ and 18 .. code-block:: shell 25 To run CodeChecker, :ref:`west build <west-building>` should be 26 called with a ``-DZEPHYR_SCA_VARIANT=codechecker`` parameter, e.g. 28 .. code-block:: shell 30 west build -b mimxrt1064_evk samples/basic/blinky -- -DZEPHYR_SCA_VARIANT=codechecker 39 .. list-table:: 40 :header-rows: 1 42 * - Parameter [all …]
|