/Zephyr-latest/dts/bindings/usb/ |
D | snps,dwc2.yaml | 2 # SPDX-License-Identifier: Apache-2.0 22 num-in-eps: 28 num-out-eps: 39 types during driver pre-initialization. 46 types during driver pre-initialization. 53 types during driver pre-initialization.
|
/Zephyr-latest/boards/native/nrf_bsim/common/ |
D | bstests.h | 4 * SPDX-License-Identifier: Apache-2.0 25 * This is also before a possible initialization delay. 26 * Note that this function can be used for test pre-initialization steps 27 * like opening the back-channels. But you should not interact yet with the 33 * initialization may delay the execution of this function vs other devices 34 * tests pre-initialization 59 * device driver initialization function 67 * device driver initialization function
|
/Zephyr-latest/modules/segger/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 10 Indicates that the platform supports SEGGER J-Link RTT. 17 Enable Segger J-Link RTT libraries for platforms that support it. 29 int "Maximum number of up-buffers" 33 int "Maximum number of down-buffers" 45 int "Size of buffer for RTT printf to bulk-send chars via RTT" 49 prompt "Mode for pre-initialized terminal channel (buffer 0)" 70 bool "Use a simple byte-loop instead of standard memcpy" 106 prompt "RTT Initialization mode" 108 RTT initialization function can avoid re-init of Control Block [all …]
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_config.rst | 14 semi-automatic way during the system boot, based on user-supplied 20 .. csv-table:: Kconfig options for network configuration library 26 config library is not used for initialization and the application needs to 56 useful in testing setups where the application can connect to a pre-defined host." 64 useful in testing setups where the application can connect to a pre-defined host." 75 initialization, you can call ``net_config_init()`` manually. The ``flags``
|
/Zephyr-latest/scripts/native_simulator/common/src/ |
D | nsi_tasks.h | 4 * SPDX-License-Identifier: Apache-2.0 37 * * HW_INIT: Will be called during HW models initialization 39 * * PRE_BOOT_3: Will be called after the HW models initialization, right before 57 /* Let's cross-check the macro level is a valid one, so we don't silently drop it */ \ 59 "Using a non pre-defined level, it will be dropped")
|
/Zephyr-latest/arch/mips/core/ |
D | reset.S | 4 * SPDX-License-Identifier: Apache-2.0 17 * Remainder of asm-land initialization code before we can jump into 33 /* Pre-populate all bytes in z_interrupt_stacks with 0xAA */
|
/Zephyr-latest/doc/develop/languages/cpp/ |
D | index.rst | 6 C++ is a general-purpose object-oriented programming language that is based on 40 Do not use C++ for kernel, driver, or system initialization code. 49 * OS-specific C++ standard library classes (e.g. ``std::thread``, 86 the applications that implement their own (non-standard) class library and do 101 pre-built C++ standard library included in the C++ compiler toolchain. 103 To enable C++ standard library, select an applicable toolchain-specific C++ 141 These compatibility issues affect header files dis-proportionally. Not 145 headers organization`_ that is typical in real-world projects. So, header 154 practices" and lessons learned in a Zephyr-specific context. While a lot 155 of the information here is not Zephyr-specific, this section is not a [all …]
|
/Zephyr-latest/include/zephyr/ |
D | init.h | 4 * SPDX-License-Identifier: Apache-2.0 21 * @defgroup sys_init System Initialization 24 * Zephyr offers an infrastructure to call initialization code before `main`. 25 * Such initialization calls can be registered using SYS_INIT() or 26 * SYS_INIT_NAMED() macros. By using a combination of initialization levels and 28 * initialization levels are described, in order, below: 30 * - `EARLY`: Used very early in the boot process, right after entering the C 34 * specific initialization code. 35 * - `PRE_KERNEL_1`: Executed in Kernel's initialization context, which uses 37 * - `PRE_KERNEL_2`: Same as `PRE_KERNEL_1`. [all …]
|
D | device.h | 4 * SPDX-License-Identifier: Apache-2.0 112 * @brief Create a device object and set it up for boot time initialization. 115 * kernel during system initialization. This macro should only be used when the 126 * @param init_fn Pointer to the device's initialization function, which will be 127 * run by the kernel during system initialization. Can be `NULL`. 135 * @param level The device's initialization level (PRE_KERNEL_1, PRE_KERNEL_2 or 137 * @param prio The device's priority within its initialization level. See 157 * Otherwise, the node's full name in `node-name@unit-address` form. 163 * @brief Determine if a devicetree node initialization should be deferred. 167 * @return Boolean stating if node initialization should be deferred. [all …]
|
/Zephyr-latest/soc/native/inf_clock/ |
D | posix_native_task.h | 4 * SPDX-License-Identifier: Apache-2.0 29 * * PRE_BOOT_3: Will be called after the HW models initialization, right before 38 * Note that for the PRE and ON_EXIT levels neither the Zephyr kernel or
|
/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 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" 97 Use the pre-defined common assert fail handler and a post hook to 142 and all the board initialization code and pre-test bootstrap is not counted.
|
/Zephyr-latest/doc/develop/api/ |
D | terminology.rst | 7 allowed calling context (thread, ISR, pre-kernel), the effect of a call 14 :ref:`api_term_no-wait` 17 :ref:`api_term_isr-ok` 20 :ref:`api_term_pre-kernel-ok` 44 ------- 48 a consequence of a higher-priority thread being made ready. Whether the 73 ----------- 76 applications that use only non-preemptible threads, because the kernel 77 will not replace a running cooperative-only thread at a reschedule point 84 its operation. This behavior may be mediated by **no-wait**. [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | Kconfig.cc1200 | 3 # SPDX-License-Identifier: Apache-2.0 21 int "CC1200 initialization priority" 24 Set the initialization priority number. Do not mess with it unless 76 bool "Use TI CC1200 RF pre-sets" 87 bool "IEEE 802.15.4g SUN MR-FSK, 863MHz band, mode #1 - channel page 9, 34 channels, 50Kbps (ETSI)" 89 This is a legacy IEEE 802.15.4g-2012 SUN MR-FSK PHY that does no 90 longer exist in recent standards (IEEE 802.15.4-2015+). 93 bool "IEEE 802.15.4g SUN MR-FSK 920MHz band, mode #1 - channel page 9, 39 channels, 50Kbps (ARIB)" 95 This is a legacy IEEE 802.15.4g-2012 SUN MR-FSK PHY that does no 96 longer exist in recent standards (IEEE 802.15.4-2015+). [all …]
|
/Zephyr-latest/tests/kernel/device/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 57 * Validates device binding for an existing and a non-existing device object. 62 * 1. A non-existing device object. 74 /* Validates device binding for a non-existing device object */ in ZTEST() 111 * @brief Test device binding for non-existing device 113 * Validates binding of a random device driver(non-defined driver) named 138 * lead to system crash in TrustZone enabled Non-Secure builds. in ZTEST_USER() 165 rp->pre_kernel = pre_kernel; in add_init_record() 166 rp->is_pre_kernel = k_is_pre_kernel(); in add_init_record() 167 rp->is_in_isr = k_is_in_isr(); in add_init_record() [all …]
|
/Zephyr-latest/arch/riscv/core/ |
D | reset.S | 2 * Copyright (c) 2016 Jean-Paul Etienne <fractalclone@gmail.com> 5 * SPDX-License-Identifier: Apache-2.0 37 * Remainder of asm-land initialization code before we can jump into 50 * Enable floating-point. 56 * Floating-point rounding mode set to IEEE-754 default, and clear 63 /* Pre-populate all bytes in z_interrupt_stacks with 0xAA */ 98 li t1, -1
|
/Zephyr-latest/drivers/memc/ |
D | memc_stm32_sdram.c | 4 * SPDX-License-Identifier: Apache-2.0 38 const struct memc_stm32_sdram_config *config = dev->config; in memc_stm32_sdram_init() 43 sdram.Instance = config->sdram; in memc_stm32_sdram_init() 45 for (size_t i = 0U; i < config->banks_len; i++) { in memc_stm32_sdram_init() 47 memcpy(&sdram.Init, &config->banks[i].init, sizeof(sdram.Init)); in memc_stm32_sdram_init() 51 (FMC_SDRAM_TimingTypeDef *)&config->banks[i].timing); in memc_stm32_sdram_init() 54 /* SDRAM initialization sequence */ in memc_stm32_sdram_init() 55 if (config->banks_len == 2U) { in memc_stm32_sdram_init() 57 } else if (config->banks[0].init.SDBank == FMC_SDRAM_BANK1) { in memc_stm32_sdram_init() 63 sdram_cmd.AutoRefreshNumber = config->num_auto_refresh; in memc_stm32_sdram_init() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | notify.h | 5 * SPDX-License-Identifier: Apache-2.0 44 * Select notification through a user-provided callback. 62 * implementations to record client-specific information. The bits 85 * pre-kernel, ISR, or cooperative or pre-emptible threads. 86 * Compatible functions must be isr-ok and not sleep. 95 * service-specific, but the value shall be non-negative if the 105 * initialization function (e.g. sys_notify_init_signal()) to 107 * service-specific client structure, such as onoff_client. 126 * client until the callback has been invoked. (Re-use within the 172 * success or failure for spin-wait synchronous operations. [all …]
|
/Zephyr-latest/subsys/net/l2/openthread/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 53 join the Thread network automatically during initialization (using 55 commissioning or pre-commissioned with other Kconfig options, 113 module-dep = NET_LOG 114 module-str = Log level for OpenThread driver 115 module-help = Enables OpenThread driver to output debug messages. 170 bool "mbed TLS built-in" 173 Use the OpenThread mbed TLS configuration pre-defined security scheme. 214 bool "OpenThread Co-Processor" 219 Enable Co-Processor in OpenThread stack. [all …]
|
/Zephyr-latest/doc/kernel/services/threads/ |
D | nothread.rst | 9 * Simple event-driven applications 34 * Non-sleeping delays e.g. :c:func:`k_busy_wait`. 38 * Pre ``main()`` drivers and subsystems initialization e.g. :c:macro:`SYS_INIT`. 84 platform is low-impact. Enhancements to add support to existing 92 drivers. Bus-accessed devices like serial memories may not be 101 drivers. Bus-accessed devices like GPIO extenders may not be supported.
|
/Zephyr-latest/kernel/ |
D | Kconfig | 3 # Copyright (c) 2014-2015 Wind River Systems, Inc. 4 # SPDX-License-Identifier: Apache-2.0 9 module-str = kernel 13 bool "Multi-threading" if ARCH_HAS_SINGLE_THREAD_SUPPORT 35 K_PRIO_COOP(0) to K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1) 39 -CONFIG_NUM_COOP_PRIORITIES to -1 58 to priorities 0 to CONFIG_NUM_PREEMPT_PRIORITIES - 1. 70 int "Priority of initialization/main thread" 71 default -2 if !PREEMPT_ENABLED 74 Priority at which the initialization thread runs, including the start [all …]
|
/Zephyr-latest/arch/xtensa/core/startup/ |
D | reset_vector.S | 3 * SPDX-License-Identifier: Apache-2.0 10 #include <xtensa/xtensa-xer.h> 11 #include <xtensa/xdm-regs.h> 14 #include <xtensa/xtruntime-core-state.h> 42 .size __start, . - __start 57 #warning "Xtensa TX reset vector not at start of iram0, irom0, or uram0 -- ROMing LSPs may not work" 76 * Even if the processor supports the non-PC-relative L32R option, 77 * it will always start up in PC-relative mode. We take advantage of 78 * this, and use PC-relative mode at least until we're sure the .lit4 81 .begin no-absolute-literals [all …]
|
/Zephyr-latest/doc/kernel/drivers/ |
D | index.rst | 18 function pointers to its API functions during driver initialization. These 19 structures are placed into the RAM section in initialization level order. 57 should support an interrupt-based implementation, rather than polling, unless 60 High-level calls accessed through device-specific APIs, such as 75 up for boot-time initialization. 96 The device initialization macros populate some data structures at build time 98 split into read-only and runtime-mutable parts. At a high level we have: 100 .. code-block:: C 109 The ``config`` member is for read-only configuration data set at build time. For 115 per-instance runtime housekeeping. For example, it may contain reference counts, [all …]
|
/Zephyr-latest/soc/nordic/nrf53/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 46 default y if "$(dt_node_int_prop_int,$(VREGMAIN_PATH),regulator-initial-mode)" = 1 47 default y if "$(dt_node_int_prop_int,$(VREGRADIO_PATH),regulator-initial-mode)" = 1 83 bool "Pre-tick workaround for nRF5340 anomaly 165" 89 Indicates that the pre-tick workaround for the anomaly 165 that affects 121 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>; 135 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>; 188 MCU firmware, so when this option is used with the non-secure version of 208 load-capacitors property. 210 Enable the low-frequency oscillator (LFXO) functionality on XL1 and [all …]
|
/Zephyr-latest/arch/nios2/core/ |
D | crt0.S | 4 * SPDX-License-Identifier: Apache-2.0 69 /* Remainder of asm-land initialization code before we can jump into 75 * GH-1821 103 /* Pre-populate all bytes in z_interrupt_stacks with 0xAA 140 * GH-1821
|
/Zephyr-latest/drivers/ethernet/dwc_xgmac/ |
D | eth_dwc_xgmac_priv.h | 7 * SPDX-License-Identifier: Apache-2.0 420 * updated in TX descriptor initialization and consumed by channel initialization. 424 * updated in TX descriptor initialization and consumed by channel initialization. 442 * updated in RX descriptor initialization and consumed by channel initialization 446 * updated in RX descriptor initialization and consumed by channel initialization 467 * the EDMA starts pre-fetching the TxDMA descriptors 471 * the EDMA starts pre-fetching the RxDMA descriptors 492 /* Address-Aligned Beats. When this bit is set to 1, the AXI master performs 493 * address-aligned burst transfers on Read and Write channels 496 /* Enhanced Address Mode Enable: e DMA engine uses either the 40- or 48-bit address, [all …]
|