Home
last modified time | relevance | path

Searched +full:force +full:- +full:off (Results 1 – 25 of 94) sorted by relevance

1234

/Zephyr-latest/modules/openthread/
DCMakeLists.txt8 set(${ot_config} ON CACHE BOOL "${description}" FORCE)
10 set(${ot_config} OFF CACHE BOOL "${description}" FORCE)
15 set(OT_BUILD_EXECUTABLES OFF CACHE BOOL "Disable OpenThread samples")
16 set(OT_BUILTIN_MBEDTLS_MANAGEMENT OFF CACHE BOOL "Use Zephyr's mbedTLS heap")
18 set(OT_PLATFORM_POWER_CALIBRATION OFF CACHE BOOL "Use Zephyr's power calibration handled by Radio D…
29 FORCE
33 set(OT_FTD ON CACHE BOOL "Enable FTD" FORCE)
34 set(OT_MTD OFF CACHE BOOL "Enable MTD" FORCE)
36 set(OT_FTD OFF CACHE BOOL "Enable FTD" FORCE)
37 set(OT_MTD ON CACHE BOOL "Enable MTD" FORCE)
[all …]
/Zephyr-latest/cmake/modules/
DFindGnuLd.cmake1 # SPDX-License-Identifier: Apache-2.0
12 # Set to 'GNULD_LINKER-NOTFOUND' if ld was not found.
35 "defined. Assuming GNULD_LINKER_IS_BFD as OFF, please set GNULD_LINKER_IS_BFD "
38 set(GNULD_LINKER_IS_BFD OFF)
46 execute_process(COMMAND ${CMAKE_C_COMPILER} --print-prog-name=ld.bfd
52 set(GNULD_LINKER_IS_BFD ON CACHE BOOL "Linker BFD compatibility (compiler reported)" FORCE)
66 set(GNULD_LINKER_IS_BFD ON CACHE BOOL "Linker BFD compatibility (inferred from binary)" FORCE)
69 set(GNULD_LINKER_IS_BFD OFF CACHE BOOL "Linker BFD compatibility (inferred from binary)" FORCE)
74 # Parse the 'ld.bfd --version' output to find the installed version.
77 ${GNULD_LINKER} --version
[all …]
DFindTargetTools.cmake1 # SPDX-License-Identifier: Apache-2.0
7 # +---------------------------------------------------------------+
9 # +---------------------------------------------------------------+
10 # | Target C-compiler | Yes | |
13 # +---------------------------------------------------------------+
19 # Set to 'CMAKE_C_COMPILER-NOTFOUND' if no C compiler was found.
42 # like Linux.cmake or Windows-gcc.cmake. If your target is an embedded
53 # CMAKE_SYSTEM_NAME-compiler-CMAKE_SYSTEM_PROCESSOR.cmake file,
79 set(BUILD_SHARED_LIBS OFF)
84 add_custom_target(compiler-cpp)
[all …]
/Zephyr-latest/drivers/bluetooth/hci/
Dnrf53_support.c4 * SPDX-License-Identifier: Apache-2.0
22 /* Put the Network MCU in Forced-OFF mode. */ in bt_hci_transport_teardown()
24 LOG_DBG("Network MCU placed in Forced-OFF mode"); in bt_hci_transport_teardown()
43 /* Release the Network MCU, 'Release force off signal' */ in bt_hci_transport_setup()
/Zephyr-latest/drivers/ethernet/phy/
Dphy_dm8806_priv.h4 * SPDX-License-Identifier: Apache-2.0
120 /* Port 5 Force Speed control bit */
122 /* Port 5 Force Duplex control bit */
124 /* Port 5 Force Link control bit. Only available in force mode. */
126 /* Port 5 Force Mode Enable control bit. Only available for
145 * 100M link fail - LED off
146 * 100M link ok and no TX/RX activity - LED on
147 * 100M link ok and TX/RX activity - LED blinking
149 * No colision: - LED off
150 * Colision: - LED blinking
[all …]
/Zephyr-latest/samples/drivers/led/xec/
DREADME.rst1 .. zephyr:code-sample:: led-xec
2 :name: Breathing-blinking LED (BBLED)
3 :relevant-api: led_interface
5 Control a BBLED (Breathing-Blinking LED) using Microchip XEC driver.
10 This sample allows to test the Microchip led-xec driver which uses the
11 breathing-blinking LED (BBLED) controllers. The SoC design is fixed
16 - BBLED controller 0 uses GPIO 0156.
17 - BBLED controller 1 uses GPIO 0157.
18 - BBLED controller 2 uses GPIO 0153.
22 - BBLED controller 3 uses GPIO 0035
[all …]
/Zephyr-latest/dts/bindings/espi/
Dmicrochip,xec-espi-saf.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "microchip,xec-espi-saf"
9 include: espi-controller.yaml
34 description: hold off poll after suspend in 20 ns units
38 description: force suspended erase or program to resume in 32KHz periods
Dmicrochip,xec-espi-saf-v2.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "microchip,xec-espi-saf-v2"
9 include: espi-controller.yaml
26 poll-timeout:
30 poll-interval:
34 consec-rd-timeout:
38 sus-chk-delay:
40 description: hold off poll after suspend in 20 ns units
42 sus-rsm-interval:
44 description: force suspended erase or program to resume in 32KHz periods
[all …]
/Zephyr-latest/doc/project/
Dmodifying_contributions.rst19 * 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,
45 A developer who intends to force-push to a branch or pull request of
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
Dcode_flow.rst1 .. _code-flow-and-branches:
14 collab-\*
18 shall be based off the main branch and any changes developed in the collab
23 vx.y-branch
37 possible to initiate in-depth discussions around new additions before
54 - Use the infrastructure and tools provided by the project (GitHub, Git)
55 - All changes to collaboration branches shall come in form of github pull requests.
56 - Force pushing a collaboration branch is only allowed when rebasing against the main branch.
57 - Review changes coming from team members and request review from branch owners
59 - Keep the branch in sync with upstream and update on a regular basis.
[all …]
/Zephyr-latest/lib/posix/options/
Dmmap.c4 * SPDX-License-Identifier: Apache-2.0
31 return -1; in p2z()
49 void *mmap(void *addr, size_t len, int prot, int flags, int fd, off_t off) in mmap() argument
55 if ((len == 0) || (zflags == -1)) { in mmap()
61 /* force behaviour to be in-line with Linux, fd is ignored */ in mmap()
62 fd = -1; in mmap()
66 /* non-anonymous mapping */ in mmap()
68 if (zvfs_ioctl_wrap(fd, ZFD_IOCTL_MMAP, addr, len, prot, flags, off, &virt) < 0) { in mmap()
112 return -1; in munmap()
118 return -1; in munmap()
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dpower_down.S2 * SPDX-License-Identifier: Apache-2.0
22 * Depending on arguments, memories are switched off.
24 * @param A2 - argument for LPSRAM
25 * @param A3 - argument for HPSRAM
26 * @param A4 - send response to ipc
61 /* move some values to registries before switching off whole memory */
70 * registers during the power-down process. By preloading the IPC
78 * 2. Manually force TLB entry to be fetched in power_down (this solution)
110 * Send IPC to host informing of PD completion - Clear BUSY
148 addi temp_reg0, temp_reg0, -1
[all …]
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/
DREADME.rst1 .. zephyr:code-sample:: mesh_badge
3 :relevant-api: monochrome_character_framebuffer bt_mesh bt_gatt bluetooth
12 The app starts off as a regular Bluetooth GATT peripheral application.
23 #. Connect to the device. You'll see a single service - select it
30 wide text. You can force line breaks with a comma.
31 #. Press "Send" - this will trigger pairing since this is a protected
/Zephyr-latest/include/zephyr/sys/
Donoff.h5 * SPDX-License-Identifier: Apache-2.0
20 * @defgroup resource_mgmt_onoff_apis On-Off Service APIs
50 * @brief Value exposed by ONOFF_STATE_MASK when service is off.
73 * transitioning to off.
88 * @brief Signature used to notify an on-off manager that a transition
91 * Functions of this type are passed to service-specific transition
98 * non-negative on success, or a negative error code. If an error is
112 * The start function will be called only from the off state.
119 * @note All transitions functions must be isr-ok.
132 /** @brief On-off service transition functions. */
[all …]
/Zephyr-latest/subsys/bluetooth/controller/coex/
Dcoex_ticker.c4 * SPDX-License-Identifier: Apache-2.0
48 /* start a secondary one-shot ticker after ticks_delay, in time_slot_delay()
57 ticks_delay, /* one-shot delayed timeout */ in time_slot_delay()
75 uint16_t lazy, uint8_t force, in time_slot_callback_work() argument
82 const struct coex_ticker_config *config = dev->config; in time_slot_callback_work()
88 if (gpio_pin_get_dt(&config->grant_spec) == 0) { in time_slot_callback_work()
100 LOG_DBG("COEX Inhibit Off"); in time_slot_callback_work()
105 gpio_pin_interrupt_configure_dt(&config->grant_spec, GPIO_INT_EDGE_TO_INACTIVE); in time_slot_callback_work()
121 uint16_t lazy, uint8_t force, in time_slot_callback_abort() argument
133 const struct coex_ticker_config *cfg = dev->config; in coex_ticker_grant_start()
[all …]
/Zephyr-latest/dts/bindings/tcpc/
Dnuvoton,numaker-tcpc.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton NuMaker USB Type-C port controller
6 compatible: "nuvoton,numaker-tcpc"
8 include: [base.yaml, reset-device.yaml, pinctrl-device.yaml]
23 vconn-overcurrent-event-polarity:
28 - "low-active"
29 - "high-active"
31 vconn-discharge-polarity:
36 - "low-active"
37 - "high-active"
[all …]
/Zephyr-latest/soc/microchip/mec/mec15xx/
Ddevice_power.c5 * SPDX-License-Identifier: Apache-2.0
41 SCB->SCR &= ~(1ul << 2); in soc_lite_sleep_enable()
42 PCR_REGS->SYS_SLP_CTRL = MCHP_PCR_SYS_SLP_LIGHT; in soc_lite_sleep_enable()
46 * Deep sleep: PLL is turned off. Wake is fast. PLL requires
52 SCB->SCR = (1ul << 2); /* Cortex-M4 SLEEPDEEP */ in soc_deep_sleep_enable()
53 PCR_REGS->SYS_SLP_CTRL = MCHP_PCR_SYS_SLP_HEAVY; in soc_deep_sleep_enable()
57 * Clear PCR Sleep control sleep all causing HW to de-assert all peripheral
60 * peripheral state therefore we force HW to de-assert the SLP_EN signals.
64 PCR_REGS->SYS_SLP_CTRL = 0U; in soc_deep_sleep_disable()
65 SCB->SCR &= ~(1ul << 2); /* disable Cortex-M4 SLEEPDEEP */ in soc_deep_sleep_disable()
[all …]
/Zephyr-latest/doc/contribute/
Dguidelines.rst6 As an open-source project, we welcome and encourage the community to submit
24 https://github.com/zephyrproject-rtos/zephyr/blob/main/LICENSE
26 .. _GitHub repo: https://github.com/zephyrproject-rtos/zephyr
38 https://www.zephyrproject.org/faqs/#1571346989065-9216c551-f523
41 https://www.whitesourcesoftware.com/whitesource-blog/top-10-apache-license-questions-answered/
64 See :ref:`external-contributions` for more information about
84 https://www.linuxfoundation.org/blog/copyright-notices-in-open-source-software-projects/
97 later in this document), the developer simply adds a ``Signed-off-by``
104 .. code-block:: none
129 sign-off) is maintained indefinitely and may be redistributed
[all …]
/Zephyr-latest/boards/nxp/s32z2xxdc2/support/
Dstartup.cmm3 ; 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 *
20 ; - Core0 and Core2 (redundancy) operate as a lockstep pair *
21 ; - Core1 and Core3 (redundancy) operate as a lockstep pair *
59 ; select lock-step or split-lock mode (CFG_CORE.SPLT_LCK bit)
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000_regs.h4 * SPDX-License-Identifier: Apache-2.0
7 * https://github.com/Decawave/mynewt-dw1000-core.git
14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved
24 * http://www.apache.org/licenses/LICENSE-2.0
75 /* Frame Filtering Behave as a Co-ordinator */
117 * Receiver Auto-Re-enable.
118 * This bit is used to cause the receiver to re-enable automatically
126 /* System Time Counter (40-bit) */
180 * of non-standard values
203 /* Bit mask to access Transmit buffer index offset 10-bit field */
[all …]
/Zephyr-latest/scripts/
Dzephyr_module.py5 # SPDX-License-Identifier: Apache-2.0
11 Include file is generated for Kconfig using --kconfig-out.
12 A <name>:<path> text file is generated for use with CMake using --cmake-out.
14 Using --twister-out <filename> an argument file for twister script will
57 cmake-ext:
61 kconfig-ext:
65 sysbuild-cmake:
68 sysbuild-kconfig:
71 sysbuild-cmake-ext:
75 sysbuild-kconfig-ext:
[all …]
/Zephyr-latest/drivers/sensor/maxim/max31865/
Dmax31865.c2 * Copyright (c) 2022 HAW Hamburg FTZ-DIWIP
4 * SPDX-License-Identifier: Apache-2.0
10 const struct max31865_config *cfg = dev->config; in max31865_spi_write()
20 return spi_write_dt(&cfg->spi, &tx); in max31865_spi_write()
25 const struct max31865_config *cfg = dev->config; in max31865_spi_read()
37 return spi_transceive_dt(&cfg->spi, &tx, &rx); in max31865_spi_read()
48 struct max31865_data *data = dev->data; in configure_device()
49 uint8_t cmd[] = {data->config_control_bits}; in configure_device()
66 const struct max31865_config *config = dev->config; in set_threshold_values()
68 (config->high_threshold >> 7) & 0x00ff, (config->high_threshold << 1) & 0x00ff, in set_threshold_values()
[all …]
/Zephyr-latest/subsys/debug/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
24 module-str = thread analyzer
65 the interrupts for a long time - long enough to disconnect when
67 Setting this flag will force thread analyzer to use
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.
191 on a per-function basis.
[all …]
/Zephyr-latest/.github/workflows/
Dclang.yaml6 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 …]
/Zephyr-latest/drivers/display/
Ddisplay_renesas_lcdc.c4 * SPDX-License-Identifier: Apache-2.0
85 /* Display ON/OFF GPIO */
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()
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()
164 ret = da1469x_lcdc_timings_configure(config->x_res, config->y_res, in display_smartbond_configure()
[all …]

1234