Home
last modified time | relevance | path

Searched +full:run +full:- +full:in +full:- +full:wait (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/Zephyr-latest/samples/modules/tflite-micro/magic_wand/renode/
Dlitex-vexriscv-tflite.robot2 # SPDX-License-Identifier: Apache-2.0
5 Suite Setup Run Keywords
13 Wait For Ring
14 Wait For Line On Uart RING:
15 # Passing whitespaces in arguments is a bit tricky.
16 # Here we wait for the following pattern:
24 Wait For Line On Uart ${SPACE*10}*
25 Wait For Line On Uart ${SPACE*7}*${SPACE*5}*
26 Wait For Line On Uart ${SPACE*5}*${SPACE*9}*
27 Wait For Line On Uart ${SPACE*4}*${SPACE*11}*
[all …]
/Zephyr-latest/include/zephyr/mgmt/hawkbit/
Dautohandler.h4 * SPDX-License-Identifier: Apache-2.0
28 * in pre-determined time intervals.
35 * @brief Wait for the autohandler to finish.
37 * @param events Set of desired events on which to wait. Set to ::UINT32_MAX to wait for the
38 * autohandler to finish one run, or BIT() together with a value from
39 * ::hawkbit_response to wait for a specific event.
48 * @brief Cancel the run of the hawkBit autohandler.
55 * @brief Set the delay for the next run of the autohandler.
57 * @details This function will only delay the next run of the autohandler. The delay will not
/Zephyr-latest/dts/bindings/pwm/
Dnxp,imx-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,imx-pwm"
8 include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
19 run-in-wait:
22 Enable for PWM to keep running in WAIT mode.
24 run-in-debug:
27 Enable for PWM to keep running in debug mode.
39 - "immediate"
40 - "half-cycle"
41 - "full-cycle"
[all …]
/Zephyr-latest/soc/st/stm32/stm32wb0x/
Dsoc.c4 * SPDX-License-Identifier: Apache-2.0
63 "smps-bom must be specified");
95 /* Wait for SMPS to turn off */ in configure_smps()
101 /* Configure low-power mode */ in configure_smps()
108 /* Wait for SMPS to turn on */ in configure_smps()
111 /* Place SMPS in PRECHARGE (BYPASS) mode. in configure_smps()
117 /* Wait for SMPS to enter PRECHARGE mode */ in configure_smps()
123 * SMPS should remain in PRECHARGE mode. in configure_smps()
125 * limit specified in Device Tree, though this in configure_smps()
132 * SMPS mode requested is RUN mode. Configure the output in configure_smps()
[all …]
/Zephyr-latest/tests/kernel/mem_slab/mslab/src/
Dmain.c2 * Copyright (c) 2012-2014 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
34 /* Number of memory blocks. The minimum number of blocks needed to run the
64 /* Wait for part 1 to complete */ in helper_thread()
69 TC_PRINT("(2) - Allocate %d blocks in <%s>\n", NUMBLOCKS, __func__); in helper_thread()
75 /* Wait for part 3 to complete */ in helper_thread()
84 TC_PRINT("(4) - Free a block in <%s> to unblock the other task " in helper_thread()
131 /* Verify number of used blocks in the map */ in test_slab_get_all_blocks()
141 * Verify number of used blocks in the map - expect all blocks are in test_slab_get_all_blocks()
148 zassert_equal(k_mem_slab_alloc(&map_lgblks, &errptr, K_NO_WAIT), -ENOMEM, in test_slab_get_all_blocks()
[all …]
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v1/src/
Dsignal.c4 * SPDX-License-Identifier: Apache-2.0
22 #define SIGNAL_ALL_FLAGS ((1 << osFeature_Signals) - 1)
23 #define SIGNAL_OUTOFLIMIT_FLAG ((1 << (osFeature_Signals + 1))-1)
80 /* Let id1 run to trigger SIGNAL1 */ in ZTEST()
83 /* wait for SIGNAL1. It should return immediately as it is in ZTEST()
101 /* Let id1 run to trigger SIGNAL1 */ in ZTEST()
107 /* wait for SIGNAL1. It should timeout here as the signal in ZTEST()
108 * though triggered, gets cleared in the previous step. in ZTEST()
127 /* wait for multiple signals */ in ZTEST()
130 "wait signal returned unexpected error"); in ZTEST()
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstwist.sh2 # Copyright (c) 2022-2024 Intel Corporation
3 # SPDX-License-Identifier: Apache-2.0
4 set -e
6 # Twister integration tool for a remote ssh-accessible cAVS audio DSP
8 # hook for both --device-serial-pty and --west-flash, for example:
15 # twister -p intel_adsp/cavs25 --device-testing \
16 # --device-serial-pty=$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstwist.sh \
17 # --west-flash=$ZEPHYR_BASE/soc/intel/intel_adsp/tools/cavstwist.sh
19 # The CAVS_OLD_FLASHER is necessary because now the client-server-based
21 # the misc-flasher as the runner. Please remember to do the command
[all …]
/Zephyr-latest/samples/net/sockets/http_client/
DREADME.rst1 .. zephyr:code-sample:: sockets-http-client
3 :relevant-api: bsd_sockets http_client tls_credentials secure_sockets_options
11 or HTTPS request and wait for the response from the HTTP server.
19 - :ref:`networking_with_host`
25 running it inside QEMU as described in :ref:`networking_with_qemu`.
27 Build the http-client sample application like this:
29 .. zephyr-app-commands::
30 :zephyr-app: samples/net/sockets/http_client
39 Enable TLS support in the sample by building the project with the
40 ``overlay-tls.conf`` overlay file enabled using these commands:
[all …]
/Zephyr-latest/samples/net/sockets/websocket_client/
DREADME.rst1 .. zephyr:code-sample:: sockets-websocket-client
3 :relevant-api: bsd_sockets websocket
11 or HTTPS handshake request to HTTP server, then start to send data and wait for
20 - :ref:`networking_with_host`
26 running it inside QEMU as described in :ref:`networking_with_qemu`.
28 Build websocket-client sample application like this:
30 .. zephyr-app-commands::
31 :zephyr-app: samples/net/sockets/websocket_client
40 Enable TLS support in the sample by building the project with the
41 ``overlay-tls.conf`` overlay file enabled using these commands:
[all …]
/Zephyr-latest/soc/atmel/sam/common/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
15 crystal needs to stabilize after power-up.
29 crystal needs to stabilize after power-up.
49 With default of MULA == N, and DIVA == 1 the PLL will run at N+1 times
63 With default of MULA == N, and DIVA == 1 the PLL will run at N+1 times
80 bool "CPU goes to Wait mode instead of Sleep mode"
84 For JTAG debugging CPU clock (HCLK) should not stop. In order to
85 achieve this, make CPU go to Wait mode instead of Sleep mode while
91 At reset ERASE pin is configured in System IO mode. Asserting the
/Zephyr-latest/tests/bsim/bluetooth/host/misc/sample_test/test_scripts/
Drun.sh3 # SPDX-License-Identifier: Apache-2.0
5 set -eu
15 # will run all the test scripts in parallel. If multiple simulations share the
16 # same ID, they will step on each other's toes in unpredictable ways.
28 # option), something very wrong can still happen and this additional time-out
31 # It measures wall-clock time, not simulated time. E.g. a test that simulates 5
34 # The default is set in `sh_common.source`.
36 # - Do not set it to a value lower or equal to the default.
37 # - If the test takes over 5 seconds of runtime, set `EXECUTE_TIMEOUT` to at
38 # least 5 times the run-time on your machine.
[all …]
/Zephyr-latest/dts/arm/nxp/
Dnxp_lpc55S3x_common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <arm/armv8-m.dtsi>
8 #include <zephyr/dt-bindings/adc/adc.h>
9 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
11 #include <zephyr/dt-bindings/i2c/i2c.h>
12 #include <zephyr/dt-bindings/inputmux/inputmux_trigger_ports.h>
14 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h>
18 #address-cells = <1>;
19 #size-cells = <0>;
[all …]
Dnxp_mcxa156.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <arm/armv8-m.dtsi>
9 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h>
10 #include <zephyr/dt-bindings/gpio/gpio.h>
11 #include <zephyr/dt-bindings/i2c/i2c.h>
15 #address-cells = <1>;
16 #size-cells = <0>;
19 compatible = "arm,cortex-m33f";
21 #address-cells = <1>;
22 #size-cells = <1>;
[all …]
/Zephyr-latest/soc/atmel/sam0/common/
Dsoc_saml2x.c5 * SPDX-License-Identifier: Apache-2.0
19 /* the SAML21 currently operates only in Performance Level 2... sleep
20 * and low-power operation are not currently supported by the BSP
22 * the CPU clock will be configured to 48 MHz, and run via DFLL48M.
24 * Reference -> GCLK Gen 1 -> DFLL48M -> GCLK Gen 0 -> GCLK_MAIN
26 * GCLK Gen 0 -> GCLK_MAIN @ 48 Mhz
27 * GCLK Gen 1 -> DFLL48M (variable)
28 * GCLK Gen 2 -> USB @ 48 MHz
29 * GCLK Gen 3 -> ADC @ 24 MHz (further /2 in the ADC peripheral)
35 * run from it. to permit initialization, the CPU is temporarily in gclk_reset()
[all …]
/Zephyr-latest/boards/native/doc/
Darch_soc.rst14 The native simulator in combination with the POSIX architecture and the inf_clock SOC layer,
22 Zephyr application, eliminating the need for architecture-specific
23 target hardware in the early phases of development.
39 a HW agnostic test platform which in some cases utilizes the host OS
52 This port is designed and tested to run in Linux.
56 You must have the 32-bit C library installed in your system
57 (in Ubuntu 16.04 install the gcc-multilib package)
66 The 32 bit version of this port does not directly work in the old Windows Subsystem
67 for Linux (WSL1) because WSL1 does not support native 32-bit binaries.
72 <https://github.com/microsoft/WSL/issues/2468#issuecomment-374904520>`_ it
[all …]
/Zephyr-latest/drivers/timer/
Dite_it8xxx2_timer.c3 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
19 #define COUNT_1US (EC_FREQ / USEC_PER_SEC - 1)
31 /* Busy wait low timer configurations */
36 /* Busy wait high timer configurations */
40 /* Busy wait high timer max count is 71.58min (base on clock source 1MHz) */
65 * NOTE: Event and free run timer individually select the same clock source
135 timer2_reg->ET2PSR = EXT_PSR_32P768K; in timer_5ms_one_shot()
142 timer2_reg->ET2CNTLH2R = (uint8_t)((hw_cnt >> 16) & 0xff); in timer_5ms_one_shot()
143 timer2_reg->ET2CNTLHR = (uint8_t)((hw_cnt >> 8) & 0xff); in timer_5ms_one_shot()
[all …]
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dthread_flags.c4 * SPDX-License-Identifier: Apache-2.0
25 /* wait for FLAG1. It should return immediately as it is in thread1()
31 /* Since the flags are not cleared automatically in the previous step, in thread1()
42 /* wait for FLAG1. It should timeout here as the flag in thread1()
43 * though triggered, gets cleared in the previous step. in thread1()
67 /* cannot wait for Flag mask with MSB set */ in thread2()
100 /* Let id1 run to do the tests for Thread Flags */ in ZTEST()
115 /* Let id run to do the tests for Thread Flags */ in ZTEST()
133 /* Make sure we're in IRQ context */ in offload_function()
134 zassert_true(k_is_in_isr(), "Not in IRQ context!"); in offload_function()
[all …]
/Zephyr-latest/drivers/entropy/
Dentropy_bt_hci.c5 * SPDX-License-Identifier: Apache-2.0
23 /* Do not wait for BT to be ready (i.e. bt_is_ready()) before issueing in entropy_bt_get_entropy()
28 * On the other hand, in devices like the nrf5340, the crytographically in entropy_bt_get_entropy()
30 * to get random data. Again, there is no need to wait for BT to be in entropy_bt_get_entropy()
39 /* HCI commands cannot be run from an interrupt context */
/Zephyr-latest/tests/kernel/smp_abort/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
24 volatile bool *wait; member
36 *(var->sync) = true; /* Flag that ISR is in progress */ in isr()
38 while (*(var->wait) == false) { /* Wait upon dependent CPU */ in isr()
41 k_thread_abort(var->target); /* Abort thread on another CPU */ in isr()
64 * Each thread will run on its own CPU and invoke an ISR. in ZTEST()
65 * Each ISR will wait until the next thread enters its ISR in ZTEST()
73 isr_args[i].wait = &sync[(i + 1) % NUM_THREADS]; in ZTEST()
82 priority - 1, 0, K_NO_WAIT); in ZTEST()
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_pe_snk_states.c4 * SPDX-License-Identifier: Apache-2.0
23 struct usbc_port_data *data = dev->data; in pe_snk_init()
24 struct policy_engine *pe = data->pe; in pe_snk_init()
30 usbc_timer_init(&pe->pd_t_typec_sink_wait_cap, PD_T_TYPEC_SINK_WAIT_CAP_MAX_MS); in pe_snk_init()
31 usbc_timer_init(&pe->pd_t_ps_transition, PD_T_SPR_PS_TRANSITION_NOM_MS); in pe_snk_init()
32 usbc_timer_init(&pe->pd_t_wait_to_resend, PD_T_SINK_REQUEST_MIN_MS); in pe_snk_init()
39 * @brief Handle sink-specific DPM requests
43 struct usbc_port_data *data = dev->data; in sink_dpm_requests()
44 struct policy_engine *pe = data->pe; in sink_dpm_requests()
56 if (pe->dpm_request > REQUEST_TC_END) { in sink_dpm_requests()
[all …]
/Zephyr-latest/scripts/native_simulator/common/src/
Dnce.c5 * SPDX-License-Identifier: Apache-2.0
14 * Its mode of operation is that it step-locks the HW
65 this->cpu_halted = true; in nce_init()
66 this->terminate = false; in nce_init()
68 NSI_SAFE_CALL(pthread_cond_init(&this->cond_cpu, NULL)); in nce_init()
69 NSI_SAFE_CALL(pthread_mutex_init(&this->mtx_cpu, NULL)); in nce_init()
77 * If called from a SW thread, release the HW thread which is blocked in
94 if (this == NULL || this->cpu_halted) { in nce_terminate()
104 } else if (this->terminate == false) { in nce_terminate()
106 this->terminate = true; in nce_terminate()
[all …]
/Zephyr-latest/tests/bsim/
Dsh_common.source2 # SPDX-License-Identifier: Apache-2.0
10 BOARD="${BOARD:-nrf52_bsim/native}"
21 for process_id in $_process_ids; do
22 wait $process_id || let "exit_code=$?"
24 [ $exit_code -eq 0 ] || exit $exit_code
30 echo "Aborted by CTRL-C"
32 for process_id in $_process_ids; do
33 kill -15 $process_id
38 if [ ! -f $1 ]; then
39 echo -e " \e[91m`pwd`/`basename $1` cannot be found (did you forget to\
[all …]
/Zephyr-latest/scripts/footprint/
Dcompare_footprint3 # SPDX-License-Identifier: Apache-2.0
5 This script help you to compare footprint results with previous commits in git.
8 To run it you need to set up the same environment as twister.
15 current working directory if we have changes in git tree or we don't have git.
16 HEAD in any other case.
20 HEAD is we have changes in the working tree.
34 if "ZEPHYR_BASE" not in os.environ:
44 proc = subprocess.Popen('git rev-parse --is-inside-work-tree',
47 if proc.wait() != 0:
62 format = logging.Formatter('%(levelname)-8s: %(message)s')
[all …]
/Zephyr-latest/tests/kernel/workq/work/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 #define COOPHI_PRIORITY K_PRIO_COOP(0) /* = -4 */
20 /* SYSTEM_WORKQUEUE_PRIORITY = -3 */
21 /* ZTEST_THREAD_PRIORITY = -2 */
22 #define COOPLO_PRIORITY K_PRIO_COOP(3) /* = -1 */
52 /* Work synchronization objects must be in cache-coherent memory,
59 /* We have these threads, in strictly decreasing order of priority:
63 * * cooplo : a low-priority cooperative work queue
67 * executes in a counter.
69 * The common work handler also supports internal re-submission if
[all …]
/Zephyr-latest/samples/net/sockets/txtime/
DREADME.rst1 .. zephyr:code-sample:: so_txtime
3 :relevant-api: bsd_sockets ethernet
17 User can control how long the application should wait between packets sent by
19 Also the TXTIME value can be specified in the config file by setting the
20 :kconfig:option:`CONFIG_NET_SAMPLE_PACKET_TXTIME` option. In this case the value is
26 When the application is run, it starts to send UDP packets. You can start
27 ``echo-server`` application from `net-tools`_ project to catch these and
30 to create an ``AF_PACKET`` type socket. In this case, the ``echo-server``
34 described in :ref:`networking_with_host`.
36 .. _`net-tools`: https://github.com/zephyrproject-rtos/net-tools

12345678910>>...13