Home
last modified time | relevance | path

Searched full:samples (Results 1 – 25 of 2017) sorted by relevance

12345678910>>...81

/Zephyr-latest/doc/_scripts/
Dredirects.py228 ('samples/application_development/with_mcuboot/README', 'samples/sysbuild/with_mcuboot/README'),
229 …('samples/bluetooth/broadcast_audio_assistant/README', 'samples/bluetooth/bap_broadcast_assistant/…
230 … ('samples/bluetooth/broadcast_audio_sink/README', 'samples/bluetooth/bap_broadcast_sink/README'),
231 …('samples/bluetooth/broadcast_audio_source/README', 'samples/bluetooth/bap_broadcast_source/README…
232 ('samples/bluetooth/central_iso/README', 'samples/bluetooth/iso_central/README'),
233 ('samples/bluetooth/peripheral_iso/README', 'samples/bluetooth/iso_peripheral/README'),
234 …('samples/bluetooth/public_broadcast_sink/README', 'samples/bluetooth/pbp_public_broadcast_sink/RE…
235 …('samples/bluetooth/public_broadcast_source/README', 'samples/bluetooth/pbp_public_broadcast_sourc…
236 … ('samples/bluetooth/unicast_audio_client/README', 'samples/bluetooth/bap_unicast_client/README'),
237 … ('samples/bluetooth/unicast_audio_server/README', 'samples/bluetooth/bap_unicast_server/README'),
[all …]
/Zephyr-latest/tests/drivers/i2s/i2s_speed/
DKconfig38 Maximum allowed offset between sent and received samples. Non-zero
42 bool "Skip short transfer tests at 8000 samples per socond"
44 When set to 'y', short transfer tests at 8000 samples per second
48 bool "Skip short transfer tests at 16000 samples per socond"
50 When set to 'y', short transfer tests at 16000 samples per second
54 bool "Skip short transfer tests at 32000 samples per socond"
56 When set to 'y', short transfer tests at 32000 samples per second
60 bool "Skip short transfer tests at 44100 samples per socond"
62 When set to 'y', short transfer tests at 44100 samples per second
66 bool "Skip short transfer tests at 48000 samples per socond"
[all …]
/Zephyr-latest/tests/bsim/bluetooth/samples/
Dcompile.sh15 app=samples/bluetooth/peripheral_hr \
18 app=tests/bsim/bluetooth/samples/central_hr_peripheral_hr \
20 extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
22 app=samples/bluetooth/peripheral_hr \
26 app=tests/bsim/bluetooth/samples/central_hr_peripheral_hr \
28 extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
29 conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/central_hr/overlay-extended.conf \
31 app=samples/bluetooth/peripheral_hr \
35 app=tests/bsim/bluetooth/samples/central_hr_peripheral_hr \
37 extra_conf_file=${ZEPHYR_BASE}/samples/bluetooth/central_hr/prj.conf \
[all …]
/Zephyr-latest/tests/drivers/adc/adc_emul/src/
Dmain.c69 * @brief Check if samples for specific channel are correct. It can check
70 * samples with arithmetic sequence with common difference.
72 * @param expected_count Number of samples that are expected to be set
76 * samples were generated
78 * @param channel_id ADC channel from which samples are checked
106 * @brief Check if any values in buffer were set after expected samples.
108 * @param expected_count Number of samples that are expected to be set
124 * samples.
128 * @param samples Number of requested samples for each channel
133 int samples) in start_adc_read() argument
[all …]
/Zephyr-latest/scripts/footprint/
Dplan.txt15 echo_client,default,frdm_k64f,samples/net/sockets/echo_client,
16 echo_server,default,frdm_k64f,samples/net/sockets/echo_server,
17 bt_beacon,default,nrf52840dk/nrf52840,samples/bluetooth/beacon,
18 bt_peripheral,default,nrf52840dk/nrf52840,samples/bluetooth/peripheral,
19 bt_central_hr,default,nrf52840dk/nrf52840,samples/bluetooth/central_hr,
20 bt_mesh_demo,default,bbc_microbit,samples/bluetooth/mesh_demo,
21 bt_hap_ha,default,nrf5340dk/nrf5340/cpuapp,samples/bluetooth/hap_ha,
22 bt_bap_unicast_client,default,nrf5340dk/nrf5340/cpuapp,samples/bluetooth/bap_unicast_client,
23 bt_bap_unicast_server,default,nrf5340dk/nrf5340/cpuapp,samples/bluetooth/bap_unicast_server,
24 bt_tmap_central,default,nrf5340dk/nrf5340/cpuapp,samples/bluetooth/tmap_central,
[all …]
/Zephyr-latest/samples/
Dindex.rst1 .. zephyr:code-sample-category:: samples
2 :name: Samples and Demos
4 Zephyr offers a comprehensive collection of samples and demos that highlight the features of the
7 These samples are crafted to be simple and easy to understand, serving as a starting point for your
10 We welcome contributions of new samples to the project and you are encouraged to read more about
14 :categories: samples
Dsample_definition_and_criteria.rst11 Samples should be limited in scope and should focus only on demonstrating non-trivial or
14 Samples are recommended when submitting new features; however, they are not mandatory.
19 1. Samples must not be used to test features or verify platforms
22 * Samples must not use Zephyr's testing framework.
25 * Must not use zasserts in samples.
89 * Keep the code simple and easy to read. Example: :zephyr_file:`samples/philosophers`.
92 * Samples must not test the negative or edge case behaviors.
95 4. Samples must be documented.
97 * Samples must have a ``README.rst`` file in the samples folder.
98 Example: ``samples/subsys/foo/README.rst``. clearly explaining the purpose of the sample, its
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.df212 int "CTE sampling offset relative for PHY 1M and 1US samples spacing"
223 int "CTE sampling offset relative for PHY 1M and 1US samples spacing"
235 int "CTE sampling offset relative for PHY 1M and 2US samples spacing"
246 int "CTE sampling offset relative for PHY 1M and 2US samples spacing"
273 prompt "IQ samples 12 bit to 8 bit conversion approach"
278 bool "Conversion of IQ samples to 8 bits wide by 4 bits shift"
281 IQ samples provided by the Radio Direction Finding Extension are 12 bit wide. The
282 Bluetooth 5.3 Core Specification defines IQ samples to be 8 bits wide: Vol 4, Part E
283 sections 7.7.65.21 and 7.7.65.22. This config enables conversion of 12 bit IQ samples to
288 bool "Conversion of IQ samples to 8 bits wide by 2 bits shift"
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dbosch,bmp390.yaml60 2 samples, 17-bit, 1.32 Pa
61 4 samples, 18-bit, 0.66 Pa (default; chip reset value)
62 8 samples, 19-bit, 0.33 Pa
63 16 samples, 20-bit, 0.17 Pa
64 32 Samples, 21-bit, 0.085 Pa
80 2 samples, 17-bit, .0025 C
81 4 samples, 18-bit, .0012 C
82 8 samples, 19-bit, .0006 C
83 16 samples, 20-bit, .0003 C
84 32 Samples, 21-bit, .00015 C
Dbosch,bmp388.yaml59 2 samples, 17-bit, 1.32 Pa
60 4 samples, 18-bit, 0.66 Pa (default; chip reset value)
61 8 samples, 19-bit, 0.33 Pa
62 16 samples, 20-bit, 0.17 Pa
63 32 Samples, 21-bit, 0.085 Pa
79 2 samples, 17-bit, .0025 C
80 4 samples, 18-bit, .0012 C
81 8 samples, 19-bit, .0006 C
82 16 samples, 20-bit, .0003 C
83 32 Samples, 21-bit, .00015 C
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/bap_broadcast_sink/
Dcompile.sh13 app=samples/bluetooth/bap_broadcast_source conf_overlay=overlay-sequential.conf \
15 app=samples/bluetooth/bap_broadcast_source conf_overlay=overlay-interleaved.conf \
18 conf_file=${ZEPHYR_BASE}/samples/bluetooth/bap_broadcast_sink/prj.conf \
21 app=samples/bluetooth/bap_broadcast_source \
24 app=samples/bluetooth/bap_broadcast_source \
28 conf_file=${ZEPHYR_BASE}/samples/bluetooth/bap_broadcast_sink/prj.conf \
29 conf_overlay=${ZEPHYR_BASE}/samples/bluetooth/bap_broadcast_sink/overlay-bt_ll_sw_split.conf \
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_tx/
DREADME.rst33 :zephyr-app: samples/bluetooth/direction_finding_connectionless_tx
41 also run on the network core. The :zephyr_file:`samples/bluetooth/hci_ipc`
46 …:zephyr_file:`samples/bluetooth/direction_finding_connectionless_tx/boards/nrf52833dk_nrf52833.ove…
48 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`.
50 …:zephyr_file:`samples/bluetooth/direction_finding_connectionless_tx/boards/nrf5340dk_nrf5340_cpuap…
51 …as those in the created file :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.over…
53 …:zephyr_file:`samples/bluetooth/direction_finding_connectionless_tx/boards/nrf52833dk_nrf52833.con…
55 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.conf`. Add
69 :zephyr_file:`samples/bluetooth/direction_finding_connectionless_tx/boards/nrf52833dk_nrf52833.over…
80 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`
[all …]
/Zephyr-latest/subsys/net/l2/wifi/
DCMakeLists.txt38 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/client.pem
44 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/client-key.pem
50 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/ca.pem
56 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/client2.pem
62 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/client-key2.pem
68 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/ca2.pem
74 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/server.pem
80 ${ZEPHYR_BASE}/samples/net/wifi/test_certs/server-key.pem
/Zephyr-latest/samples/bluetooth/direction_finding_central/
DREADME.rst33 :zephyr-app: samples/bluetooth/direction_finding_central
46 :zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.overlay`
48 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`.
50 …:zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf5340dk_nrf5340_cpuapp.overlay`.
51 …as those in the created file :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.ove…
53 :zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.conf`
55 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.conf`.
65 :zephyr_file:`samples/bluetooth/direction_finding_central/boards/nrf52833dk_nrf52833.overlay`.
76 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`
/Zephyr-latest/samples/bluetooth/direction_finding_connectionless_rx/
DREADME.rst33 :zephyr-app: samples/bluetooth/direction_finding_connectionless_rx
46 …:zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.ove…
48 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`.
50 …:zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf5340dk_nrf5340_cpuap…
51 …as those in the created file :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.over…
53 …:zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.con…
55 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.conf`. Add
68 :zephyr_file:`samples/bluetooth/direction_finding_connectionless_rx/boards/nrf52833dk_nrf52833.over…
79 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`
/Zephyr-latest/samples/bluetooth/direction_finding_peripheral/
DREADME.rst32 :zephyr-app: samples/bluetooth/direction_finding_peripheral
45 :zephyr_file:`samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52833.overlay`
47 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`.
49 …:zephyr_file:`samples/bluetooth/direction_finding_peripheral/boards/nrf5340dk_nrf5340_cpuapp.overl…
50 …as those in the created file :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.over…
52 :zephyr_file:`samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52833.conf`
54 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.conf`.
64 :zephyr_file:`samples/bluetooth/direction_finding_peripheral/boards/nrf52833dk_nrf52833.overlay`.
75 :file:`samples/bluetooth/hci_ipc/boards/nrf5340dk_nrf5340_cpunet.overlay`
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/ead_sample/
DCMakeLists.txt10 ${ZEPHYR_BASE}/samples/bluetooth/encrypted_advertising/central/src/central_ead.c
11 ${ZEPHYR_BASE}/samples/bluetooth/encrypted_advertising/peripheral/src/peripheral_ead.c
18 ${ZEPHYR_BASE}/samples/bluetooth/encrypted_advertising/peripheral/src/
19 ${ZEPHYR_BASE}/samples/bluetooth/encrypted_advertising/include/
/Zephyr-latest/tests/net/socket/tls_ext/
DCMakeLists.txt12 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/ca.der
18 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server.der
24 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server_privkey.der
32 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server.der
38 ${ZEPHYR_BASE}/samples/net/sockets/echo_server/src/server_privkey.der
/Zephyr-latest/doc/connectivity/networking/api/
Dwifi.rst37 in PEM format are committed to the repo at :zephyr_file:`samples/net/wifi/test_certs` and the durin…
43 $ cp client.pem samples/net/wifi/test_certs/
44 $ cp client-key.pem samples/net/wifi/test_certs/
45 $ cp ca.pem samples/net/wifi/test_certs/
46 $ cp client2.pem samples/net/wifi/test_certs/
47 $ cp client-key2.pem samples/net/wifi/test_certs/
48 $ cp ca2.pem samples/net/wifi/test_certs/
49 $ west build -p -b <board> samples/net/wifi -- -DEXTRA_CONF_FILE=overlay-enterprise.conf
55 …$ west build -p -b <board> samples/net/wifi -- -DEXTRA_CONF_FILE=overlay-enterprise-variable-bufs.…
/Zephyr-latest/samples/net/common/
Dcommon.cmake3 # Common routines used in net samples
5 target_include_directories(app PRIVATE ${ZEPHYR_BASE}/samples/net/common/)
6 target_sources(app PRIVATE $ENV{ZEPHYR_BASE}/samples/net/common/net_sample_common.c)
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/cap/
Dcompile.sh14 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \
20 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \
26 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \
31 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \
37 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \
43 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \
49 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \
54 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \
/Zephyr-latest/samples/bluetooth/bap_unicast_client/
DREADME.rst14 :zephyr_file:`samples/bluetooth/bap_unicast_client` in the Zephyr tree.
16 Check the :zephyr:code-sample-category:`bluetooth` samples for general information.
35 :zephyr-app: samples/bluetooth/bap_unicast_client/
47 :zephyr-app: samples/bluetooth/bap_unicast_client/
55 :zephyr-app: samples/bluetooth/bap_unicast_server/
61 :zephyr_file:`samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf` configuration.
69 :zephyr-app: samples/bluetooth/bap_unicast_client/
81 :zephyr-app: samples/bluetooth/bap_unicast_client/
/Zephyr-latest/samples/bluetooth/bap_unicast_server/
DREADME.rst14 :zephyr_file:`samples/bluetooth/bap_unicast_server` in the Zephyr tree.
16 Check the :zephyr:code-sample-category:`bluetooth` samples for general information.
35 :zephyr-app: samples/bluetooth/bap_unicast_server/
47 :zephyr-app: samples/bluetooth/bap_unicast_server/
55 :zephyr-app: samples/bluetooth/bap_unicast_server/
61 :zephyr_file:`samples/bluetooth/hci_ipc/nrf5340_cpunet_iso-bt_ll_sw_split.conf` configuration.
69 :zephyr-app: samples/bluetooth/bap_unicast_server/
81 :zephyr-app: samples/bluetooth/bap_unicast_server/
/Zephyr-latest/doc/connectivity/usb/pd/
Ducds.rst20 :zephyr:code-sample-category:`List<usbc>` of samples for different purposes.
39 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/boards/b_g474e_dpow1.overlay
48 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/boards/b_g474e_dpow1.overlay
58 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
66 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
74 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
82 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
90 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
98 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
106 .. literalinclude:: ../../../../samples/subsys/usb_c/sink/src/main.c
[all …]
/Zephyr-latest/samples/bluetooth/channel_sounding/
DREADME.rst10 These samples demonstrates how to use the Bluetooth Channel Sounding feature.
14 be found under :zephyr_file:`samples/bluetooth/channel_sounding/cs_test`.
18 It can be found under :zephyr_file:`samples/bluetooth/channel_sounding/connected_cs`
23 as a starting point for these samples.
28 which is enough to estimate distance using a handful of RTT timings and PBR phase samples across
31 Both samples will perform channel sounding procedures repeatedly and print regular distance estimat…
46 These samples can be found under :zephyr_file:`samples/bluetooth/channel_sounding` in
49 See :zephyr:code-sample-category:`bluetooth` samples for details.
90 - Round-Trip Timing method: 2.633891 meters (derived from 7 samples)
91 - Phase-Based Ranging method: 0.511853 meters (derived from 38 samples)
[all …]

12345678910>>...81