/Zephyr-latest/samples/net/wifi/apsta_mode/ |
D | README.rst | 1 .. zephyr:code-sample:: wifi-ap-sta-mode 2 :name: Wi-Fi AP-STA mode 3 :relevant-api: wifi_mgmt dhcpv4_server 5 Configure a Wi-Fi board to operate as both an Access Point (AP) and a Station (STA). 10 The Wi-Fi AP-STA mode of a Wi-Fi board allows it to function as both 12 This sample demonstrates how to configure and utilize AP-STA mode. 16 1. ``AP mode``: AP mode is configured and enabled. DHCPv4 server is also 18 2. ``STA mode``: Provide the SSID and PSK of you router 20 In this demo, AP-STA mode is enabled using :kconfig:option:`CONFIG_ESP32_WIFI_AP_STA_MODE`. 21 An additional Wi-Fi node is added in the ``.overlay`` file. The ``net_if``. [all …]
|
/Zephyr-latest/soc/atmel/sam/common/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 15 crystal needs to stabilize after power-up. 21 bool "Use external crystal oscillator for main clock" 24 The main clock is being used to drive the PLL, and thus driving the 28 main clock. Note that this adds about a second to boot time, as the 29 crystal needs to stabilize after power-up. 50 the main clock frequency. 64 the main clock frequency. 80 bool "CPU goes to Wait mode instead of Sleep mode" 85 achieve this, make CPU go to Wait mode instead of Sleep mode while [all …]
|
/Zephyr-latest/dts/bindings/comparator/ |
D | nordic,nrf-comp.yaml | 2 # SPDX-License-Identifier: Apache-2.0 13 compatible = "nordic,nrf-comp"; 23 single-ended mode, selecting an internal reference: 27 main-mode = "SE"; 30 sp-mode = "NORMAL"; 31 th-up = <36>; 32 th-down = <30>; 47 in differential mode: 51 main-mode = "DIFF"; 54 sp-mode = "NORMAL"; [all …]
|
/Zephyr-latest/share/sysbuild/images/bootloader/ |
D | Kconfig | 3 # SPDX-License-Identifier: Apache-2.0 34 prompt "Mode of operation" 37 The operating mode of MCUboot (which will also be propagated to the application). 43 slots. In this mode application is not able to DFU its own update to secondary slot and 51 in main application if MCUboot has been built with MCUBOOT_DOWNGRADE_PREVENTION. 57 DT, and application will boot from slot0_partition. In this mode scratch_partition is 60 MCUBOOT_BOOTLOADER_NO_DOWNGRADE should also be selected in main application if MCUboot 67 with it. In this mode it is not possible to revert back to previous version as it is not 69 This mode supports MCUBOOT_BOOTLOADER_NO_DOWNGRADE which means that the overwrite will 76 MCUboot expects slot0_partition and slot1_partition to exist in DT. In this mode MCUboot [all …]
|
/Zephyr-latest/samples/boards/nordic/nrf_sys_event/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 10 int main(void) in main() function 12 printf("request global constant latency mode\n"); in main() 14 printf("failed to request global constant latency mode\n"); in main() 17 printf("constant latency mode enabled\n"); in main() 19 printf("request global constant latency mode again\n"); in main() 21 printf("failed to request global constant latency mode\n"); in main() 25 printf("release global constant latency mode\n"); in main() 26 printf("constant latency mode will remain enabled\n"); in main() 28 printf("failed to release global constant latency mode\n"); in main() [all …]
|
/Zephyr-latest/tests/drivers/build_all/comparator/nrf_comp/ |
D | diff.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 main-mode = "DIFF"; 11 sp-mode = "HIGH";
|
D | se.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 main-mode = "SE"; 11 sp-mode = "HIGH"; 12 th-up = <36>; 13 th-down = <28>;
|
D | se_aref.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 main-mode = "SE"; 12 sp-mode = "HIGH"; 13 th-up = <36>; 14 th-down = <28>;
|
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/snippets/nrf_comp/boards/ |
D | nrf5340dk_nrf5340_cpuapp.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 main-mode = "SE"; 11 sp-mode = "HIGH"; 12 th-up = <34>; 13 th-down = <30>;
|
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 main-mode = "SE"; 11 sp-mode = "HIGH"; 12 th-up = <63>; 13 th-down = <59>;
|
D | nrf54l15dk_nrf54l15_cpuapp.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 main-mode = "SE"; 11 sp-mode = "HIGH"; 12 th-up = <63>; 13 th-down = <59>;
|
/Zephyr-latest/soc/atmel/sam/sam3x/ |
D | soc.c | 2 * Copyright (c) 2013-2015 Wind River Systems, Inc. 5 * Copyright (c) 2023-2024 Gerson Fernando Budke <nandojve@gmail.com> 7 * SPDX-License-Identifier: Apache-2.0 14 * This module provides routines to initialize and support board-level hardware 25 * Setup Slow, Main, PLLA, Processor and Master clocks during the device boot. 30 /* Switch the main clock to the internal OSC with 12MHz */ in clock_init() 33 /* Switch MCK (Master Clock) to the main clock */ in clock_init() 36 EFC0->EEFC_FMR = EEFC_FMR_FWS(0); in clock_init() 37 EFC1->EEFC_FMR = EEFC_FMR_FWS(0); in clock_init() 47 * Setup main external crystal oscillator. in clock_init() [all …]
|
/Zephyr-latest/samples/drivers/crypto/ |
D | README.rst | 1 .. zephyr:code-sample:: crypto 3 :relevant-api: crypto 17 .. zephyr-app-commands:: 18 :zephyr-app: samples/drivers/crypto 19 :host-os: unix 27 .. code-block:: console 29 [general] [INF] main: Encryption Sample 31 [general] [INF] cbc_mode: CBC Mode 33 [general] [INF] cbc_mode: cbc mode ENCRYPT - Match 35 [general] [INF] cbc_mode: cbc mode DECRYPT - Match [all …]
|
/Zephyr-latest/tests/lib/cpp/cxx/ |
D | testcase.yaml | 5 - mps2/an385 6 - qemu_cortex_a53 9 cpp.main.minimal: 11 - CONFIG_MINIMAL_LIBC=y 12 cpp.main.newlib: 16 - CONFIG_NEWLIB_LIBC=y 17 cpp.main.newlib_nano: 21 - CONFIG_NEWLIB_LIBC=y 22 - CONFIG_NEWLIB_LIBC_NANO=y 23 cpp.main.picolibc: [all …]
|
/Zephyr-latest/tests/cmake/zephyr_get/ |
D | CMakeLists.txt | 1 # SPDX-License-Identifier: Apache-2.0 6 # Script mode initialization (re-run) 11 # Project mode initialization (main CMake invocation) 24 # - run_suite(<test-1> [<test-2> ...]) 38 set(mode FATAL_ERROR) variable 40 set(mode WARNING) variable 42 message(${mode} "$CACHE{ASSERT_FAIL_COUNT} assertion(s) failed") 47 # - assert_equal(<variable> <expected-value>) 49 # - assert_equal(<variable> 50 # IMAGE <image-1> <expected-value-for-image-1> [all …]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/resources/ |
D | fifo_mock.py | 3 # SPDX-License-Identifier: Apache-2.0 16 def __init__(self, filename, mode): argument 18 self.mode = mode 31 self.file = open(self.filename, self.mode, buffering=0) 60 def main(): function 72 wf.write(f'{line}\n'.encode('utf-8')) 78 sys.exit(main())
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a2/doc/ |
D | index.rst | 1 .. _x-nucleo-iks01a2: 3 X-NUCLEO-IKS01A2: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS01A2 is a motion MEMS and environmental sensor expansion board 14 The X-NUCLEO-IKS01A2 interfaces with the STM32 microcontroller via the I2C pin, 17 .. image:: img/x-nucleo-iks01a2.jpg 19 :alt: X-NUCLEO-IKS01A2 22 `X-NUCLEO-IKS01A2 website`_. 27 X-NUCLEO-IKS01A2 provides the following key features: 30 - LSM6DSL MEMS 3D accelerometer (±2/±4/±8/±16 g) and 32 - LM303AGR MEMS 3D accelerometer (±2/±4/±8/±16 g) and [all …]
|
/Zephyr-latest/soc/atmel/sam/sam4e/ |
D | soc.c | 2 * Copyright (c) 2013-2015 Wind River Systems, Inc. 5 * Copyright (c) 2019-2024 Gerson Fernando Budke <nandojve@gmail.com> 8 * SPDX-License-Identifier: Apache-2.0 15 * This module provides routines to initialize and support board-level hardware 28 * Setup Slow, Main, PLLA, Processor and Master clocks during the device boot. 33 /* Switch the main clock to the internal OSC with 12MHz */ in clock_init() 36 /* Switch MCK (Master Clock) to the main clock */ in clock_init() 39 EFC->EEFC_FMR = EEFC_FMR_FWS(0); in clock_init() 49 * Setup main external crystal oscillator. in clock_init() 68 EFC->EEFC_FMR = EEFC_FMR_FWS(5); in clock_init() [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/doc/ |
D | index.rst | 1 .. _x-nucleo-iks02a1: 3 X-NUCLEO-IKS02A1: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS02A1 is a motion MEMS expansion board for the STM32 Nucleo, 11 is designed around the ISM330DHCX 3-axis accelerometer and 3-axis gyroscope, 12 the IIS2MDC 3-axis magnetometer, the IIS2DLPC 3-axis accelerometer and 15 The X-NUCLEO-IKS02A1 interfaces with the STM32 microcontroller via the I2C pin, 18 .. image:: img/x-nucleo-iks02a1.jpg 20 :alt: X-NUCLEO-IKS02A1 23 `X-NUCLEO-IKS02A1 website`_. 28 X-NUCLEO-IKS02A1 provides the following key features: [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks01a3/doc/ |
D | index.rst | 1 .. _x-nucleo-iks01a3: 3 X-NUCLEO-IKS01A3: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS01A3 is a motion MEMS and environmental sensor expansion board 11 3-axis magnetometer, the LIS2DW12 3-axis accelerometer, the HTS221 humidity and 14 The X-NUCLEO-IKS01A3 interfaces with the STM32 microcontroller via the I2C pin, 17 .. image:: img/x-nucleo-iks01a3.jpg 19 :alt: X-NUCLEO-IKS01A3 22 `X-NUCLEO-IKS01A3 website`_. 27 X-NUCLEO-IKS01A3 provides the following key features: 29 - LSM6DO MEMS 3D accelerometer (±2/±4/±8/±16 g) and [all …]
|
/Zephyr-latest/soc/atmel/sam/sam4s/ |
D | soc.c | 2 * Copyright (c) 2013-2015 Wind River Systems, Inc. 6 * Copyright (c) 2023-2024 Gerson Fernando Budke <nandojve@gmail.com> 8 * SPDX-License-Identifier: Apache-2.0 15 * This module provides routines to initialize and support board-level hardware 28 * Setup Slow, Main, PLLA, Processor and Master clocks during the device boot. 33 /* Switch the main clock to the internal OSC with 12MHz */ in clock_init() 36 /* Switch MCK (Master Clock) to the main clock */ in clock_init() 39 EFC0->EEFC_FMR = EEFC_FMR_FWS(0); in clock_init() 41 EFC1->EEFC_FMR = EEFC_FMR_FWS(0); in clock_init() 52 * Setup main external crystal oscillator. in clock_init() [all …]
|
/Zephyr-latest/boards/shields/x_nucleo_iks4a1/doc/ |
D | index.rst | 1 .. _x-nucleo-iks4a1: 3 X-NUCLEO-IKS4A1: MEMS Inertial and Environmental Multi sensor shield 8 The X-NUCLEO-IKS4A1 is a motion MEMS and environmental sensor expansion board 14 .. image:: img/x-nucleo-iks4a1.jpg 16 :alt: X-NUCLEO-IKS4A1 19 `X-NUCLEO-IKS4A1 website`_. 24 X-NUCLEO-IKS4A1 provides the following key features: 26 - LSM6DSO16IS: MEMS 3D accelerometer (±2/±4/±8/±16 g) + 3D gyroscope 28 - LIS2MDL: MEMS 3D magnetometer (±50 gauss) 29 - LIS2DUXS12: Ultra low-power MEMS 3D accelerometer (±2/±4/±8/±16 g) with [all …]
|
/Zephyr-latest/soc/atmel/sam/same70/ |
D | soc.c | 3 * Copyright (c) 2023-2024 Gerson Fernando Budke <nandojve@gmail.com> 4 * SPDX-License-Identifier: Apache-2.0 10 * This file provides routines to initialize and support board-level hardware 31 * Setup Slow, Main, PLLA, Processor and Master clocks during the device boot. 36 /* Switch the main clock to the internal OSC with 12MHz */ in clock_init() 39 /* Switch MCK (Master Clock) to the main clock */ in clock_init() 42 EFC->EEFC_FMR = EEFC_FMR_FWS(0) | EEFC_FMR_CLOE; in clock_init() 53 * Setup main external crystal oscillator. in clock_init() 70 EFC->EEFC_FMR = EEFC_FMR_FWS(5) | EEFC_FMR_CLOE; in clock_init() 77 * PLL clock = Main * (MULA + 1) / DIVA in clock_init() [all …]
|
/Zephyr-latest/soc/atmel/sam/samv71/ |
D | soc.c | 3 * Copyright (c) 2019-2023 Gerson Fernando Budke <nandojve@gmail.com> 4 * SPDX-License-Identifier: Apache-2.0 10 * This file provides routines to initialize and support board-level hardware 29 * Setup Slow, Main, PLLA, Processor and Master clocks during the device boot. 34 /* Switch the main clock to the internal OSC with 12MHz */ in clock_init() 37 /* Switch MCK (Master Clock) to the main clock */ in clock_init() 40 EFC->EEFC_FMR = EEFC_FMR_FWS(0) | EEFC_FMR_CLOE; in clock_init() 51 * Setup main external crystal oscillator. in clock_init() 68 EFC->EEFC_FMR = EEFC_FMR_FWS(5) | EEFC_FMR_CLOE; in clock_init() 75 * PLL clock = Main * (MULA + 1) / DIVA in clock_init() [all …]
|
/Zephyr-latest/samples/userspace/hello_world_user/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 21 k_is_user_context() ? "UserSpace!" : "privileged mode.", in user_function() 23 __ASSERT(k_is_user_context(), "User mode execution was expected"); in user_function() 27 int main(void) in main() function 31 -1, K_USER, K_MSEC(0)); in main()
|