Home
last modified time | relevance | path

Searched +full:check +full:- +full:pr (Results 1 – 25 of 41) sorted by relevance

12

/Zephyr-latest/.github/workflows/
Ddoc-publish-pr.yml3 # SPDX-License-Identifier: Apache-2.0
11 - completed
14 doc-publish:
16 runs-on: ubuntu-22.04
20 github.repository == 'zephyrproject-rtos/zephyr'
23 - name: Download artifacts
24 id: download-artifacts
25 uses: dawidd6/action-download-artifact@v6
27 workflow: doc-build.yml
31 - name: Load PR number
[all …]
Dcompliance.yml6 - edited
7 - opened
8 - reopened
9 - synchronize
13 runs-on: ubuntu-22.04
14 name: Run compliance checks on patch series (PR)
16 - name: Update PATH for west
20 - name: Checkout the code
24 fetch-depth: 0
26 - name: Rebase onto the target branch
[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:
27 name: Check for doc changes
28 runs-on: ubuntu-22.04
30 github.repository_owner == 'zephyrproject-rtos'
32 file_check: ${{ steps.check-doc-files.outputs.any_modified }}
34 - name: checkout
[all …]
Dcoding_guidelines.yml7 runs-on: ubuntu-22.04
8 name: Run coding guidelines checks on patch series (PR)
10 - name: Checkout the code
14 fetch-depth: 0
16 - name: cache-pip
20 key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
22 - name: Install python dependencies
27 - name: Install Packages
29 sudo apt-get update
30 sudo apt-get install coccinelle
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dpkt.c5 * SPDX-License-Identifier: Apache-2.0
15 size_t last_offset = (slab->info.num_blocks - 1) * slab->info.block_size; in is_pkt_part_of_slab()
18 /* Check if pointer fits into slab buffer area. */ in is_pkt_part_of_slab()
19 if ((ptr < slab->buffer) || (ptr > slab->buffer + last_offset)) { in is_pkt_part_of_slab()
23 /* Check if pointer offset is correct. */ in is_pkt_part_of_slab()
24 ptr_offset = ptr - slab->buffer; in is_pkt_part_of_slab()
25 if (ptr_offset % slab->info.block_size != 0) { in is_pkt_part_of_slab()
44 if (context->tx_slab) { in check_context_pool()
46 struct k_mem_slab *slab = context->tx_slab(); in check_context_pool()
48 if (is_pkt_part_of_slab(slab, info->ptr)) { in check_context_pool()
[all …]
Dcm.c4 * SPDX-License-Identifier: Apache-2.0
83 PR("Valid flag keywords are:\n"); in cm_print_flags()
85 PR("\t%s,\n", flag_strings[i].name); in cm_print_flags()
89 /* Verify that a provided string consists only of the characters 0-9*/
106 PR("Valid target specifiers are 'ifi [index]', 'if [name]', or '[index]'.\n"); in cm_target_help()
134 target->iface = net_if_get_by_index(iface_index); in parse_ifi_target()
136 if (target->iface == NULL) { in parse_ifi_target()
142 target->type = CM_TARG_IFACE; in parse_ifi_target()
146 target->type = CM_TARG_INVALID; in parse_ifi_target()
147 return -EINVAL; in parse_ifi_target()
[all …]
/Zephyr-latest/doc/security/
Dvulnerabilities.rst14 CVE-2017
17 :cve:`2017-14199`
18 -----------------
22 - `Zephyr project bug tracker ZEPSEC-12
23 <https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-12>`_
25 - `PR6158 fix for 1.11.0
26 <https://github.com/zephyrproject-rtos/zephyr/pull/6158>`_
28 :cve:`2017-14201`
29 -----------------
40 - `Zephyr project bug tracker ZEPSEC-17
[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/samples/drivers/espi/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
186 * 3. Read STATUS2 and check QE bit
190 * Check STATUS1 BUSY, not expected to be set for volatile status write.
191 * Read STATUS2 and check QE
249 return -1; in spi_saf_init()
395 return -1; in spi_saf_init()
423 static int pr_check_range(struct mchp_espi_saf *regs, const struct espi_saf_pr *pr) in pr_check_range() argument
427 limit = pr->start + pr->size - 1U; in pr_check_range()
430 if (regs->SAF_PROT_RG[pr->pr_num].START != (pr->start >> 12)) { in pr_check_range()
431 return -1; in pr_check_range()
[all …]
/Zephyr-latest/doc/services/tfm/
Dtestsuites.rst4 TF-M includes two sets of test suites:
6 * tf-m-tests - Standard TF-M specific regression tests
7 * psa-arch-tests - Test suites for specific PSA APIs (secure storage, etc.)
12 TF-M Regression Tests
18 NS/S boundary via the PSA APIs. They provide a useful sanity check for proper
20 application (TF-M).
27 being followed by the secure application, TF-M being an implementation of
37 your specific board, RTOS (Zephyr here), and PSA implementation (TF-M in this
41 changes to TF-M, such as enabling a new TF-M board target, or making changes
42 to the core TF-M module(s). They should generally be run as a coherence check
[all …]
/Zephyr-latest/doc/project/
Ddev_env_and_tools.rst1 .. _dev-environment-and-tools:
10 is accepted into the code base. Changes, in the form of Pull Requests (PR) are
42 code-owner review. Additionally, some changes might require further discussions
50 :figclass: align-center
55 ---------
57 - An author of a change can suggest in his pull-request which category a change
61 - The project will use the label system to categorize the pull requests.
62 - Changes should not be merged before the minimal time has expired.
65 -----------------
82 Trivial changes are those that appear obvious enough and do not require maintainer or code-owner
[all …]
/Zephyr-latest/scripts/release/
Dlist_backports.py4 # SPDX-License-Identifier: Apache-2.0
8 This script searches for issues referenced via pull-requests in a release
17 script will throw an error if a PR has been made without an associated issue.
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 \
[all …]
/Zephyr-latest/doc/contribute/
Dguidelines.rst6 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
34 this, check out articles such as `Why choose Apache 2.0 licensing`_ and
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
[all …]
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c5 * SPDX-License-Identifier: Apache-2.0
45 #include <wifi_enterprise_test_certs/client-key.pem.inc>
58 #include <wifi_enterprise_test_certs/client-key2.pem.inc>
67 #include <wifi_enterprise_test_certs/server-key.pem.inc>
143 return -1; in cmd_wifi_set_enterprise_creds()
171 PR_WARNING("%s value out of range: %s, (%ld-%ld)\n", in parse_number()
174 PR_WARNING("Value out of range: %s, (%ld-%ld)\n", in parse_number()
186 (const struct wifi_scan_result *)cb->info; in handle_wifi_scan_result()
194 PR("\n%-4s | %-32s %-5s | %-13s | %-4s | %-15s | %-17s | %-8s\n", in handle_wifi_scan_result()
198 strncpy(ssid_print, entry->ssid, sizeof(ssid_print) - 1); in handle_wifi_scan_result()
[all …]
/Zephyr-latest/doc/safety/
Dsafety_requirements.rst10 …route 3s <https://docs.zephyrproject.org/latest/safety/safety_overview.html#general-safety-scope>`_
16 <https://github.com/zephyrproject-rtos/reqmgmt>`__
40 They describe the functionality of the Zephyr RTOS from a very high-level perspective,
48 Software requirements refine the system-level requirements at a more granular level so
61 #. After completing work on the new requirements execute: ``strictDoc manage auto-uid .``
65 The CI in the PR will check if the requirements UIDs are valid or if there are duplicates in it.
66 If there are duplicates in the PR, these need to be resolved by rebasing and re-executing
73 * Non-Functional
87 * Avoid creating large commits that contain both trivial and non-trivial changes.
103 * Implementation-free (abstract)
/Zephyr-latest/drivers/espi/
Despi_taf_npcx.c4 * SPDX-License-Identifier: Apache-2.0
62 (dev)->config)->base)
65 GET_FIELD(inst->FLASHBASE, NPCX_FLASHBASE_FLBASE_ADDR) \
69 GET_FIELD(inst->FLASH_PRTR_BADDR[i], NPCX_FLASH_PRTR_BADDR) \
73 GET_FIELD(inst->FLASH_PRTR_HADDR[i], NPCX_FLASH_PRTR_HADDR) \
83 pckt->taf_type = data_ptr->type; in espi_taf_get_pckt()
84 pckt->length = data_ptr->len; in espi_taf_get_pckt()
85 pckt->taf_tag = data_ptr->tag; in espi_taf_get_pckt()
86 pckt->address = data_ptr->addr; in espi_taf_get_pckt()
87 if ((data_ptr->type == NPCX_ESPI_TAF_REQ_WRITE) || in espi_taf_get_pckt()
[all …]
Despi_saf_mchp_xec.c5 * SPDX-License-Identifier: Apache-2.0
20 /* SAF EC Portal read/write flash access limited to 1-64 bytes */
44 * Delay before first Poll-1 command after suspend in 20 ns units
75 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr()
83 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
85 regs->SAF_CS1_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
93 regs->SAF_CS0_CM_PRF = val; in mchp_saf_cm_prefix_wr()
95 regs->SAF_CS1_CM_PRF = val; in mchp_saf_cm_prefix_wr()
105 return -ETIMEDOUT; in xec_saf_spin_yield()
122 * Each protection region is composed of 4 32-bit registers
[all …]
Despi_saf_mchp_xec_v2.c5 * SPDX-License-Identifier: Apache-2.0
17 #include <zephyr/dt-bindings/interrupt-controller/mchp-xec-ecia.h>
27 /* SAF EC Portal read/write flash access limited to 1-64 bytes */
61 * Delay before first Poll-1 command after suspend in 20 ns units
99 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr()
107 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
109 regs->SAF_CS1_CFG_P2M = val; in mchp_saf_poll2_mask_wr()
117 regs->SAF_CS0_CM_PRF = val; in mchp_saf_cm_prefix_wr()
119 regs->SAF_CS1_CM_PRF = val; in mchp_saf_cm_prefix_wr()
128 * Each protection region is composed of 4 32-bit registers
[all …]
/Zephyr-latest/doc/services/device_mgmt/
Dmcumgr_backporting.rst15 The upstream MCUmgr repository is located `in this page <https://github.com/apache/mynewt-mcumgr>`_.
16 The Zephyr fork used in version 2.7 and earlier is `located here <https://github.com/zephyrproject-
17 …rary that is `part of the Zephyr code base <https://github.com/zephyrproject-rtos/zephyr/tree/main…
27 … done directly to the Zephyr held code of the MCUmgr library, is backported to the ``v2.7-branch``.
28 … ported to the Zephyr held code from the upstream repository, is backported to the ``v2.7-branch``.
30 to the ``v2.7-branch``.
32 directly applied to the ``v2.7-branch``.
53 * The PR for the current version
54 * The SHAs of the commits, if the PR has already been merged
56 You must also apply the ``backport v2.7-branch`` label to the bug report.
[all …]
/Zephyr-latest/include/zephyr/drivers/
Despi_saf.h4 * SPDX-License-Identifier: Apache-2.0
33 *+----------------------------------------------------------------------+
35 *| eSPI host +-------------+ |
36 *| +-----------+ | Power | +----------+ |
38 *| ------------ |processor | | controller | | sources | |
39 *| +-----------+ +-------------+ +----------+ |
41 *| ------------ | | | |
42 *| +--------+ +---------------+ |
44 *| -----+ +--------+ +----------+ +----v-----+ |
47 *| | +--------+ +----------+ +----------+ |
[all …]
/Zephyr-latest/doc/develop/test/
Dbsim.rst78 Check :ref:`the page on coverage generation <coverage_posix>` for more info.
94 .. code-block:: bash
106 .. code-block:: bash
116 Check the ``run_parallel.sh`` help for more options and examples on how to use this script to run
124 .. code-block:: bash
130 .. code-block:: bash
138 ---------
144 -------------
159 ------------
161 Please follow the existing conventions and do not design one-off bespoke runners (e.g. a python
[all …]
/Zephyr-latest/scripts/tests/twister/
Dtest_testsuite.py4 # SPDX-License-Identifier: Apache-2.0
300 Test to check if tests reference the category and subsystem
374 Test to check if the unique name is given
489 ' Please fix the test before PR!')
513 'Please fix the test before PR!')
773 Test to check if the unique name is given
904 '''Test to check if the name without path is given for each testsuite'''
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_stm32.c4 * SPDX-License-Identifier: Apache-2.0
65 * UCPDx_STROBE: UCPDx pull-down configuration strobe:
72 SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD1_STROBE_Msk; in update_stm32g0x_cc_line()
74 SYSCFG->CFGR1 |= SYSCFG_CFGR1_UCPD2_STROBE_Msk; in update_stm32g0x_cc_line()
84 struct tcpc_data *data = dev->data; in ucpd_tx_data_byte()
85 const struct tcpc_config *const config = dev->config; in ucpd_tx_data_byte()
86 int index = data->ucpd_tx_active_buffer->msg_index++; in ucpd_tx_data_byte()
88 LL_UCPD_WriteData(config->ucpd_port, in ucpd_tx_data_byte()
89 data->ucpd_tx_active_buffer->data.msg[index]); in ucpd_tx_data_byte()
97 struct tcpc_data *data = dev->data; in ucpd_rx_data_byte()
[all …]
/Zephyr-latest/soc/microchip/mec/mec15xx/
Dsoc_espi_saf_v1.h4 * SPDX-License-Identifier: Apache-2.0
26 * suspend check delay is in AHB clock(48MHz) periods.
60 /* QMSPI descriptors 12-15 for all SPI flash devices */
64 * QMSPI descriptors 12-13 are exit continuous mode
84 * QMSPI descriptors 14-15 are poll 16-bit flash status
106 /* SAF Pre-fetch optimization mode */
112 * SAF Opcode 32-bit register value.
113 * Each byte contain a SPI flash 8-bit opcode.
117 * op0 = SPI flash write-enable opcode
127 * op0 = SPI flash read 1-4-4 continuous mode opcode
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-1.13.rst16 * Support for IEEE 802.1AS-2011 generalized Precision Time Protocol (gPTP)
23 * Basic support for Arm TrustZone in Armv8-M
40 * arch: arc: refactor the arc stack check support
42 * arch: arm: implement ARMv8-M MPU driver
44 * arch: arm: macro API for defining non-secure entry functions
48 * arch: ARM: Change the march used by cortex-m0 and cortex-m0plus
50 * arch: arm: basic Arm TrustZone-M functionality for Cortex-M23 and Cortex-M33
51 * arch: arm: built-in stack protection using Armv8-M SPLIM registers
52 * arch: arm: API for using TT intrinsics in Secure/Non-Secure Armv8-M firmware
63 * riscv32: riscv-privilege: Microsemi Mi-V support
[all …]

12