/Zephyr-latest/.github/workflows/ |
D | do_not_merge.yml | 8 do-not-merge: 10 runs-on: ubuntu-22.04 12 - name: Check for label 15 contains(github.event.*.labels.*.name, 'Architecture Review') || 16 contains(github.event.*.labels.*.name, 'dev-review') }} 18 echo "Pull request is labeled as 'DNM', 'TSC', 'Architecture Review' or 'dev-review'."
|
/Zephyr-latest/doc/contribute/ |
D | contributor_expectations.rst | 1 .. _contributor-expectations: 10 - Reviewed more quickly and reviewed more thoroughly. It's easier for reviewers 11 to set aside a few minutes to review smaller changes several times than it is 12 to allocate large blocks of time to review a large PR. 14 - Less wasted work if reviewers or maintainers reject the direction of the 17 - Easier to rebase and merge. Smaller PRs are less likely to conflict with other 20 - Easier to revert if the PR breaks functionality. 25 Draft PRs have no review expectation and PRs created as drafts from the start 32 - Smaller PRs should encompass one self-contained logical change. 34 - When adding a new large feature or API, the PR should address only one part of [all …]
|
/Zephyr-latest/doc/project/ |
D | dev_env_and_tools.rst | 1 .. _dev-environment-and-tools: 6 Code Review 31 Give reviewers time to review before code merge 36 changes are proposed using pull request, we need to allow for a minimal review 37 time to give developers and contributors the opportunity to review and comment 42 code-owner review. Additionally, some changes might require further discussions 44 the diagram below proposes minimal review times for each category: 50 :figclass: align-center 55 --------- 57 - An author of a change can suggest in his pull-request which category a change [all …]
|
D | index.rst | 27 community members work together to review these Issues and PRs, managing 30 `program management overview <https://wiki.zephyrproject.org/Program-Management>`_. 35 project's :ref:`development processes and tools <dev-environment-and-tools>` 36 and specifics about :ref:`review timelines <review_time>` to learn about the 46 - mainline: The main tree where the core functionality and core features are 48 - subsystem/feature branch: is a branch within the same repository. In our case, 51 - upstream: A parent branch the source code is based on. This is the branch you 53 - LTS: Long Term Support
|
D | modifying_contributions.rst | 13 following the review process. 19 * a developer cherry-picks commits submitted by other contributors into their 37 A developer who intends to cherry-pick and potentially modify patches sent by 40 * clarify in their pull request the reason for cherry-picking the patches, 43 * invite the original author of the patches to their pull request review. 45 A developer who intends to force-push to a branch or pull request of 48 is done to drive the pull request review to completion, when the pull 54 :ref:`development processes and tools <dev-environment-and-tools>` 60 the original sign-off line and author identity, or 62 *own* sign-off line and author identity). In this case, the developer
|
/Zephyr-latest/scripts/utils/ |
D | migrate_sys_init.py | 3 ``int (*init_fn)(const struct device *dev)`` to ``int (*init_fn)(void)``. 6 Review the output carefully! This script may not cover all cases! 11 -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) 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/drivers/clock_control/ |
D | clock_control_renesas_cpg_mssr.c | 2 * Copyright (c) 2020-2022 IoT.bzh 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/clock/renesas_cpg_mssr.h> 63 if (e->module == module) { in cmp_cpg_clk_info_table_items() 65 } else if (e->module < module) { in cmp_cpg_clk_info_table_items() 68 return -1; in cmp_cpg_clk_info_table_items() 73 rcar_cpg_find_clk_info_by_module_id(const struct device *dev, uint32_t domain, uint32_t id) in rcar_cpg_find_clk_info_by_module_id() argument 75 struct rcar_cpg_mssr_data *data = dev->data; in rcar_cpg_find_clk_info_by_module_id() 77 struct cpg_clk_info_table *table = data->clk_info_table[domain]; in rcar_cpg_find_clk_info_by_module_id() 78 uint32_t table_size = data->clk_info_table_size[domain]; in rcar_cpg_find_clk_info_by_module_id() [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_enc424j600.c | 1 /* ENC424J600 Stand-alone Ethernet Controller with SPI 7 * SPDX-License-Identifier: Apache-2.0 27 static void enc424j600_write_sbc(const struct device *dev, uint8_t cmd) in enc424j600_write_sbc() argument 29 const struct enc424j600_config *config = dev->config; in enc424j600_write_sbc() 40 spi_write_dt(&config->spi, &tx); in enc424j600_write_sbc() 43 static void enc424j600_write_sfru(const struct device *dev, uint8_t addr, in enc424j600_write_sfru() argument 46 const struct enc424j600_config *config = dev->config; in enc424j600_write_sfru() 62 spi_write_dt(&config->spi, &tx); in enc424j600_write_sfru() 65 static void enc424j600_read_sfru(const struct device *dev, uint8_t addr, in enc424j600_read_sfru() argument 68 const struct enc424j600_config *config = dev->config; in enc424j600_read_sfru() [all …]
|
D | eth_enc28j60.c | 1 /* ENC28J60 Stand-alone Ethernet Controller with SPI 5 * SPDX-License-Identifier: Apache-2.0 32 static int eth_enc28j60_soft_reset(const struct device *dev) in eth_enc28j60_soft_reset() argument 34 const struct eth_enc28j60_config *config = dev->config; in eth_enc28j60_soft_reset() 45 return spi_write_dt(&config->spi, &tx); in eth_enc28j60_soft_reset() 48 static void eth_enc28j60_set_bank(const struct device *dev, uint16_t reg_addr) in eth_enc28j60_set_bank() argument 50 const struct eth_enc28j60_config *config = dev->config; in eth_enc28j60_set_bank() 72 if (!spi_transceive_dt(&config->spi, &tx, &rx)) { in eth_enc28j60_set_bank() 76 spi_write_dt(&config->spi, &tx); in eth_enc28j60_set_bank() 78 LOG_DBG("%s: Failure while setting bank to 0x%04x", dev->name, reg_addr); in eth_enc28j60_set_bank() [all …]
|
/Zephyr-latest/scripts/ |
D | coccicheck | 2 # SPDX-License-Identifier: GPL-2.0 6 DIR="$(dirname $(readlink -f $0))/.." 9 if [ ! -x "$SPATCH" ]; then 18 ------- 20 -m= , --mode= specify the mode use {report, patch, org, context, chain} 21 -v= , --verbose= enable verbose output {1} 22 -j= , --jobs= number of jobs to use {0 - `nproc`} 23 -c= , --cocci= specify cocci script to use 24 -d= , --debug= specify file to store debug log 25 -f= , --sp-flag= pass additional flag to spatch [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/subsys/fs/ |
D | littlefs_fs.c | 5 * SPDX-License-Identifier: Apache-2.0 44 #define LFS_FILEP(fp) (&((struct lfs_file_data *)(fp->filep))->file) 61 #if (CONFIG_FS_LITTLEFS_FC_HEAP_SIZE - 0) <= 0 63 /* Auto-generate heap size from cache size and number of files */ 93 k_mutex_lock(&fs->mutex, K_FOREVER); in fs_lock() 98 k_mutex_unlock(&fs->mutex); in fs_unlock() 110 return -EIO; in lfs_to_errno() 112 return -EFAULT; in lfs_to_errno() 114 return -ENOENT; in lfs_to_errno() 116 return -EEXIST; in lfs_to_errno() [all …]
|
/Zephyr-latest/boards/ezurio/bl654_dvk/doc/ |
D | bl654_dvk.rst | 7 support for the Ezurio BL654 module powered by a Nordic Semiconductor nRF52840 ARM Cortex-M4F CPU. 12 …ld not be used in commercial applications prior to re-certification being performed - please revie… 20 * :abbr:`I2C (Inter-Integrated Circuit)` 28 * :abbr:`UART (Universal asynchronous receiver-transmitter)` 32 .. figure:: img/455-00001_BoxContents.jpg 34 :alt: 455-00001 Box Contents 36 455-00001 (BL654 DVK integrated antenna) Box Contents 50 +-----------+------------+----------------------+ 53 | ADC | on-chip | adc | 54 +-----------+------------+----------------------+ [all …]
|
/Zephyr-latest/doc/services/logging/ |
D | cs_stm.rst | 3 Multi-domain logging using ARM Coresight STM 6 The Arm CoreSight SoC-400 is a comprehensive library of components for the creation of debug and 8 is integrated into a CoreSight system, designed primarily for high-bandwidth trace of 9 instrumentation embedded into software. This instrumentation is made up of memory-mapped writes to 26 capture the data (e.g. J-Trace PRO). 40 Data from ETR is handled on the device. It can be forwarded as-is to the host (e.g. using UART), 41 where a host tool is decoding the data or data can be decoded on-chip to output the data in human r… 68 * :c:func:`log_frontend_stmesp_tp` - It accepts single argument - index. Index is between 70 * :c:func:`log_frontend_stmesp_tp_d32` - It accepts two arguments - index and user data. 80 * Dictionary-based - assisted mode which is using dictionary-based logging. In this mode logging [all …]
|
/Zephyr-latest/doc/develop/tools/ |
D | coccinelle.rst | 13 tree-wide patches and detection of problematic programming patterns. 22 which are provided by Coccinelle version 1.0.0-rc11 and above. 29 .. rst-class:: rst-columns 49 .. code-block:: console 57 .. code-block:: console 76 ``coccicheck`` checker is the front-end to the Coccinelle infrastructure 80 ``org``. The mode to use is specified by setting ``--mode=<mode>`` or 81 ``-m=<mode>``. 86 file:line:column-column: message 89 diff-like style.Lines of interest are indicated with ``-``. [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.3.rst | 18 with future support for features like 64-bit and absolute timeouts in mind 21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant 24 * The CMSIS-DSP library is now included and integrated 33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String 34 into a fixed-size array. 35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS 37 * CVE-2020-10061: Improper handling of the full-buffer case in the 39 * CVE-2020-10062: Packet length decoding error in MQTT 40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due 42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain [all …]
|
D | release-notes-2.0.rst | 12 * The kernel now supports both 32- and 64-bit architectures. 17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a 20 * We added support for UpdateHub, an end-to-end solution for large scale 21 over-the-air device updates. 22 * We added support for ARM Cortex-R Architecture (Experimental). 32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and 35 negotiation. This allows practical brute-force attacks (aka "KNOB") 42 * New kernel API for per-thread disabling of Floating Point Services for 43 ARC, ARM Cortex-M, and x86 architectures. 45 * Additional support for compatibility with 64-bit architectures. [all …]
|
D | release-notes-2.4.rst | 33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer 34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing 35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core 36 * CVE-2020-10072: all threads can access all socket file descriptors 37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat 38 * CVE-2020-13599: Security problem with settings and littlefs 39 * CVE-2020-13601: Under embargo until 2020/11/18 40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv 50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if [all …]
|