/Zephyr-latest/.github/workflows/ |
D | doc-publish.yml | 3 # SPDX-License-Identifier: Apache-2.0 11 - main 12 - v* 14 - completed 17 doc-publish: 19 runs-on: ubuntu-22.04 23 github.repository == 'zephyrproject-rtos/zephyr' 26 - name: Download artifacts 27 uses: dawidd6/action-download-artifact@v6 29 workflow: doc-build.yml [all …]
|
D | doc-publish-pr.yml | 3 # 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 …]
|
D | issue_count.yml | 5 - cron: '*/10 * * * *' 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 27 sudo apt-get update [all …]
|
D | bug_snapshot.yaml | 2 # SPDX-License-Identifier: Apache-2.0 14 - cron: '5 14 * * *' 19 runs-on: ubuntu-22.04 20 if: github.repository_owner == 'zephyrproject-rtos' 23 - name: Checkout 26 - name: Install Python dependencies 28 pip install -U pygithub 30 - name: Snapshot bugs 34 BUGS_PICKLE_FILENAME="zephyr-bugs-$(date -I).pickle.xz" 37 set -euo pipefail [all …]
|
D | footprint-tracking.yml | 6 - cron: '50 1/12 * * *' 9 - 'VERSION' 10 - '.github/workflows/footprint-tracking.yml' 12 - main 13 - v*-branch 15 # only publish v* tags, do not care about zephyr-v* which point to the 17 - 'v*' 20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 21 cancel-in-progress: true 24 footprint-tracking: [all …]
|
/Zephyr-latest/scripts/checkpatch/ |
D | check_known_checkpatch_issues.sh | 6 # SPDX-License-Identifier: Apache-2.0 12 # usage: check_known_checkpatch_issues.sh [-u] 13 # where: -u updates the known_checkpatch_issues db and commits it 14 # -q is the quiet mode (don't display the diff on stdout) 22 declare quiet=n 25 printf "usage: %s [-u][-q]\n" ${exe_name} >&2 30 exit -1 41 exit -1 47 declare -r optstr="quh" 51 q) quiet=y ;; [all …]
|
/Zephyr-latest/scripts/west_commands/ |
D | sign.py | 3 # SPDX-License-Identifier: Apache-2.0 28 sys.path.insert(0, str(ZEPHYR_SCRIPTS / 'dts' / 'python-devicetree' / 'src')) 32 binaries for chain-loading by a bootloader. 36 west sign -t your_tool -- ARGS_FOR_YOUR_TOOL 40 which sort of ARGS_FOR_YOUR_TOOLS you use, the `--` separator/sentinel may 42 understand POSIX 12.2 Guideline 10, always use `--`. 44 See tool-specific help below for details.''' 48 ------- 53 west sign -t imgtool -- --key YOUR_SIGNING_KEY.pem 56 or you must pass the path to imgtool.py using the -p option. [all …]
|
/Zephyr-latest/cmake/modules/ |
D | git.cmake | 1 # SPDX-License-Identifier: Apache-2.0 5 find_package(Git QUIET) 11 # OUTPUT is set to the output of `git describe --abbrev=12 --always` as run 17 COMMAND ${GIT_EXECUTABLE} describe --abbrev=12 --always
|
D | FindZephyr-sdk.cmake | 1 # SPDX-License-Identifier: Apache-2.0 3 # Copyright (c) 2022-2023, Nordic Semiconductor ASA 5 # FindZephyr-sdk module for supporting module search mode of Zephyr SDK. 7 # It is possible to control the behavior of the Zephyr-SDK package using 9 # The Zephyr-SDK package supports the components: 10 # - LOAD: Load a Zephyr-SDK. This is the default behavior if no COMPONENTS is specified. 15 # It extends the Zephyr-sdk CMake package by providing more flexibility in when 25 # 'Zephyr-sdk_FOUND' 28 # - LIST: Will list all available Zephyr SDKs found in the system but not load 29 # any Sdk. This can be used to fetch available Zephyr-SDKs before doing [all …]
|
D | zephyr_default.cmake | 1 # SPDX-License-Identifier: Apache-2.0 29 QUIET NO_POLICY_SCOPE 40 # Find and execute application-specific build configuration 42 QUIET NO_POLICY_SCOPE 53 # Test and error-out if we are affected by the PyPI CMake 3.22.1 / 3.22.2 bug 55 # It seems only pip-installed builds are affected so we test to see if we are affected 60 "https://gitlab.kitware.com/cmake/cmake/-/issues/23187\n" 61 "https://github.com/scikit-build/cmake-python-distributions/issues/221\n" 105 # Include board specific device-tree flags before parsing.
|
/Zephyr-latest/doc/_extensions/zephyr/ |
D | doxyrunner.py | 6 SPDX-License-Identifier: Apache-2.0 16 - Doxygen build is run before Sphinx reads input files 17 - Doxyfile can be optionally pre-processed so that variables can be inserted 18 - Changes in the Doxygen input files are tracked so that Doxygen build is only 20 - Synchronizes Doxygen XML output so that even if Doxygen is run only changed, 25 - https://github.com/michaeljones/breathe/issues/420 30 - ``doxyrunner_doxygen``: Path to the Doxygen binary. 31 - ``doxyrunner_doxyfile``: Path to Doxyfile. 32 - ``doxyrunner_outdir``: Doxygen build output directory (inserted to 34 - ``doxyrunner_outdir_var``: Variable representing the Doxygen build output [all …]
|
/Zephyr-latest/dts/bindings/dma/ |
D | raspberrypi,pico-dma.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 Use the definitions defined in `zephyr/dt-bindings/dma/rpi-pico-dma-rp2040.h`, 11 or `zephyr/dt-bindings/dma/rpi-pico-dma-rp2350.h` 13 channel-config: A 32bit mask specifying the DMA channel configuration 14 - bit 3: Enable Quiet IRQ 15 - bit 1: Enable Byte Swap 16 - bit 0: Enable High Priority 18 compatible: "raspberrypi,pico-dma" 20 include: [dma-controller.yaml, reset-device.yaml] 29 dma-channels: [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,iis2dlpc-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/iis2dlpc.h> 14 tap-mode = <IIS2DLPC_DT_SINGLE_DOUBLE_TAP>; 15 power-mode = <IIS2DLPC_DT_HP_MODE>; 18 include: sensor-device.yaml 21 drdy-gpios: 22 type: phandle-array 30 drdy-int: 40 configuration at power-up. 42 - 1 # drdy is generated from INT1 [all …]
|
D | st,lis2dw12-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>; 15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>; 16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>; 17 power-mode = <LIS2DW12_DT_HP_MODE>; 18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>; 21 include: sensor-device.yaml 24 irq-gpios: 25 type: phandle-array [all …]
|
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_rename.c | 4 * SPDX-License-Identifier: Apache-2.0 11 static int delete_it(const char *path, int quiet) in delete_it() argument 16 if (res && !quiet) { in delete_it() 68 /* Rename non-existing dir to non-existing dir */ in test_rename_dir() 71 TC_PRINT("Renamed non-existent directory\n"); in test_rename_dir() 76 /* Rename existing dir to non-existing dir */ in test_rename_dir() 121 /* Rename non-existing file to non-existing file */ in test_rename_file() 124 TC_PRINT("Renamed non-existent file\n"); in test_rename_file() 129 /* Rename existing file to non-existing file */ in test_rename_file()
|
/Zephyr-latest/soc/intel/intel_adsp/tools/ |
D | cavstool_client.py | 3 # SPDX-License-Identifier: Apache-2.0 32 log = logging.getLogger("cavs-client") 48 self.sock.sendall(cmd.encode("utf-8")) 50 ack = str(self.sock.recv(MAX_CMD_SZ), "utf-8") 70 values = (fsize, fname.encode('utf-8'), md5_tx.encode('utf-8')) 86 rck = self.sock.recv(MAX_CMD_SZ).decode("utf-8") 90 RET = -1 101 receive_log = str(self.sock.recv(BUF_SIZE), "utf-8").replace('\x00','') 127 ap.add_argument("-q", "--quiet", action="store_true", 129 ap.add_argument("-l", "--log-only", action="store_true", [all …]
|
D | remote-fw-service.py | 3 # SPDX-License-Identifier: Apache-2.0 20 # pylint: disable=duplicate-code 42 log = logging.getLogger("remote-fw") 65 data = self.request.recv(min(BUF_SIZE, fsize - len(total))) 81 md5_tx = md5_tx_b.decode('utf-8') 93 recv_file = recv_file.decode('utf-8') 105 action = cmd.decode("utf-8") 117 self.request.sendall("success".encode('utf-8')) 120 self.request.sendall("failed".encode('utf-8')) 131 action = cmd.decode("utf-8") [all …]
|
/Zephyr-latest/lib/libc/minimal/source/stdlib/ |
D | atoi.c | 1 /* SPDX-License-Identifier: MIT */ 4 * Copyright © 2005-2014 Rich Felker, et al. 26 /* From: http://fossies.org/dox/musl-1.0.5/atoi_8c_source.html */ 40 case '-': in atoi() 43 break; /* artifact to quiet coverity warning */ in atoi() 56 n = 10 * n - (*s++ - '0'); in atoi() 58 return neg ? n : -n; in atoi()
|
/Zephyr-latest/scripts/west_commands/runners/ |
D | native.py | 2 # SPDX-License-Identifier: Apache-2.0 25 self.gdb_cmd = [cfg.gdb] + (['-tui'] if tui else []) 44 parser.add_argument('--tui', default=False, action='store_true', 45 help='if given, GDB uses -tui') 46 parser.add_argument('--gdb-port', default=DEFAULT_GDB_PORT, 50 def do_create(cls, cfg: RunnerConfig, args: argparse.Namespace) -> ZephyrBinaryRunner: 75 cmd = (self.gdb_cmd + ['--quiet', self.cfg.exe_file])
|
/Zephyr-latest/scripts/footprint/ |
D | compare_footprint | 3 # SPDX-License-Identifier: Apache-2.0 44 proc = subprocess.Popen('git rev-parse --is-inside-work-tree', 62 format = logging.Formatter('%(levelname)-8s: %(message)s') 75 parser.add_argument('-b', '--base-commit', default=None, 79 parser.add_argument('-c', '--commit', default=None, 86 proc = subprocess.Popen('git rev-parse %s' % commit, stdout=subprocess.PIPE, 89 commit_id = proc.stdout.read().decode("utf-8").strip() 104 proc = subprocess.Popen('git diff --quiet', stdout=subprocess.PIPE, 109 proc = subprocess.Popen('git reset %s --hard' % commit, 123 cmd = '/bin/bash -c "source ./zephyr-env.sh && twister' [all …]
|
/Zephyr-latest/cmake/sca/eclair/ |
D | sca.cmake | 1 # SPDX-License-Identifier: Apache-2.0 26 set(ECLAIR_PROJECT_NAME "Zephyr-${BOARD}${BOARD_QUALIFIERS}") 67 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-metrics_tab=${ECLAIR_OUTPUT_DIR}/metrics") 70 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-reports_tab=${ECLAIR_OUTPUT_DIR}/reports") 73 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-reports_sarif=${ECLAIR_OUTPUT_DIR}/reports.sarif") 76 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-summary_txt=${ECLAIR_OUTPUT_DIR}/summary_txt") 79 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-summary_doc=${ECLAIR_OUTPUT_DIR}/summary_doc") 82 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-summary_odt=${ECLAIR_OUTPUT_DIR}/summary_odt") 85 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-setq=report_areas,areas") 88 list(APPEND ECLAIR_REPORT_ADDITIONAL_OPTIONS "-setq=report_areas,first_area") [all …]
|
/Zephyr-latest/share/zephyr-package/cmake/ |
D | zephyr_package_search.cmake | 1 # The purpose of this file is to provide search mechanism for locating Zephyr in-work-tree package 14 # `Zephyr_DIR-NOTFOUND` or pointing to the Zephyr package including the 43 # - ZEPHYR_BASE : Use the specified ZEPHYR_BASE directly. 44 # - WORKSPACE_DIR : Search for projects in specified workspace. 45 # - SEARCH_PARENTS : Search parent folder of current source file (application) 46 # to locate in-project-tree Zephyr candidates. 47 # - CHECK_ONLY : Only set PACKAGE_VERSION_COMPATIBLE to false if a better candidate 49 # - VERSION_CHECK : This is the version check stage by CMake find package 50 # - CANDIDATES_PREFERENCE_LIST : List of candidate to be preferred, if installed 72 find_package(Zephyr 0.0.0 EXACT QUIET ${SEARCH_SETTINGS}) [all …]
|
D | ZephyrConfig.cmake | 1 # SPDX-License-Identifier: Apache-2.0 6 # - Use ZEPHYR_BASE environment setting for explicitly set select a zephyr installation 7 # - Support automatic Zephyr installation lookup through the use of find_package(ZEPHYR) 16 # The function `find_package()` supports an optional QUIET argument, and to 29 set(Zephyr_DIR ${ZEPHYR_BASE}/share/zephyr-package/cmake CACHE PATH 61 # The module messages are intentionally higher than STATUS to avoid the -- prefix 132 …means this Zephyr is likely the correct one, but there could be an alternative installed along-side
|
/Zephyr-latest/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc.c | 1 /* ST Microelectronics IIS2DLPC 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 29 * iis2dlpc_set_range - set full scale range for acc 36 struct iis2dlpc_data *iis2dlpc = dev->data; in iis2dlpc_set_range() 37 const struct iis2dlpc_config *cfg = dev->config; in iis2dlpc_set_range() 38 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in iis2dlpc_set_range() 43 if (cfg->pm == IIS2DLPC_CONT_LOW_PWR_12bit) { in iis2dlpc_set_range() 49 iis2dlpc->gain = IIS2DLPC_FS_TO_GAIN(fs, shift_gain); in iis2dlpc_set_range() 56 * iis2dlpc_set_odr - set new sampling frequency 62 const struct iis2dlpc_config *cfg = dev->config; in iis2dlpc_set_odr() [all …]
|
/Zephyr-latest/scripts/west_commands/completion/ |
D | west-completion.zsh | 4 # SPDX-License-Identifier: Apache-2.0 6 # Ensure this works also when being source-ed 9 typeset -A -g _opt_args 12 local -a builtin_cmds=( 25 local -a zephyr_ext_cmds=( 29 'sign[sign a Zephyr binary for bootloader chain-loading]' 34 'zephyr-export[export Zephyr installation as a CMake config package]' 40 local -a all_cmds=(${builtin_cmds} ${zephyr_ext_cmds}) 42 if [[ -v WEST_COMP_CHECK_WORKSPACE ]]; then 44 if [ $? -eq 0 ]; then [all …]
|