Home
last modified time | relevance | path

Searched +full:sample +full:- +full:size (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/Zephyr-latest/samples/subsys/fs/fs_sample/
Dsample.yaml1 sample:
2 name: Filesystems sample
6 - fatfs
8 sample.filesystem.fat_fs:
15 - "Block count"
16 - "Sector size"
17 - "Memory Size"
18 - "Disk mounted"
19 sample.filesystem.fat_fs.overlay:
21 sample.filesystem.fat_fs.adafruit_2_8_tft_touch_v2:
[all …]
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/rom_api/
Dsample.yaml1 sample:
2 description: MEC172x EVB ROM API sample application
10 - "Test Zephyr crypto hash API for multiblock plus remainder"
11 - "Test Zephyr crypto hash API for multiblock plus remainder returned 0"
12 - "Test Zephyr crypto arbitrary chunk size = \\d+"
13 - "Test Zephyr crypto arbitrary chunk size returned 0"
14 - "Test Zephyr crypto arbitrary chunk size = \\d+"
15 - "Test Zephyr crypto arbitrary chunk size returned 0"
16 - "Test Zephyr crypto arbitrary chunk size = \\d+"
17 - "Test Zephyr crypto arbitrary chunk size returned 0"
[all …]
/Zephyr-latest/samples/subsys/rtio/sensor_batch_processing/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 #address-cells = <1>;
10 #size-cells = <0>;
15 sample-period = <100>;
16 sample-size = <16>;
17 max-msgs = <8>;
24 sample-period = <120>;
25 sample-size = <16>;
26 max-msgs = <4>;
/Zephyr-latest/samples/basic/sys_heap/
DREADME.rst1 .. zephyr:code-sample:: sys-heap
9 A simple sample that can be used with any :ref:`supported board <boards>` and
17 .. zephyr-app-commands::
18 :zephyr-app: samples/basic/sys_heap
19 :host-os: unix
31 Sample Output
34 .. code-block:: console
36 System heap sample
38 allocated 0, free 196, max allocated 0, heap size 256
39 allocated 156, free 36, max allocated 156, heap size 256
[all …]
Dsample.yaml1 sample:
2 description: System heap sample showing how to use sys_heap functions
3 name: Basic system heap sample
6 - native_sim
12 - ".*allocated 15.,.*"
13 - ".*allocated 10.,.*"
14 - ".*allocated 0, free ..., max allocated ..., heap size 256.*"
16 sample.basic.sys_heap:
18 - heap
19 - statistics
[all …]
/Zephyr-latest/samples/drivers/soc_flash_nand/
Dsample.yaml1 sample:
2 description: Cadence Nand Driver sample application.
5 sample.drivers.flash.soc_flash_nand:
7 - intel_socfpga_agilex5_socdk
9 - intel_socfpga_agilex5_socdk
11 - flash
12 - cdns
19 - "Nand flash driver test sample"
20 - "Nand flash driver block size 20000"
21 - "The Page size of 800"
[all …]
/Zephyr-latest/samples/drivers/video/capture/
DREADME.rst1 .. zephyr:code-sample:: video-capture
3 :relevant-api: video_interface
10 This sample application uses the :ref:`video_api` to capture frames from a video capture
16 This sample needs a video capture device (e.g. a camera) but it is not mandatory.
19 - `Camera iMXRT`_
21 - :zephyr:board:`mimxrt1064_evk`
22 - `MT9M114 camera module`_
24 - :zephyr:board:`mimxrt1170_evk`
25 - `OV5640 camera module`_
27 Also :ref:`arduino_nicla_vision_board` can be used in this sample as capture device, in that case
[all …]
/Zephyr-latest/samples/drivers/virtualization/ivshmem/doorbell/
DREADME.rst1 .. zephyr:code-sample:: ivshmem-doorbell
3 :relevant-api: ivshmem
5 Use Inter-VM Shared Memory to exchange messages between two processes running on different
11 This sample shows how two processes on different operating systems can
20 ivshmem-server needs to be available and running. The server is available in
21 Zephyr SDK or pre-built in some distributions. Otherwise, it is available in
24 ivshmem-client needs to be available as it is employed in this sample as an
25 external application. The same conditions of ivshmem-server applies to the
26 ivshmem-server, as it is also available via QEMU.
31 Building ivshmem-doorbell is as follows:
[all …]
/Zephyr-latest/include/zephyr/usb/class/
Dusbd_uac2.h2 * Copyright (c) 2023-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
79 * @param size Maximum number of bytes USB stack will write to buffer.
83 uint16_t size, void *user_data);
93 * @param size Number of bytes written to buffer
97 void *buf, uint16_t size, void *user_data);
115 * If device is High-Speed capable, it must use Q16.16 format if and
117 * parameter set to true. On Full-Speed only devices, or if High-Speed
118 * capable device is operating at Full-Speed (microframes was false),
129 * @brief Get active sample rate
[all …]
/Zephyr-latest/samples/subsys/zbus/dyn_channel/
DREADME.rst1 .. zephyr:code-sample:: zbus-dyn-channel
3 :relevant-api: zbus_apis
9 This sample implements an application using zbus to illustrate the way zbus supports dynamically al…
17 .. zephyr-app-commands::
18 :zephyr-app: samples/subsys/zbus/dyn_channel
19 :host-os: unix
23 Sample Output
26 .. code-block:: console
28 W: size=01
31 W: size=02
[all …]
/Zephyr-latest/samples/bluetooth/mtu_update/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_mtu_update
3 :relevant-api: bt_gatt bluetooth
15 size (4 octets).
30 This sample demonstrates the exchange of MTU between two devices to allow a
41 According to the Bluetooth specification, [#mtu]_ MTU is the maximum size of
43 However, in Zephyr, we can assume that it also represents the maximum size of
46 The Kconfig symbol used to configure the size of the TX MTU is
48 the size of the RX MTU, because Zephyr uses a buffer pool for ACL RX buffers
50 The L2CAP RX MTU is defined as the maximum size of ACL RX buffers minus the
51 L2CAP header size.
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/css_sample_data/src/
Dcentral.c2 * SPDX-License-Identifier: Apache-2.0
13 if (data->type == BT_DATA_ENCRYPTED_AD_DATA) { in data_parse_cb()
15 uint8_t decrypted_payload[sample_data->size_ad_data]; in data_parse_cb()
17 size_t decrypted_data_size = BT_EAD_DECRYPTED_PAYLOAD_SIZE(data->data_len); in data_parse_cb()
19 if (decrypted_data_size != sample_data->size_ad_data) { in data_parse_cb()
20 LOG_ERR("Size of decrypted data: %d", decrypted_data_size); in data_parse_cb()
21 LOG_ERR("Size of sample data: %d", sample_data->size_ad_data); in data_parse_cb()
22 FAIL("Computed size of data does not match the size of the data from the " in data_parse_cb()
23 "sample. (data set %d)\n", in data_parse_cb()
27 if (memcmp(sample_data->randomizer_little_endian, data->data, in data_parse_cb()
[all …]
/Zephyr-latest/samples/subsys/zbus/benchmark/
Dsample.yaml1 sample:
4 sample.zbus.benchmark_async:
13 - "I: Benchmark 1 to 8 using LISTENERS to transmit with message size: 256 bytes"
14 - "I: Bytes sent = 262144, received = 262144"
15 - "I: Average data rate: (\\d+).(\\d+)MB/s"
16 - "I: Duration: (\\d+).(\\d+)s"
17 - "@(.*)"
19 - CONFIG_BM_ONE_TO=8
20 - CONFIG_BM_MESSAGE_SIZE=256
21 - CONFIG_BM_LISTENERS=y
[all …]
/Zephyr-latest/samples/bluetooth/encrypted_advertising/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_encrypted_advertising
3 :relevant-api: bluetooth
10 This sample demonstrates the use of the encrypted advertising feature, such as:
12 - the exchange of the session key and the initialization vector using the Key
14 - the encryption of advertising payloads,
15 - the decryption of those advertising payloads,
16 - and the update of the Randomizer field whenever the RPA is changed.
21 While this sample uses extended advertising, it is **not** mandatory when using
29 * Two boards with a push button connected via a GPIO pin, see the :zephyr:code-sample:`button`
30 sample for more details
[all …]
/Zephyr-latest/samples/subsys/canbus/isotp/
DKconfig1 # Private config options to the ISO-TP sample
4 # SPDX-License-Identifier: Apache-2.0
6 mainmenu "ISO-TP sample"
14 int "RX threads stack size"
17 Stack size (in bytes) used for the RX threads.
/Zephyr-latest/samples/drivers/soc_flash_nrf/
DREADME.rst1 .. zephyr:code-sample:: soc-flash-nrf
3 :relevant-api: flash_interface flash_area_api
10 This sample demonstrates using the :ref:`Flash API <flash_api>` on an SoC internal storage.
11 The sample uses :ref:`Flash map API <flash_map_api>` to obtain a device that has one
16 Within the sample, user may observe how read/write/erase operations
23 The sample will be built for any SoC with internal storage, as long as
24 there is a fixed-partition named ``storage_partition`` defined
27 .. zephyr-app-commands::
28 :zephyr-app: samples/drivers/soc_flash_nrf
33 Sample Output
[all …]
/Zephyr-latest/samples/subsys/logging/ble_backend/
DREADME.rst1 .. zephyr:code-sample:: logging-ble-backend
3 :relevant-api: log_api log_backend bt_gatt
10 Sample that demonstrates how to setup and use the BLE Logging backend. The
14 The notification size of the ble backend buffer is dependent on the
15 transmission size of the mtu set with :kconfig:option:`CONFIG_BT_L2CAP_TX_MTU`. Be sure
26 This sample can be found under :zephyr_file:`samples/subsys/logging/ble_backend` in the
/Zephyr-latest/samples/drivers/fpga/fpga_controller/
DREADME.rst1 .. zephyr:code-sample:: fpga-controller
9 This sample demonstrates how to use the FPGA driver API and the FPGA controller shell subsystem.
10 Currently the sample works with `Quicklogic Quickfeather board`_.
25 .. zephyr-app-commands::
26 :zephyr-app: samples/drivers/fpga/fpga_controller
27 :host-os: unix
35 .. zephyr-app-commands::
36 :zephyr-app: samples/drivers/fpga/fpga_controller
37 :host-os: unix
49 Sample output
[all …]
/Zephyr-latest/samples/subsys/zbus/hello_world/
Dsample.yaml1 sample:
4 sample.zbus.hello_world:
10 - "I: Sensor sample started raw reading, version 0.1-2!"
11 - "I: Channel list:"
12 - "I: 0 - Channel acc_data_chan:"
13 - "I: Message size: 12"
14 - "I: Observers:"
15 - "I: - foo_lis"
16 - "I: - bar_sub"
17 - "I: 1 - Channel simple_chan:"
[all …]
DREADME.rst1 .. zephyr:code-sample:: zbus-hello-world
3 :relevant-api: zbus_apis
9 This sample implements a simple hello world application using zbus to make the threads talk to each…
17 .. zephyr-app-commands::
18 :zephyr-app: samples/subsys/zbus/hello_world
19 :host-os: unix
23 Sample Output
26 .. code-block:: console
28 D: Sensor sample started raw reading, version 0.1-2!
30 D: 0 - Channel acc_data:
[all …]
/Zephyr-latest/samples/tfm_integration/psa_protected_storage/
DREADME.rst1 .. zephyr:code-sample:: psa_protected_storage
2 :name: TF-M PSA Protected Storage
9 This sample demonstrates how the Protected Storage (PS) API can be used for storing data.
12 optional authentication and rollback protection. The default crypto algorithm is ``AES-128-GCM``.
16 Using the PS API, this sample stores data to non-volatile storage. The sample shows how data can
19 TF-M includes a maximum number of PS records, set via ``PS_NUM_ASSETS`` (default 10 as of
20 TF-M 1.3.0), and a maximum record size, set via ``PS_MAX_ASSET_SIZE`` (default of 2048 as of
21 TF-M 1.3.0). These defaults may be different depending on the platform being used, the current
22 value will be printed by the build system during the TF-M compilation step.
25 …orage API: https://developer.arm.com/architectures/architecture-security-features/platform-security
[all …]
/Zephyr-latest/samples/userspace/prod_consumer/src/
Dsample_driver.h4 * SPDX-License-Identifier: Apache-2.0
34 * Write some processed data to the sample driver
36 * Having done some processing on data received in the sample driver callback,
39 * @param dev Sample driver device
40 * @param buf Processed data, of size SAMPLE_DRIVER_MSG_SIZE
48 const struct sample_driver_api *api = dev->api; in z_impl_sample_driver_write()
50 return api->write(dev, buf); in z_impl_sample_driver_write()
54 * Set whether the sample driver will respond to interrupts
56 * @param dev Sample driver device
64 const struct sample_driver_api *api = dev->api; in z_impl_sample_driver_state_set()
[all …]
/Zephyr-latest/tests/drivers/i2c/i2c_target_api/boards/
Dmimxrt1040_evk.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * Note: this sample requires the board to be modified! Populate resistors
11 * To test this sample, connect J17.9<->J17.3 (SDA), J17.10<->J17.6 (SCL)
18 compatible = "zephyr,i2c-target-eeprom";
20 size = <256>;
27 compatible = "zephyr,i2c-target-eeprom";
29 size = <256>;
/Zephyr-latest/samples/sensor/grow_r502a/
DREADME.rst1 .. zephyr:code-sample:: grow_r502a
2 :name: GROW R502-A Fingerprint Sensor
3 :relevant-api: sensor_interface
5 Store and match fingerprints using the GROW R502-A fingerprint sensor.
10 This sample has the below functionalities:
14 …the sensor device's configurations like baud rate, library size, address and data packet size in U…
25 This sample uses an external breakout for the sensor. A devicetree
39 build this sample app using:
41 .. zephyr-app-commands::
42 :zephyr-app: samples/sensor/grow_r502a
[all …]
/Zephyr-latest/samples/bluetooth/broadcaster_multiple/
DREADME.rst1 .. zephyr:code-sample:: bluetooth_broadcaster_multiple
3 :relevant-api: bluetooth
13 This sample advertises two non-connectable non-scannable advertising sets with
17 When building this sample combined with a Bluetooth LE Controller, the
19 the Controller's :kconfig:option:`CONFIG_BT_CTLR_ADV_DATA_LEN_MAX` value. The size of the
30 This sample can be found under
33 To test this sample use the Observer sample with Extended Scanning enabled,
37 See :zephyr:code-sample-category:`Bluetooth samples section <bluetooth>` for details.

12345678910>>...16