/Zephyr-latest/boards/native/native_posix/ |
D | tracing.c | 4 * SPDX-License-Identifier: Apache-2.0 66 * -1 = we do not know yet 69 static int is_a_tty[2] = {-1, -1}; 79 is_a_tty[0] = -1; in trace_enable_color() 80 is_a_tty[1] = -1; in trace_enable_color() 97 if (is_a_tty[0] == -1) { in decide_about_color() 100 if (is_a_tty[1] == -1) { in decide_about_color() 118 "color", "color", 'b', in native_add_tracing_options() 120 "(default) Enable color in traces if printing to console"}, in native_add_tracing_options() 122 "no-color", "no-color", 'b', in native_add_tracing_options() [all …]
|
/Zephyr-latest/tests/bsim/ |
D | ci.uart.sh | 3 # SPDX-License-Identifier: Apache-2.0 9 export ZEPHYR_BASE="${ZEPHYR_BASE:-${PWD}}" 12 set -uex 16 ${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \ 17 -p nrf52_bsim -p nrf5340bsim/nrf5340/cpuapp --fixture gpio_loopback \ 18 -- -uart0_loopback -uart1_loopback 21 ${ZEPHYR_BASE}/scripts/twister -T tests/drivers/uart/ --force-color --inline-logs -v -M \ 22 -p nrf54l15bsim/nrf54l15/cpuapp --fixture gpio_loopback \ 23 -- -uart2_loopback
|
/Zephyr-latest/scripts/native_simulator/native/src/ |
D | nsi_trace.c | 5 * SPDX-License-Identifier: Apache-2.0 21 * -1 = we do not know yet 24 static int is_a_tty[2] = {-1, -1}; 31 if (is_a_tty[0] == -1) { in decide_about_color() 34 if (is_a_tty[1] == -1) { in decide_about_color() 44 "\x1b[1;31m", /* ERROR - Foreground color = red, bold */ 45 "\x1b[95m", /* WARNING - Foreground color = magenta */ 46 "\x1b[0;39m", /* TRACE - reset all styles */ 53 if (is_a_tty[ST_ERR] == -1) { in nsi_vprint_warning() 69 if (is_a_tty[ST_ERR] == -1) { in nsi_vprint_error_and_exit() [all …]
|
/Zephyr-latest/modules/lvgl/ |
D | Kconfig.memory | 1 # Copyright (c) 2018-2019 Jan Van Winkel <jan.van_winkel@dxplore.eu> 3 # SPDX-License-Identifier: Apache-2.0 70 bool "Force full refresh mode" 72 Force full refresh of display on update. When combined with 82 Rendering buffer alignment. Depending on chosen color depth,
|
/Zephyr-latest/.github/workflows/ |
D | hello_world_multiplatform.yaml | 6 - main 7 - v*-branch 8 - collab-* 11 - main 12 - v*-branch 13 - collab-* 15 - 'scripts/**' 16 - '.github/workflows/hello_world_multiplatform.yaml' 17 - 'SDK_VERSION' 20 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} [all …]
|
D | clang.yaml | 6 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 7 cancel-in-progress: true 10 clang-build: 11 if: github.repository_owner == 'zephyrproject-rtos' 12 runs-on: 13 group: zephyr-runner-v2-linux-x64-4xlarge 15 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026 16 options: '--entrypoint /bin/bash' 18 fail-fast: false 22 CCACHE_DIR: /node-cache/ccache-zephyr [all …]
|
D | codecov.yaml | 5 - cron: '25 06,18 * * *' 8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 9 cancel-in-progress: true 13 if: github.repository_owner == 'zephyrproject-rtos' 14 runs-on: 15 group: zephyr-runner-v2-linux-x64-4xlarge 17 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026 18 options: '--entrypoint /bin/bash' 20 fail-fast: false 24 - platform: 'mps2/an385' [all …]
|
D | twister.yaml | 6 - main 7 - v*-branch 8 - collab-* 11 - main 12 - v*-branch 13 - collab-* 16 - cron: '0 3 * * 0' 19 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }} 20 cancel-in-progress: true 23 twister-build-prep: [all …]
|
/Zephyr-latest/doc/_static/css/ |
D | custom.css | 2 * Copyright (c) 2019-2020, Juan Linietsky, Ariel Manzur and the Godot community 4 * SPDX-License-Identifier: CC-BY-3.0 12 …--system-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto… 13 …--header-font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, … 30 .rst-content .toctree-wrapper p.caption, 31 .rst-versions { 32 font-family: var(--system-font-family); 42 .rst-content .toctree-wrapper p.caption { 43 /* Use a lighter font for headers (Semi-Bold instead of Bold) */ 44 font-weight: 600; [all …]
|
/Zephyr-latest/drivers/display/ |
D | display_renesas_lcdc.c | 4 * SPDX-License-Identifier: Apache-2.0 91 /* Background default color configuration */ 104 if (atomic_test_and_set_bit(data->pm_policy_state_flag, 0) == 0) { in lcdc_smartbond_pm_policy_state_lock_get() 117 if (atomic_test_and_clear_bit(data->pm_policy_state_flag, 0) == 1) { in lcdc_smartbond_pm_policy_state_lock_put() 124 /* Display pixel to layer color format translation */ 143 const struct display_smartbond_config *config = dev->config; in display_smartbond_configure() 144 struct display_smartbond_data *data = dev->data; in display_smartbond_configure() 154 return -EINVAL; in display_smartbond_configure() 157 da1469x_lcdc_parallel_interface_configure((lcdc_smartbond_mode_cfg *)&config->mode); in display_smartbond_configure() 158 da1469x_lcdc_bgcolor_configure((lcdc_smartbond_bgcolor_cfg *)&config->bgcolor_cfg); in display_smartbond_configure() [all …]
|
/Zephyr-latest/scripts/kconfig/ |
D | menuconfig.py | 3 # Copyright (c) 2018-2019, Nordic Semiconductor ASA and Ulf Magnusson 4 # SPDX-License-Identifier: ISC 10 A curses-based Python 2/3 menuconfig implementation. The interface should feel 19 Ctrl-D/U: Page Down/Page Up 27 character in it in the current menu isn't supported. A jump-to feature for 33 F: Toggle show-help mode, which shows the help text of the currently selected 37 C: Toggle show-name mode, which shows the symbol name before each symbol menu 40 A: Toggle show-all mode, which shows all items, including currently invisible 52 When run in standalone mode, the top-level Kconfig file to load can be passed 53 as a command-line argument. With no argument, it defaults to "Kconfig". [all …]
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_smartbond.c | 4 * SPDX-License-Identifier: Apache-2.0 76 /* Background default color configuration */ 100 struct mipi_dbi_smartbond_data *data = dev->data; in mipi_dbi_smartbond_send_single_frame() 108 k_sem_take(&data->sync_sem, K_FOREVER); in mipi_dbi_smartbond_send_single_frame() 111 LCDC->LCDC_INTERRUPT_REG |= LCDC_LCDC_INTERRUPT_REG_LCDC_VSYNC_IRQ_EN_Msk; in mipi_dbi_smartbond_send_single_frame() 114 LCDC->LCDC_MODE_REG |= LCDC_LCDC_MODE_REG_LCDC_SFRAME_UPD_Msk; in mipi_dbi_smartbond_send_single_frame() 117 k_sem_take(&data->sync_sem, K_FOREVER); in mipi_dbi_smartbond_send_single_frame() 119 if (data->underflow_flag) { in mipi_dbi_smartbond_send_single_frame() 121 data->underflow_flag = false; in mipi_dbi_smartbond_send_single_frame() 128 const struct mipi_dbi_smartbond_config *config = dev->config; in mipi_dbi_smartbond_reset() [all …]
|
/Zephyr-latest/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-latest/scripts/pylib/twister/twisterlib/ |
D | environment.py | 4 # Copyright (c) 2018-2024 Intel Corporation 8 # SPDX-License-Identifier: Apache-2.0 45 def _get_installed_packages() -> Generator[str, None, None]: 63 PYTEST_PLUGIN_INSTALLED = 'pytest-twister-harness' in installed_packages 71 def add_parse_arguments(parser = None) -> argparse.ArgumentParser: 82 $ ./scripts/twister -v \\ 83 --testsuite-root tests/ztest/base \\ 84 --testsuite-root tests/kernel \\ 85 --test tests/ztest/base/testing.ztest.verbose_0 \\ 86 --test tests/kernel/fifo/fifo_api/kernel.fifo [all …]
|
/Zephyr-latest/boards/native/native_sim/doc/ |
D | index.rst | 3 Native simulator - native_sim 63 .. zephyr-app-commands:: 64 :zephyr-app: samples/hello_world 65 :host-os: unix 77 .. code-block:: console 84 You can run it with the ``--help`` command line switch to get a list of 87 .. code-block:: console 89 $ ./build/zephyr/zephyr.exe --help 95 Application tests using the :ref:`ztest framework<test-framework>` will exit after all 118 (e.g., ``-O0``) by setting :kconfig:option:`CONFIG_NO_OPTIMIZATIONS`. [all …]
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_printouts.py | 2 # Copyright (c) 2023-2024 Intel Corporation 4 # SPDX-License-Identifier: Apache-2.0 16 # pylint: disable=no-name-in-module 51 '--no-detailed-test-id', 63 '--no-detailed-test-id', 69 '--no-detailed-test-id', 82 '--no-detailed-test-id', 95 '--detailed-test-id', 107 '--detailed-test-id', 113 '--detailed-test-id', [all …]
|
/Zephyr-latest/doc/services/shell/ |
D | index.rst | 13 This module allows you to create and handle a shell with a user-defined command 15 interaction is required. This module is a Unix-like shell with these features: 22 * Built-in commands: :command:`clear`, :command:`shell`, :command:`colors`, 28 and color printing. 30 * Built-in handler to display help for the commands. 59 * DUMMY - not a physical transport layer. 68 .. code-block:: none 80 `tab completion <tab-feature_>`_, and `history <history-feature_>`_ 86 To configure Shell USB CDC ACM backend, simply add the snippet ``cdc-acm-console`` 89 .. code-block:: console [all …]
|
/Zephyr-latest/scripts/ |
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> 64 my $color = "auto"; 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 [all …]
|
/Zephyr-latest/doc/connectivity/usb/device/ |
D | usb_device.rst | 22 device requests in table 9-3 from the universal serial bus specification 42 See :zephyr:code-sample:`usb-audio-headphones-microphone` and 43 :zephyr:code-sample:`usb-audio-headset` samples for reference. 53 * HCI commands through control endpoint (host-to-device only) 67 See :zephyr:code-sample:`bluetooth_hci_usb` sample for reference. 86 ring buffer is full only if the hw-flow-control property is enabled and 87 called from a non-ISR context. 90 :dtcompatible:`zephyr,cdc-acm-uart`. 104 .. code-block:: devicetree 108 compatible = "zephyr,cdc-acm-uart"; [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.7.rst | 10 This release is the last non-maintenance 3.x release and, as such, will be the next 18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API, 21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017 25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio 29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and 35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr. 39 1588) allows to synchronize time across devices with sub-microsecond accuracy. 52 * 1-Wire 71 :ref:`pinctrl-guide` for more details. 88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8 [all …]
|
/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) 128 - The magic string "<zephyr-base>" can be used to refer to the [all …]
|
/Zephyr-latest/subsys/bluetooth/host/shell/ |
D | bt.c | 11 * SPDX-License-Identifier: Apache-2.0 125 "non-resolvable"; in print_le_addr() 310 switch (data->type) { in data_cb() 314 memcpy(name, data->data, MIN(data->data_len, NAME_LEN - 1)); in data_cb() 321 static void print_data_hex(const uint8_t *data, uint8_t len, enum shell_vt100_color color) in print_data_hex() argument 327 bt_shell_fprintf(color, "0x"); in print_data_hex() 331 for (int16_t i = len - 1; i >= 0; i--) { in print_data_hex() 332 bt_shell_fprintf(color, "%02x", data[i]); in print_data_hex() 356 print_data_hex(&scan_data[idx], scan_data_len - idx, SHELL_WARNING); in print_data_set() 362 bt_shell_fprintf_info("%*sType 0x%02x: ", strlen(scan_response_label), "", data->type); in data_verbose_cb() [all …]
|
/Zephyr-latest/doc/ |
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 80 # sub-directories (in 2 levels) under the output directory of each output format 85 # control the number of sub-directories. [all …]
|