Home
last modified time | relevance | path

Searched full:should (Results 1 – 25 of 1800) sorted by relevance

12345678910>>...72

/Zephyr-Core-3.4.0/tests/net/conn_mgr_conn/src/
Dmain.c148 zassert_equal(ifa1_data->init_calls_a, 1, "ifa1->init should be called exactly once."); in ZTEST()
149 zassert_equal(ifa1_data->init_calls_b, 0, "ifa1 should use implementation A"); in ZTEST()
151 zassert_equal(ifa2_data->init_calls_a, 1, "ifa2->init should be called exactly once."); in ZTEST()
152 zassert_equal(ifa2_data->init_calls_b, 0, "ifa2 should use implementation A"); in ZTEST()
154 zassert_equal(ifb_data->init_calls_b, 1, "ifb->init should be called exactly once."); in ZTEST()
155 zassert_equal(ifb_data->init_calls_a, 0, "ifb should use implementation B"); in ZTEST()
157 zassert_equal(ifni_data->init_calls_a, 0, "ifni->init should not be called."); in ZTEST()
158 zassert_equal(ifni_data->init_calls_b, 0, "ifni->init should not be called."); in ZTEST()
171 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
172 zassert_equal(net_if_up(ifa2), 0, "net_if_up should not fail"); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/net/conn_mgr/src/
Dmain.c185 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
188 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ready_ifaces()
191 "conn_mgr_if_connect should succeed for ifa."); in cycle_ready_ifaces()
198 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ready_ifaces()
200 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ready_ifaces()
201 zassert_equal(stats.conn_iface, ifa, "ifa should be blamed."); in cycle_ready_ifaces()
204 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ready_ifaces()
207 "conn_mgr_if_connect should succeed for ifb."); in cycle_ready_ifaces()
214 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
219 "conn_mgr_if_disconnect should succeed for ifa."); in cycle_ready_ifaces()
[all …]
/Zephyr-Core-3.4.0/samples/subsys/pm/latency/
Dsample.yaml13 - "<inf> app: Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"
15 - "<inf> app: Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"
17 - "<inf> app: Sleeping for 1.3 seconds, we should enter STANDBY"
20 - "<inf> app: Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"
22 - "<inf> app: Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"
24 - "<inf> app: Sleeping for 1.3 seconds, we should enter SUSPEND_TO_IDLE"
29 - "<inf> app: Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"
31 - "<inf> app: Sleeping for 1.2 seconds, we should enter RUNTIME_IDLE"
33 - "<inf> app: Sleeping for 1.3 seconds, we should enter RUNTIME_IDLE"
38 - "<inf> app: Sleeping for 1.1 seconds, we should stay ACTIVE"
[all …]
/Zephyr-Core-3.4.0/samples/subsys/pm/latency/src/
Dmain.c41 LOG_INF("Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"); in main()
43 LOG_INF("Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"); in main()
45 LOG_INF("Sleeping for 1.3 seconds, we should enter STANDBY"); in main()
53 LOG_INF("Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"); in main()
55 LOG_INF("Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"); in main()
57 LOG_INF("Sleeping for 1.3 seconds, we should enter SUSPEND_TO_IDLE"); in main()
65 LOG_INF("Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"); in main()
67 LOG_INF("Sleeping for 1.2 seconds, we should enter RUNTIME_IDLE"); in main()
69 LOG_INF("Sleeping for 1.3 seconds, we should enter RUNTIME_IDLE"); in main()
77 LOG_INF("Sleeping for 1.1 seconds, we should stay ACTIVE"); in main()
[all …]
/Zephyr-Core-3.4.0/tests/subsys/rtio/rtio_api/src/
Dtest_rtio_spsc.c27 zassert_not_null(acq, "Acquire should succeed"); in ZTEST()
33 zassert_is_null(acq2, "Acquire should fail"); in ZTEST()
37 zassert_is_null(cons, "Consume should fail"); in ZTEST()
39 zassert_equal(rtio_spsc_consumable(&ezspsc), 0, "Consumables should be 0"); in ZTEST()
43 zassert_equal(rtio_spsc_consumable(&ezspsc), 1, "Consumables should be 1"); in ZTEST()
47 zassert_equal(rtio_spsc_consumable(&ezspsc), 0, "Consumables should be 0"); in ZTEST()
49 zassert_not_null(cons2, "Consume should not fail"); in ZTEST()
50 zassert_equal(*cons2, magic, "Consume value should equal magic"); in ZTEST()
54 zassert_is_null(cons3, "Consume should fail"); in ZTEST()
59 zassert_is_null(acq3, "Acquire should not succeed"); in ZTEST()
[all …]
Dtest_rtio_mpsc.c39 zassert_equal(head, stub, "Head should point at stub"); in ZTEST()
40 zassert_equal(tail, stub, "Tail should point at stub"); in ZTEST()
41 zassert_is_null(next, "Next should be null"); in ZTEST()
44 zassert_is_null(node, "Pop on empty queue should return null"); in ZTEST()
50 zassert_equal(head, &push_pop_nodes[0], "Queue head should point at push_pop_node"); in ZTEST()
52 zassert_is_null(next, NULL, "push_pop_node next should point at null"); in ZTEST()
54 zassert_equal(next, &push_pop_nodes[0], "Queue stub should point at push_pop_node"); in ZTEST()
57 zassert_equal(tail, stub, "Tail should point at stub"); in ZTEST()
62 zassert_not_equal(node, stub, "Pop should not return stub"); in ZTEST()
63 zassert_not_null(node, "Pop should not return null"); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/net/socket/socketpair/src/
Dexpected_failures.c23 "errno should be EAFNOSUPPORT with bad address family"); in ZTEST_USER()
31 "socketpair should fail with unsupported socket type"); in ZTEST_USER()
33 "errno should be EPROTOTYPE with bad socket type"); in ZTEST_USER()
41 "socketpair should fail with unsupported protocol"); in ZTEST_USER()
43 "errno should be EPROTONOSUPPORT with bad protocol"); in ZTEST_USER()
45 /* This is not a POSIX requirement, but should be safe */ in ZTEST_USER()
52 "socketpair should fail with invalid socket vector"); in ZTEST_USER()
54 "errno should be EFAULT with bad socket vector"); in ZTEST_USER()
Dunsupported_calls.c27 "bind should fail on a socketpair endpoint"); in ZTEST_USER()
29 "bind should set errno to EISCONN"); in ZTEST_USER()
33 "connect should fail on a socketpair endpoint"); in ZTEST_USER()
35 "connect should set errno to EISCONN"); in ZTEST_USER()
39 "listen should fail on a socketpair endpoint"); in ZTEST_USER()
41 "listen should set errno to EINVAL"); in ZTEST_USER()
45 "accept should fail on a socketpair endpoint"); in ZTEST_USER()
47 "accept should set errno to EOPNOTSUPP"); in ZTEST_USER()
/Zephyr-Core-3.4.0/tests/lib/mem_blocks/src/
Dmain.c167 "sys_mem_blocks_alloc should fail with -ENOMEM but not"); in alloc_free()
246 /* blocks 0 and 1 should be taken */ in ZTEST()
255 "sys_mem_blocks_get bitmap failed, bit %i should be set", i); in ZTEST()
259 "sys_mem_blocks_get bitmap failed, bit %i should be cleared", i); in ZTEST()
265 /* get a 2 entiries memory block starting from 1 - should fail */ in ZTEST()
270 /* blocks 0 and 1 should be taken */ in ZTEST()
279 "sys_mem_blocks_get bitmap failed, bit %i should be set", i); in ZTEST()
283 "sys_mem_blocks_get bitmap failed, bit %i should be cleared", i); in ZTEST()
289 /* get a 2 slots block starting from the last one - should fail */ in ZTEST()
294 /* blocks 0 and 1 should be taken */ in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/net/lib/tls_credentials/src/
Dmain.c34 /* Function should allow to add credentials of different types in test_credential_add()
47 /* Try to register another credential - should not have memory for that in test_credential_add()
51 zassert_equal(ret, -ENOMEM, "Should have failed with ENOMEM"); in test_credential_add()
56 zassert_equal(ret, -EEXIST, "Should have failed with EEXIST"); in test_credential_add()
86 zassert_equal(ret, -ENOENT, "Should have failed with ENOENT"); in test_credential_get()
92 zassert_equal(ret, -EFBIG, "Should have failed with EFBIG"); in test_credential_get()
104 /* Non-existing credential should return NULL */ in test_credential_internal_iterate()
106 zassert_is_null(key, "Should have return NULL for unknown credential"); in test_credential_internal_iterate()
110 zassert_not_null(cert, "Should have find a credential"); in test_credential_internal_iterate()
113 zassert_not_null(key, "Should have find a credential"); in test_credential_internal_iterate()
[all …]
/Zephyr-Core-3.4.0/soc/arm/rpi_pico/rp2/
DKconfig.soc20 # Flash type used by the SoC. The board should select the one used.
25 Configure RP2 to use a W25Q080 flash chip, or similar. Should be selected
32 Should be selected by the board definition, not the user.
37 Configure RP2 to use a IS25LP080 flash chip, or similar. Should be selected
43 Configure RP2 to use a W25X10CL flash chip, or similar. Should be selected
49 Configure RP2 to use a AT25SF128A flash chip, or similar. Should be selected
/Zephyr-Core-3.4.0/dts/bindings/regulator/
Dregulator.yaml48 description: boolean, regulator should never be disabled
55 If the bootloader didn't leave it on then OS should turn it on
72 ramp rate, it should be explicitly initialised to zero
143 indicates that protection should be enabled but limit setting can be
152 should be enabled but limit setting can be omitted.
159 Recovery actions should be initiated. Zero can be passed to disable
160 detection and value '1' indicates that detection should be enabled but
168 indicates that protection should be enabled but limit setting can be
177 should be enabled but limit setting can be omitted. Limit is given as
185 Recovery actions should be initiated. Zero can be passed to disable
[all …]
/Zephyr-Core-3.4.0/dts/bindings/pinctrl/
Dnxp,imx-iomuxc.yaml5 This compatible binding should be applied to the device's iomuxc DTS node.
10 The user should not edit the bindings defined within this node to make pinmux
11 selections, but should instead edit the pinctrl groups for their board.
46 # Note: the below properties should ideally be an enum. However, the pinctrl driver
57 and should not be modified by the user.
64 and should not be modified by the user.
71 and should not be modified by the user.
78 and should not be modified by the user.
/Zephyr-Core-3.4.0/doc/develop/api/
Ddesign_guidelines.rst7 maintenance and enhancements there are some general policies that should
14 configuration structure. The following policies should be followed when
17 * The first parameter should be a pointer to the object most closely
23 * The next parameter(s) should be additional information specific to the
27 * The final parameter should be a ``void *user_data`` pointer carrying
80 practices should be followed.
82 * Any data that is accessed only when the feature is enabled should be
87 enabled should be provided unconditionally. Add a note in the
94 has no other content that file should be conditionally included in
99 other content the feature-specific code should be conditionally
[all …]
/Zephyr-Core-3.4.0/tests/boards/intel_adsp/cache/src/
Dmain.c27 /* After sys_cache_data_flush_and_invd_all(), uncached should be updated */ in ZTEST()
35 /* As cache is invalid, cached should be updated with uncached new value */ in ZTEST()
41 /* Only cached should have changed */ in ZTEST()
47 /* After sys_cache_data_flush_all(), uncached should be updated */ in ZTEST()
53 /* As cache is not invalid, only uncached should be updated */ in ZTEST()
59 /* Now, cached should be updated */ in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_chmu/src/
Dmain.c87 /* Tx Queue should have one LL Control PDU */ in ZTEST()
106 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
112 /* There should NOT be a host notification */ in ZTEST()
124 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
130 /* There should be no host notification */ in ZTEST()
166 /* Tx Queue should have one LL Control PDU */ in ZTEST()
179 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
185 /* There should NOT be a host notification */ in ZTEST()
192 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
201 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/bluetooth/controller/ctrl_phy_update/src/
Dmain.c158 /* Tx Queue should have one LL Control PDU */ in ZTEST()
192 /* Tx Queue should have one LL Control PDU */ in ZTEST()
217 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
225 /* There should NOT be a host notification */ in ZTEST()
232 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
238 /* There should be two host notifications, one pu and one dle */ in ZTEST()
278 /* Tx Queue should have one LL Control PDU */ in ZTEST()
298 /* There should be nohost notifications */ in ZTEST()
329 /* Tx Queue should have one LL Control PDU */ in ZTEST()
351 /* There should be one host notification */ in ZTEST()
[all …]
/Zephyr-Core-3.4.0/tests/drivers/retained_mem/api/src/
Dmain.c38 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
43 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
61 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
64 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
67 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
72 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
75 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
/Zephyr-Core-3.4.0/tests/bluetooth/mesh/rpl/src/
Dmain.c20 /* Test function that should call bt_mesh_rpl_check(). */
85 /* Simulate IVI Update. This should only flip flags. The actual storing will happen in prepare_rpl_and_start_reset()
92 /* Should be called after the reset operation is finished. */
99 /* Entries with old_iv == true should have been deleted. old_iv in entries in check_entries_from_test_vector()
101 * again. RPL should accept them. in check_entries_from_test_vector()
173 /* Entries with old_iv == true should be removed, others should be stored. */ in expect_pending_store()
258 /** Test that RPL accepts and stores a valid entry that was just deleted. The entry should be
285 /** Test that RPL accepts and stores a valid entry that was just stored. The entry should be stored
311 /** Test that RPL accepts and stores a valid entry that has not yet been deleted. The entry should
321 * Should be done before calling ztest_expect_data() because the expectation changes. in ZTEST()
[all …]
/Zephyr-Core-3.4.0/samples/boards/stm32/power_mgmt/serial_wakeup/
DREADME.rst17 1. The board should support enabling PM. For a STM32 based target, it means that
18 it should support a clock source alternative to Cortex Systick that can be used
21 2. The serial port used by the shell should be configured, using device tree, to
26 - Matching oscillator sources should be enabled
28 should be adapted (9600 bauds)
29 - Port should be set as "wakeup-source"
59 Also note that after debug mode has been disabled, target should also be powered off in order
77 In order to reach lower power consumption numbers following parameters should be taken
/Zephyr-Core-3.4.0/soc/arm/nxp_imx/rt/
Dpower_rt10xx.h12 * The clock_set_run function should switch all clocks to their
18 * The clock_set_low_power function should switch all clocks to
20 * Note that the function should, at minimum, switch the arm core to the
26 * The clock_init function should perform any one time initialization that
/Zephyr-Core-3.4.0/dts/bindings/i2c/
Datmel,sam-i2c-twim.yaml32 The tuning should be performed by groups defined <mode>-<line>. The prefix
34 high speed mode. The tune should be performed for both clock and data lines
58 Slew limit of the TWCK output buffer. This should be adjusted with
71 mode. This should be adjusted to provide proper TWCK line fall time.
88 Slew limit of the TWD output buffer. This should be adjusted with
101 mode. This should be adjusted to provide proper TWD line fall time.
119 should be adjusted with both hs-clk-strength-high and
132 mode. This should be adjusted to provide proper TWCK line rise time.
146 mode. This should be adjusted to provide proper TWCK line fall time.
164 should be adjusted with hs-data-strength-low to fine tune the TWD
[all …]
/Zephyr-Core-3.4.0/tests/net/socket/offload_dispatcher/src/
Dmain.c426 "Socket should'nt have been dispatched yet"); in test_socket_setup_udp()
437 "Socket should'nt have been dispatched yet"); in test_socket_setup_tls()
462 "Socket should'nt have been dispatched"); in ZTEST()
464 "close() should'nt have been dispatched"); in ZTEST()
477 "Socket should've been dispatched"); in ZTEST()
479 "fcntl() should've been dispatched"); in ZTEST()
493 "Socket should've been dispatched"); in ZTEST()
495 "shutdown() should've been dispatched"); in ZTEST()
511 "Socket should've been dispatched"); in ZTEST()
513 "bind() should've been dispatched"); in ZTEST()
[all …]
/Zephyr-Core-3.4.0/subsys/net/lib/lwm2m/
DKconfig.ipso14 This IPSO object should be used with a temperature sensor to
32 Select which version of the IPSO Temperature object should be used.
60 Select which version of the IPSO Generic Sensor object should be used.
100 Select which version of the IPSO Humidity Sensor object should be
131 Select which version of the IPSO Pressure Sensor object should be
178 Select which version of the IPSO Accelerometer object should be used.
207 Select which version of the IPSO Buzzer object should be used.
248 Select which version of the IPSO On/Off Switch object should be used.
278 Select which version of the IPSO Push Button object should be used.
291 This IPSO object should be used with a current sensor to
[all …]
/Zephyr-Core-3.4.0/doc/connectivity/usb/device/api/
Dusb_device.rst13 To transmit data to the host, the class driver should call usb_write().
15 sending another packet the class driver should wait for the completion of
17 is called. usb_read() should be used for retrieving the received data.
25 not have to implement endpoint callback and should set this callback to the

12345678910>>...72