/Zephyr-Core-3.4.0/scripts/ |
D | github_helpers.py | 3 # SPDX-License-Identifier: Apache-2.0 6 Generic GitHub helper routines which may be useful to other scripts. 24 import github 26 def get_github_credentials(ask: bool = True) -> Dict[str, str]: 27 '''Get credentials for constructing a github.Github object. 29 This function tries to get github.com credentials from these 40 api.github.com is rate limited more aggressively than 45 github.Github constructor as **kwargs. 57 auth = nrc.authenticators('github.com') 61 token = os.environ.get('GITHUB_TOKEN') [all …]
|
D | set_assignees.py | 4 # SPDX-License-Identifier: Apache-2.0 11 from github import Github, GithubException 12 from github.GithubException import UnknownObjectException 29 parser.add_argument("-M", "--maintainer-file", required=False, default="MAINTAINERS.yml", 31 parser.add_argument("-P", "--pull_request", required=False, default=None, type=int, 32 help="Operate on one pull-request only.") 33 parser.add_argument("-s", "--since", required=False, 34 help="Process pull-requests since date.") 36 parser.add_argument("-y", "--dry-run", action="store_true", default=False, 39 parser.add_argument("-o", "--org", default="zephyrproject-rtos", [all …]
|
/Zephyr-Core-3.4.0/scripts/release/ |
D | bug_bash.py | 4 # SPDX-License-Identifier: Apache-2.0 6 """Query the Top-Ten Bug Bashers 8 This script will query the top-ten Bug Bashers in a specified date window. 11 ./scripts/bug-bash.py -t ~/.ghtoken -b 2021-07-26 -e 2021-08-07 12 GITHUB_TOKEN="..." ./scripts/bug-bash.py -b 2021-07-26 -e 2021-08-07 21 from github import Github 26 parser.add_argument('-a', '--all', dest='all', 28 parser.add_argument('-t', '--token', dest='tokenfile', 29 …help='File containing GitHub token (alternatively, use GITHUB_TOKEN env variable)', metavar='FILE') 30 parser.add_argument('-s', '--start', dest='start', help='start date (YYYY-mm-dd)', [all …]
|
D | list_backports.py | 4 # SPDX-License-Identifier: Apache-2.0 8 This script searches for issues referenced via pull-requests in a release 21 -t ~/.ghtoken \ 22 -b v2.7-branch \ 23 -s 2021-12-15 -e 2022-04-22 \ 24 -P 45074 -P 45868 -P 44918 -P 41234 -P 41174 \ 25 -j | jq . | tee /tmp/backports.json 29 -b v3.0-branch \ 30 -p 43381 \ 31 -j | jq . | tee /tmp/backports.json [all …]
|
D | list_issues.py | 5 # SPDX-License-Identifier: Apache-2.0 28 for cursor in '|/-\\': 56 def __init__(self, org, repo, token): argument 59 self.issues_url = "https://github.com/%s/%s/issues" % ( 61 self.github_url = 'https://api.github.com/repos/%s/%s' % ( 64 self.api_token = token 66 self.headers['Authorization'] = 'token %s' % self.api_token 67 self.headers['Accept'] = 'application/vnd.github.golden-comet-preview+json' 112 def pull_requests(self, base='v1.14-branch', state='closed'): 124 parser.add_argument("-o", "--org", default="zephyrproject-rtos", [all …]
|
/Zephyr-Core-3.4.0/doc/develop/west/ |
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-Core-3.4.0/.github/workflows/ |
D | manifest.yml | 7 runs-on: ubuntu-22.04 10 - name: Checkout the code 14 ref: ${{ github.event.pull_request.head.sha }} 15 fetch-depth: 0 16 persist-credentials: false 18 - name: Manifest 19 uses: zephyrproject-rtos/action-manifest@a6d0c6e52bbbb7d6df23ceb42842edcb4582b8dc 21 github-token: ${{ secrets.ZB_GITHUB_TOKEN }} 22 manifest-path: 'west.yml' 23 checkout-path: 'zephyrproject/zephyr' [all …]
|
D | issue_count.yml | 5 - cron: '*/10 * * * *' 9 COMMITTER_EMAIL: actions@github.com 10 COMMITTER_NAME: github-actions 11 COMMITTER_USERNAME: github-actions 15 track-issues: 17 runs-on: ubuntu-22.04 18 if: github.repository == 'zephyrproject-rtos/zephyr' 21 - name: Download configuration file 23 …wget -q https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/.github/workflows/issues-report-… 25 - name: install-packages [all …]
|
D | greet_first_time_contributor.yml | 11 runs-on: ubuntu-22.04 13 - uses: actions/checkout@v3 14 - uses: zephyrproject-rtos/action-first-interaction@v1.1.1-zephyr-3 16 repo-token: ${{ secrets.GITHUB_TOKEN }} 18 issue-message: > 19 Hi @${{github.event.issue.user.login}}! We appreciate you submitting your first issue 20 for our open-source project. 26 pr-opened-message: > 27 Hello @${{ github.event.pull_request.user.login }}, and thank you very much for your 37 pr-merged-message: > [all …]
|
/Zephyr-Core-3.4.0/subsys/lorawan/services/ |
D | clock_sync.c | 6 * LoRaMac-node firmware repository https://github.com/Lora-net/LoRaMac-node 9 * SPDX-License-Identifier: Apache-2.0 25 * This implementation only supports TS003-2.0.0, as the previous revision TS003-1.0.0 45 /** Work item for regular (re-)sync requests (uplink messages) */ 47 /** Continuously incremented token to map clock sync answers and requests */ 70 * @returns number of bytes written or -ENOSPC in case of error 77 return -ENOSPC; in clock_sync_serialize_device_time() 100 if (sizeof(tx_buf) - tx_pos < MAX_CLOCK_SYNC_ANS_LEN) { in clock_sync_package_callback() 123 uint8_t token = rx_buf[rx_pos++] & 0x0F; in clock_sync_package_callback() local 125 if (token == ctx.req_token) { in clock_sync_package_callback() [all …]
|
/Zephyr-Core-3.4.0/samples/net/cloud/mqtt_azure/ |
D | README.rst | 1 .. _mqtt-azure-sample: 12 - Acquire a DHCPv4 lease 13 - Establish a TLS connection with Azure Cloud IoT hub 14 - Publish data to the Azure cloud 15 - SOCKS5 supported 16 - DNS supported 24 - Azure Cloud account 25 - Azure IOT Cloud credentials and required information 26 - Freedom Board (FRDM-K64F) 27 - Network connectivity [all …]
|
/Zephyr-Core-3.4.0/doc/releases/ |
D | release-notes-2.5.rst | 27 * CVE-2021-3323: Under embargo until 2021-04-14 28 * CVE-2021-3321: Under embargo until 2021-04-14 29 * CVE-2021-3320: Under embargo until 2021-04-14 37 You can check all currently known issues by listing them using the GitHub 39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'. 63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive 67 timeout usage must use the new-style k_timeout_t type and not the 82 buffer as the ``token`` argument instead of a pointer to a writable buffer. 87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a [all …]
|
D | release-notes-3.2.rst | 13 * 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 …]
|
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 …]
|
/Zephyr-Core-3.4.0/doc/security/ |
D | vulnerabilities.rst | 14 CVE-2017 17 CVE-2017-14199 18 -------------- 22 - `CVE-2017-14199 <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14199>`_ 24 - `Zephyr project bug tracker ZEPSEC-12 25 <https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-12>`_ 27 - `PR6158 fix for 1.11.0 28 <https://github.com/zephyrproject-rtos/zephyr/pull/6158>`_ 30 CVE-2017-14201 31 -------------- [all …]
|
D | secure-coding.rst | 6 Traditionally, microcontroller-based systems have not placed much 46 documentation about how security-sensitive issues are handled by the 60 - **Open design** as a design guideline incorporates the maxim that 62 widespread use. Instead of relying on secret, custom-tailored 66 - **Economy of mechanism** specifies that the underlying design of a 71 - **Complete mediation** requires that each access to every object and 75 - **Fail-safe defaults** defines that access is restricted by default 82 - **Separation of privilege** is the principle that two conditions or 86 - **Least privilege** describes an access model in which each user, 92 - **Least common mechanism** specifies that mechanisms common to more [all …]
|
/Zephyr-Core-3.4.0/scripts/kconfig/ |
D | kconfiglib.py | 1 # Copyright (c) 2011-2019, Ulf Magnusson 2 # SPDX-License-Identifier: ISC 9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt) 12 See the homepage at https://github.com/ulfalizer/Kconfiglib for a longer 27 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am 28 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -… 30 Warning: Not passing -p1 to patch will cause the wrong file to be patched. 42 $ git clone git://github.com/ulfalizer/Kconfiglib.git 43 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch') 53 ---------------- [all …]
|
/Zephyr-Core-3.4.0/scripts/ci/ |
D | check_compliance.py | 5 # SPDX-License-Identifier: Apache-2.0 46 f"{cp.stdout.decode('utf-8')}\n" 48 f"{cp.stderr.decode('utf-8')}\n") 50 return cp.stdout.decode("utf-8").rstrip() 59 return git('rev-list', 60 f'--max-count={-1 if "." in refspec else 1}', refspec).split() 63 filter_arg = (f'--diff-filter={filter}',) if filter else () 64 paths_arg = ('--', *paths) if paths else () 65 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg) 112 - The magic string "<zephyr-base>" can be used to refer to the [all …]
|
/Zephyr-Core-3.4.0/scripts/west_commands/completion/ |
D | west-completion.bash | 1 # 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-Core-3.4.0/doc/build/kconfig/ |
D | tips.rst | 3 Kconfig - Tips and Best Practices 11 The official Kconfig documentation is `kconfig-language.rst 12 <https://www.kernel.org/doc/html/latest/kbuild/kconfig-language.html>`__ 13 and `kconfig-macro-language.rst 14 <https://www.kernel.org/doc/html/latest/kbuild/kconfig-macro-language.html>`__. 54 a fixed machine-specific setting. Usually, such settings should be handled via 55 :ref:`devicetree <dt-guide>` instead. 64 controlled by. See :ref:`dt-drivers-that-depend` for alternatives. 66 Similarly, if your application depends on a hardware-specific PWM device to 68 :ref:`dt-apps-that-depend` for alternatives. [all …]
|
/Zephyr-Core-3.4.0/doc/contribute/coding_guidelines/ |
D | index.rst | 13 but not enforced. Rules are not yet enforced in CI and pull-requests cannot be 39 The coding guideline rules are based on MISRA-C 2012 and are a subset of MISRA-C. 47 available through the project. If you need a copy of MISRA-C 2012, please 53 .. list-table:: Main rules 54 :header-rows: 1 57 * - MISRA C 2012 58 - Severity 59 - Description 60 - CERT C 61 - Example [all …]
|
/Zephyr-Core-3.4.0/ |
D | MAINTAINERS.yml | 25 # List of GitHub handles for the people who maintain the area. Usually, 28 # collaborators (not to be confused with the GitHub collaborator role): 33 # List of GitHub labels to add to pull requests that modify the area. 45 # files-regex: 56 # files-exclude: 59 # files-regex-exclude: 60 # Like 'files-regex', but any matching files will be excluded from the 63 # description: >- 64 # Plain-English description. Describe what the system is about, from an 68 # All areas must have a 'files' and/or 'files-regex' key. The other keys are [all …]
|
/Zephyr-Core-3.4.0/doc/_doxygen/ |
D | doxygen-awesome.css | 4 https://github.com/jothepro/doxygen-awesome-css 32 --primary-color: #1779c4; 33 --primary-dark-color: #00559f; 34 --primary-light-color: #7aabd6; 35 --primary-lighter-color: #cae1f1; 36 --primary-lightest-color: #e9f1f8; 39 --page-background-color: white; 40 --page-foreground-color: #2c3e50; 41 --page-secondary-foreground-color: #67727e; 44 --separator-color: #dedede; [all …]
|
/Zephyr-Core-3.4.0/doc/hardware/arch/ |
D | arm_cortex_m.rst | 3 Arm Cortex-M Developer Guide 9 This page contains detailed information about the status of the Arm Cortex-M 11 developing Zephyr applications for Arm Cortex-M-based platforms. 17 Arm Cortex-M implementation variants. 20 …---------------------------------+-----------------------------------+-----------------+---------+… 22 …---------------------------------+-----------------------------------+-----------------+---------+… 23 … | Arm v6-M | Arm v7-M | Arm v8-M … 24 …---------------------------------+-----------------------------------+-----------------+---------+… 26 …---------------------------------+-----------------------------------+-----------------+---------+… 28 …---------------------------------+-----------------------------------+-----------------+---------+… [all …]
|