/Zephyr-latest/dts/bindings/w1/ |
D | adi,max32-w1.yaml | 1 # Copyright (c) 2023-2024 Analog Devices, Inc. 2 # SPDX-License-Identifier: Apache-2.0 4 description: ADI MAX32xxx MCUs 1-Wire Master 6 include: [w1-master.yaml, pinctrl-device.yaml] 8 compatible: "adi,max32-w1" 20 pinctrl-0: 23 pinctrl-names: 26 internal-pullup: 32 0 - Internal pullup disabled. 33 1 - Internal pullup enabled. [all …]
|
/Zephyr-latest/drivers/cache/ |
D | cache_andes.c | 4 * SPDX-License-Identifier: Apache-2.0 82 unsigned long last_byte, align_addr; in nds_cctl_range_operations() 83 unsigned long status = csr_read(mstatus); in nds_cctl_range_operations() 85 last_byte = (unsigned long)addr + size - 1; in nds_cctl_range_operations() 89 * In memory access privilige U mode, applications should use ucctl CSRs in nds_cctl_range_operations() 111 unsigned long sets, ways, end; in nds_l1i_cache_all() 112 unsigned long status = csr_read(mstatus); in nds_l1i_cache_all() 116 * In memory access privilige U mode, applications can only use in nds_l1i_cache_all() 120 return -ENOTSUP; in nds_l1i_cache_all() 140 unsigned long status = csr_read(mstatus); in nds_l1d_cache_all() [all …]
|
/Zephyr-latest/subsys/net/lib/tls_credentials/ |
D | Kconfig.shell | 2 # SPDX-License-Identifier: Apache-2.0 21 int "Credential output line width (characters)" 24 This setting specifies how long (in characters) contiguous lines of base64 credential 25 output should be. Must be a multiple of 4. Applies only to ??? mode.
|
/Zephyr-latest/arch/x86/core/ |
D | cache.c | 2 * Copyright (c) 2013-2014 Wind River Systems, Inc. 5 * SPDX-License-Identifier: Apache-2.0 21 /* Not Write-through bit */ 33 unsigned long cr0 = 0; in arch_dcache_enable() 35 /* Enable write-back caching by clearing the NW and CD bits */ in arch_dcache_enable() 45 unsigned long cr0 = 0; in arch_dcache_disable() 47 /* Enter the no-fill mode by setting NW=0 and CD=1 */ in arch_dcache_disable() 83 * sys_cache_flush() iterates on the cache lines, a cache line alignment for 86 * The cache line size is specified via the d-cache-line-size DTS property. 95 return -ENOTSUP; in arch_dcache_flush_range() [all …]
|
/Zephyr-latest/boards/nxp/s32z2xxdc2/support/ |
D | startup.cmm | 3 ; SPDX-License-Identifier: Apache-2.0 * 5 ; Lauterbach Trace32 start-up script for S32Z27x / Cortex-R52 * 8 ; - command operation to execute * 11 ; - elfFile filepath of ELF to load * 12 ; - rtu Real-Time Unit (RTU) index * 15 ; - core core index, relative to the RTU * 18 ; - lockstep set to "yes" to start the core in lock-step mode * 19 ; in Lockstep mode: * 20 ; - Core0 and Core2 (redundancy) operate as a lockstep pair * 21 ; - Core1 and Core3 (redundancy) operate as a lockstep pair * [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
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/lib/libc/picolibc/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 46 bool "full support for integer values, including long long, in printf/scanf" 49 Includes full integer with long long, but no floating 53 bool "full support for integer values, other than long long, in printf/scanf" 56 Include full integer other than long long, but no floating point 84 Compiler optimizations will be set to -Os independently of other 90 Compiler optimizations will be set to -O2 independently of other 96 Compiler optimizations will be set to -Og independently of other 102 Compiler optimizations will be set to -O0 independently of other 112 built in space-optimized mode [all …]
|
/Zephyr-latest/doc/hardware/peripherals/sensor/ |
D | fetch_and_get.rst | 1 .. _sensor-fetch-and-get: 6 The stable and long existing APIs for reading sensor data and handling triggers 47 Triggers may not be set from user mode threads, and the callback is not 48 run in a user mode context. 53 the BMI160 driver which has Kconfig options for selecting a trigger mode. 65 * Driver dedicated threads will not have head of line blocking if the driver
|
/Zephyr-latest/include/zephyr/ |
D | irq.h | 4 * SPDX-License-Identifier: Apache-2.0 14 /* Pull in the arch-specific implementations */ 39 * Although this routine is invoked at run-time, all of its arguments must be 42 * @param irq_p IRQ line number. 46 * @param flags_p Architecture-specific IRQ configuration flags.. 56 * @param irq IRQ line number 60 * @param flags Arch-specific IRQ configuration flags 77 * pair from the list of clients using the same interrupt line. If the interrupt 81 * @param irq IRQ line number 85 * @param flags Arch-specific IRQ configuration flags [all …]
|
/Zephyr-latest/soc/nordic/nrf52/ |
D | Kconfig | 1 # Nordic Semiconductor nRF52 MCU line 3 # Copyright (c) 2016-2023 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 42 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>; 69 gpio-as-nreset; 73 bool "The instruction cache (I-Cache)" 87 that anomaly conditions are not met. Delay should be long enough to ensure
|
/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> 23 use Getopt::Long qw(:config no_auto_abbrev); 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/subsys/shell/backends/ |
D | Kconfig.backends | 4 # SPDX-License-Identifier: Apache-2.0 15 DT_CHOSEN_Z_SHELL_UART := zephyr,shell-uart 55 prompt "Mode" 77 bool "Force blocking mode for TX" 79 Force blocking mode for TX. 125 slow and may need to be increased if long messages are pasted directly 145 default-timeout = 100 148 default-size = 512 211 Select index of up-buffer used for shell output, by default it uses 212 terminal up-buffer and its settings. [all …]
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_backend_rtt.c | 4 * SPDX-License-Identifier: Apache-2.0 26 /* Long enough to detect host presence */ 39 #define DROP_MSG_LEN (sizeof(DROP_MSG) - 1) 101 return (int) (pos - data); in data_out_drop_mode() 114 if (line_pos < line_buf + MESSAGE_SIZE - 1) { in char_out_drop_mode() 118 /* not enough space in line buffer, we have to wait for EOL */ in char_out_drop_mode() 124 /* line cannot be empty */ in line_out_drop_mode() 127 /* Handle the case if line contains only '\n' */ in line_out_drop_mode() 128 if (line_pos - line_buf == 1) { in line_out_drop_mode() 132 *(line_pos - 1) = '\r'; in line_out_drop_mode() [all …]
|
/Zephyr-latest/subsys/debug/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 24 module-str = thread analyzer 28 prompt "Thread analysis print mode" 59 The thread analysis takes quite a long time. 65 the interrupts for a long time - long enough to disconnect when 90 on cache-incoherent architectures. 133 recent-ish compiler with the ``-fsanitize=address`` command line option, 136 Note that at exit leak detection is disabled for 64-bit boards when 172 architecture, and requires a recent-ish compiler with the 173 ``-fsanitize=undefined`` command line option. [all …]
|
/Zephyr-latest/subsys/testsuite/ztest/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 43 value. Please be aware that increasing it for long-running test cases 58 0 Write only file and line for failed assertions 59 1 Write file, line number, function and reason for failed assertions 64 default -2 if !PREEMPT_ENABLED 65 default -1 67 Set priority of the testing thread. Default is -1 (cooperative). 87 bool "Using a pre-defined fatal handler and hook function" 89 Use the pre-defined common fatal error handler and a post hook to 95 bool "Using a pre-defined assert handler and hook function" [all …]
|
/Zephyr-latest/include/zephyr/arch/x86/ia32/ |
D | arch.h | 2 * Copyright (c) 2010-2014 Wind River Systems, Inc. 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief IA-32 specific kernel interface header 10 * This header contains the IA-32 specific kernel interface. It is included 78 /** IRQ associated with the ISR/stub, or -1 if this is not 80 * not be -1 83 /** Priority associated with the IRQ. Ignored if vec is not -1 */ 85 /** Vector number associated with ISR/stub, or -1 to assign based 104 * vector, @a v using the descriptor privilege level @a d. On the IA-32 111 * The @a d argument specifies the privilege level for the interrupt-gate [all …]
|
/Zephyr-latest/arch/ |
D | Kconfig | 3 # Copyright (c) 2014-2015 Wind River Systems, Inc. 6 # SPDX-License-Identifier: Apache-2.0 18 # Should be 'select'ed by low-level symbols like SOC_SERIES_* or, lacking that, 37 # is really only necessary for Cortex-M with ARM MPU! 173 symbols above. See the top-level CMakeLists.txt. 180 module-str = arch 186 This option tells the build system that the target system is big-endian. 187 Little-endian architecture is the default and should leave this option 192 line option for gen_isr_tables.py. 195 # Hidden Kconfig option representing the default little-endian architecture [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_sifive.c | 4 * SPDX-License-Identifier: Apache-2.0 38 return -ENOTSUP; in spi_config() 42 return -ENOTSUP; in spi_config() 46 return -ENOTSUP; in spi_config() 50 div = (SPI_CFG(dev)->f_sys / (frequency * 2U)) - 1; in spi_config() 77 return -ENOTSUP; in spi_config() 87 return -ENOTSUP; in spi_config() 89 /* Set single line operation */ in spi_config() 129 struct spi_context *ctx = &SPI_DATA(dev)->ctx; in spi_sifive_xfer() 136 /* As long as frames remain to be sent, attempt to queue them on Tx FIFO. If in spi_sifive_xfer() [all …]
|
/Zephyr-latest/scripts/build/ |
D | uf2conv.py | 3 # SPDX-License-Identifier: MIT 5 # pylint: skip-file 33 w = buf[0:30].decode("utf-8") 36 if w[0] == ':' and re.match(rb"^[:0-9a-fA-F\r\n]+$", buf): 58 # NO-flash flag set; skip block 71 padding = newaddr - curraddr 77 assert False, "Non-word padding size at " + ptr 79 padding -= 4 94 if blockno == (numblocks - 1): 95 print("--- UF2 File Header Info ---") [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_stm32_xspi.c | 4 * SPDX-License-Identifier: Apache-2.0 23 #include <zephyr/dt-bindings/flash_controller/xspi.h> 59 struct flash_stm32_xspi_data *dev_data = dev->data; in xspi_lock_thread() 61 k_sem_take(&dev_data->sem, K_FOREVER); in xspi_lock_thread() 66 struct flash_stm32_xspi_data *dev_data = dev->data; in xspi_unlock_thread() 68 k_sem_give(&dev_data->sem); in xspi_unlock_thread() 73 struct flash_stm32_xspi_data *dev_data = dev->data; in xspi_send_cmd() 76 LOG_DBG("Instruction 0x%x", cmd->Instruction); in xspi_send_cmd() 78 dev_data->cmd_status = 0; in xspi_send_cmd() 80 hal_ret = HAL_XSPI_Command(&dev_data->hxspi, cmd, HAL_XSPI_TIMEOUT_DEFAULT_VALUE); in xspi_send_cmd() [all …]
|
D | flash_stm32_ospi.c | 5 * SPDX-License-Identifier: Apache-2.0 20 #include <zephyr/dt-bindings/flash_controller/ospi.h> 187 struct flash_stm32_ospi_data *dev_data = dev->data; in ospi_lock_thread() 189 k_sem_take(&dev_data->sem, K_FOREVER); in ospi_lock_thread() 194 struct flash_stm32_ospi_data *dev_data = dev->data; in ospi_unlock_thread() 196 k_sem_give(&dev_data->sem); in ospi_unlock_thread() 201 const struct flash_stm32_ospi_config *dev_cfg = dev->config; in ospi_send_cmd() 202 struct flash_stm32_ospi_data *dev_data = dev->data; in ospi_send_cmd() 205 LOG_DBG("Instruction 0x%x", cmd->Instruction); in ospi_send_cmd() 207 dev_data->cmd_status = 0; in ospi_send_cmd() [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/include/zephyr/drivers/ |
D | spi.h | 4 * SPDX-License-Identifier: Apache-2.0 27 #include <zephyr/dt-bindings/spi/spi.h> 39 * @name SPI operational mode 42 #define SPI_OP_MODE_MASTER 0U /**< Master mode. */ 43 #define SPI_OP_MODE_SLAVE BIT(0) /**< Slave mode. */ 47 /** Get SPI operational mode. */ 73 * Whatever data is transmitted is looped-back to the receiving buffer of 81 /** Get SPI polarity and phase mode bits. */ 115 /** Requests - if possible - to keep CS asserted after the transaction */ 128 * the CS control to a gpio line through struct spi_cs_control would be [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-4.1.rst | 69 * RISC-V 114 * :zephyr:board:`Adafruit QT Py ESP32-S3 <adafruit_qt_py_esp32s3>`: ``adafruit_qt_py_esp32s3`` 130 * Space-separated lists support has been removed from Twister configuration 131 files. This feature was deprecated a long time ago. Projects that do still use 140 as well as for ``--sub-test`` command line parameters (:github:`80088`). 141 * The ``--no-detailed-test-id`` command line option also shortens Ztest Test Case names excluding 170 * Added ``frame_incomplete`` handling to SDL display driver (:dtcompatible:`zephyr,sdl-dc`) 172 …* Added transparency support to SDL display driver (:dtcompatible:`zephyr,sdl-dc`) (:github:`81184… 178 …* NXP MCUX FlexSPI: Add support for 4-byte addressing mode of Micron MT25Q flash family (:github:`… 182 * Extracted from :dtcompatible:`lattice,ice40-fpga` the compatible and driver for [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | handlers.py | 4 # Copyright (c) 2018-2022 Intel Corporation 8 # SPDX-License-Identifier: Apache-2.0 39 print("Install pyserial python module with pip to use --device-testing option.") 45 pass # "--device-serial-pty" option is not supported on Windows OS 123 _d_suite = detected_suite_names[-len(expected_suite_names):] 197 self.line = b"" 210 self.line = proc.stdout.readline() 219 this_timeout = timeout_time - time.time() 225 if not reader_t.is_alive() and self.line != b"": 226 line_decoded = self.line.decode('utf-8', "replace") [all …]
|