/Zephyr-latest/scripts/west_commands/zspdx/ |
D | writer.py | 3 # SPDX-License-Identifier: Apache-2.0 14 r'^cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^' 15 … r"`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*" 16 …r'|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}… 21 # Replace "_" by "-" since it's not allowed in spdx ID 22 return name.replace("_", "-") 24 # Output tag-value SPDX 2.3 content for the given Relationship object. 31 # Output tag-value SPDX 2.3 content for the given File object. 60 def generateDowloadUrl(url, revision): argument 64 return url [all …]
|
D | datatypes.py | 3 # SPDX-License-Identifier: Apache-2.0 20 # standardized DocumentRef- (including that prefix) that the other 32 # configuration - DocumentConfig 53 # set of LicenseRef- custom licenses to be declared 54 # may or may not include "LicenseRef-" license prefix 71 # SPDX ID, including "SPDXRef-" 77 # package URL 78 self.url = "" 108 def __init__(self, cfg, doc): argument 111 # configuration - PackageConfig [all …]
|
D | walker.py | 1 # Copyright (c) 2020-2021 The Linux Foundation 3 # SPDX-License-Identifier: Apache-2.0 43 # configuration - WalkerConfig 74 def _build_purl(self, url, version=None): argument 75 if not url: 79 # This is designed to match repository with the following url pattern: 81 …|http(s)?:\/\/)(?P<base_url>[\w\.@]+)(\/|:))(?P<namespace>[\w,\-,\_]+)\/(?P<package>[\w,\-,\_]+)(.… 83 match = re.fullmatch(COMMON_GIT_URL_REGEX, url) 92 def _add_describe_relationship(self, doc, cfgpackage): argument 96 rd.ownerDocument = doc [all …]
|
/Zephyr-latest/doc/ |
D | conf.py | 2 # Reference: https://www.sphinx-doc.org/en/master/usage/configuration.html 15 sys.path.insert(0, str(ZEPHYR_BASE / "doc" / "_extensions")) 19 sys.path.insert(0, str(ZEPHYR_BASE / "doc" / "_scripts")) 25 # Add the directory which contains the pytest-twister-pytest 26 sys.path.insert(0, str(ZEPHYR_BASE / "scripts" / "pylib" / "pytest-twister-harness" / "src")) 35 # -- Project -------------------------------------------------------------- 38 copyright = "2015-2024 Zephyr Project members and individual contributors" 62 version += "-" + extra 70 # -- General configuration ------------------------------------------------ 82 "zephyr.dtcompatible-role", [all …]
|
D | zephyr.doxyfile.in | 20 # 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 64 PROJECT_LOGO = @ZEPHYR_BASE@/doc/_doxygen/logo.svg 80 # sub-directories (in 2 levels) under the output directory of each output format [all …]
|
/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 …]
|
D | spdx.py | 3 # SPDX-License-Identifier: Apache-2.0 13 This command creates an SPDX 2.2 tag-value bill of materials 17 BUILDDIR/.cmake/api/v1/query/codemodel-v2 in order to enable 18 the CMake file-based API, which the SPDX command relies upon. 19 This can be done by calling `west spdx --init` prior to 35 # doc/guides/west/zephyr-cmds.rst up to date. 36 parser.add_argument('-i', '--init', action="store_true", 37 help="initialize CMake file-based API") 38 parser.add_argument('-d', '--build-dir', 40 parser.add_argument('-n', '--namespace-prefix', [all …]
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | gh_utils.py | 8 SPDX-License-Identifier: Apache-2.0 20 * ``gh_link_get_blob_url``: Returns a URL to the source of a page on GitHub. 21 * ``gh_link_get_edit_url``: Returns a URL to edit the given page on GitHub. 22 * ``gh_link_get_open_issue_url``: Returns a URL to open a new issue regarding the given page. 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: [all …]
|
D | api_overview.py | 2 # SPDX-License-Identifier: Apache-2.0 18 version it is present - all information extracted from Doxygen XML output. 20 It is exclusively used by the doc/develop/api/overview.rst page. 45 github_uri = "https://github.com/zephyrproject-rtos/zephyr/releases/tag/" 68 url = url_base / f"{cdef.get_id()}.html" 81 reference = nodes.reference(text=title, refuri=str(url)) 140 def sync_contents(app: Sphinx) -> None: 166 def setup(app) -> dict[str, Any]: 170 app.add_directive("api-overview-table", ApiOverview) 172 app.connect("builder-inited", sync_contents)
|
/Zephyr-latest/tests/net/lib/http_header_fields/src/ |
D | main.c | 45 const char *url; member 54 .url = "http://hostname/", 71 .url = "http://hostname:444/", 89 .url = "hostname:443", 106 .url = "hostname:443", 113 .url = "http://[1:2::3:4]/", 130 .url = "http://[1:2::3:4]:67/", 148 .url = "[1:2::3:4]:443", 165 .url = "http://[2001:0000:0000:0000:0000:0000:1.9.1.1]/", 182 .url = "http://a.tbcdn.cn/p/fp/2010c/??fp-header-min.css," [all …]
|
/Zephyr-latest/samples/subsys/usb/webusb-next/ |
D | README.rst | 1 .. zephyr:code-sample:: webusb-next 2 :name: WebUSB-next 3 :relevant-api: usbd_api 14 This sample can be found at :zephyr_file:`samples/subsys/usb/webusb-next` in the 22 WebUSB API, such as Chromium or a Chromium-based browser. 29 .. zephyr-app-commands:: 30 :zephyr-app: samples/subsys/usb/webusb-next 39 sample directory: :zephyr_file:`samples/subsys/usb/webusb-next/index.html`. 43 * Using browser go to :doc:`demo` 47 .. code-block:: console [all …]
|
/Zephyr-latest/samples/subsys/usb/webusb/ |
D | README.rst | 1 .. zephyr:code-sample:: webusb 3 :relevant-api: _usb_device_core_api 8 https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web 35 .. zephyr-app-commands:: 36 :zephyr-app: samples/subsys/usb/webusb 68 * Using Chrome browser go to :doc:`demo` 73 .. code-block:: console 75 $ python -m http.server 77 Using Chrome browser open url http://localhost:8001/ 85 in Chrome on Windows. See https://github.com/WICG/webusb#implementation-status
|
/Zephyr-latest/scripts/ci/ |
D | check_compliance.py | 5 # 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) 120 doc: [all …]
|
/Zephyr-latest/scripts/ |
D | zephyr_module.py | 5 # 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 57 cmake-ext: 61 kconfig-ext: 65 sysbuild-cmake: 68 sysbuild-kconfig: 71 sysbuild-cmake-ext: 75 sysbuild-kconfig-ext: [all …]
|
D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 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 83 --terse one line per report [all …]
|
/Zephyr-latest/doc/contribute/ |
D | guidelines.rst | 6 As an open-source project, we welcome and encourage the community to submit 24 https://github.com/zephyrproject-rtos/zephyr/blob/main/LICENSE 26 .. _GitHub repo: https://github.com/zephyrproject-rtos/zephyr 38 https://www.zephyrproject.org/faqs/#1571346989065-9216c551-f523 41 https://www.whitesourcesoftware.com/whitesource-blog/top-10-apache-license-questions-answered/ 64 See :ref:`external-contributions` for more information about 84 https://www.linuxfoundation.org/blog/copyright-notices-in-open-source-software-projects/ 97 later in this document), the developer simply adds a ``Signed-off-by`` 104 .. code-block:: none 129 sign-off) is maintained indefinitely and may be redistributed [all …]
|
/Zephyr-latest/doc/contribute/documentation/ |
D | guidelines.rst | 24 .. _Sphinx extensions: http://www.sphinx-doc.org/en/stable/contents.html 26 .. _Sphinx Inline Markup: http://sphinx-doc.org/markup/inline.html#inline-markup 30 Sphinx-defined directives and roles used to create the documentation 42 the first non-white space in the preceding line. For example:: 50 .. code-block:: 66 * Third section heading level (h4) use ``-`` 84 For bullet lists, place an asterisk (``*``) or hyphen (``-``) at 113 #. This is a second-level list under the first item (also 143 Multi-column lists 148 a special ``.. rst-class:: rst-columns`` directive. The directive will [all …]
|
/Zephyr-latest/doc/develop/getting_started/ |
D | installation_linux.rst | 32 .. group-tab:: Ubuntu 34 .. code-block:: console 36 sudo apt-get update 37 sudo apt-get upgrade 39 .. group-tab:: Fedora 41 .. code-block:: console 45 .. group-tab:: Clear Linux 47 .. code-block:: console 51 .. group-tab:: Arch Linux 53 .. code-block:: console [all …]
|
/Zephyr-latest/doc/develop/ |
D | modules.rst | 7 order to avoid reinventing the wheel and to reuse as much well-established, 14 modules, an external project is required to have its own life-cycle outside 29 - Debugger integration 30 - Silicon vendor Hardware Abstraction Layers (HALs) 31 - Cryptography libraries 32 - File Systems 33 - Inter-Process Communication (IPC) libraries 36 references to optional :ref:`binary blobs <bin-blobs>`. 41 .. _modules-vs-projects: 47 <west-workspace>`. In fact, modules :ref:`do not require west [all …]
|
/Zephyr-latest/doc/safety/images/ |
D | IEC-61508-basis.svg | 1 …-0.5 -0.5 802 515" style="background-color: rgb(255, 255, 255);"><defs><linearGradient x1="0%" y1=…
|
/Zephyr-latest/doc/connectivity/networking/conn_mgr/figures/ |
D | integration_diagram_simplified.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …-0.5 -0.5 619 446" style="background-color: rgb(255, 255, 255);"><defs><style type="text/css">@imp…
|
D | integration_diagram_detailed.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …-0.5 -0.5 783 632" style="background-color: rgb(255, 255, 255);"><defs><style type="text/css">@imp…
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.3.rst | 14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery) 17 CMSIS-DSP as the default backend. 30 * CVE-2023-0359: Under embargo until 2023-04-20 32 * CVE-2023-0779: Under embargo until 2023-04-22 66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding. 71 * Starting from this release ``zephyr-`` prefixed tags won't be created 82 image states). Use of a truncated hash or non-sha256 hash will still work 88 registration function at boot-up. If applications register this then 93 application code, these will now automatically be registered at boot-up (this 129 This may cause out-of-tree scripts or commands to fail if they have relied [all …]
|