/Zephyr-latest/tests/bsim/bluetooth/audio_samples/cap/ |
D | compile.sh | 14 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \ 16 conf_file=${sample}/prj.conf \ 17 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \ 20 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \ 22 conf_file=${sample}/prj.conf \ 23 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \ 26 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_initiator \ 27 conf_file=${sample}/prj.conf \ 28 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \ 31 sample=${ZEPHYR_BASE}/samples/bluetooth/cap_acceptor \ [all …]
|
/Zephyr-latest/samples/subsys/usb/common/ |
D | Kconfig.sample_usbd | 9 menu "USB sample options" 13 string "USB device sample manufacturer string" 16 USB device sample manufacturer string. 19 string "USB device sample product string" 20 default "USBD sample" 22 USB device sample product stringa. 25 hex "USB device sample Product ID" 28 USB device sample Product ID. 31 bool "USB device sample Self-powered attribute" 34 Set the Self-powered attribute in the sample configuration. [all …]
|
/Zephyr-latest/samples/ |
D | sample_definition_and_criteria.rst | 9 A sample is a concise Zephyr application that provides an accessible overview of one or 21 * The primary purpose of a sample is to provide a reference to the user. 27 * If a sample can provide output that can be verified, then output should be evaluated against 28 expected value to have some level of testing for the sample itself. 31 * Although being able to run a sample successfully does verify the 34 :zephyr_file:`tests/` folder. In a sample, the only thing you test is 35 buildability and, in some cases, if a sample is performing as expected, i.e. you 36 are testing the sample, not the subsystem it builds on top. 38 2. Twister should be able to build every sample. 40 * Every sample must have a YAML file. Reference: :ref:`twister_script`. [all …]
|
/Zephyr-latest/subsys/sensing/sensor/hinge_angle/ |
D | hinge_angle.c | 27 struct sensing_sensor_value_3d_q31 sample[HINGE_REPORTER_NUM]; member 104 data->sample[0].readings[0].x, in calc_hinge_angle() 105 data->sample[0].readings[0].y, in calc_hinge_angle() 106 data->sample[0].readings[0].z); in calc_hinge_angle() 108 data->sample[1].readings[0].x, in calc_hinge_angle() 109 data->sample[1].readings[0].y, in calc_hinge_angle() 110 data->sample[1].readings[0].z); in calc_hinge_angle() 122 struct sensing_sensor_value_q31 *sample; in hinge_reporter_on_data_event() local 129 memcpy(&data->sample[i], buf, sizeof(data->sample[i])); in hinge_reporter_on_data_event() 139 ret = rtio_sqe_rx_buf(data->sqe, sizeof(*sample), sizeof(*sample), in hinge_reporter_on_data_event() [all …]
|
/Zephyr-latest/samples/subsys/ipc/openamp_rsc_table/ |
D | README.rst | 1 .. zephyr:code-sample:: openamp-rsc-table 13 * `Linux rpmsg client sample <https://elixir.bootlin.com/linux/latest/source/samples/rpmsg/rpmsg_cl… 16 This sample implementation is compatible with platforms that embed 30 Running the client sample 52 …[ 44.625407] rpmsg_client_sample virtio0.rpmsg-client-sample.-1.1024: new channel: 0x401 -> 0x40… 53 …[ 44.631401] rpmsg_client_sample virtio0.rpmsg-client-sample.-1.1024: incoming msg 1 (src: 0x400) 54 …[ 44.640614] rpmsg_client_sample virtio0.rpmsg-client-sample.-1.1024: incoming msg 2 (src: 0x400) 56 …[ 45.152269] rpmsg_client_sample virtio0.rpmsg-client-sample.-1.1024: incoming msg 99 (src: 0x40… 57 …[ 45.157678] rpmsg_client_sample virtio0.rpmsg-client-sample.-1.1024: incoming msg 100 (src: 0x4… 58 [ 45.158822] rpmsg_client_sample virtio0.rpmsg-client-sample.-1.1024: goodbye! [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/audio_samples/bap_unicast_client/ |
D | compile.sh | 15 sample=${ZEPHYR_BASE}/samples/bluetooth/bap_unicast_client \ 16 conf_file=${sample}/prj.conf \ 17 conf_overlay=${sample}/boards/nrf5340_audio_dk_nrf5340_cpuapp.conf \ 23 sample=${ZEPHYR_BASE}/samples/bluetooth/bap_unicast_client \ 24 conf_file=${sample}/prj.conf \ 25 conf_overlay=${sample}/overlay-bt_ll_sw_split.conf \
|
/Zephyr-latest/samples/net/sockets/http_client/ |
D | Kconfig | 1 # Private config options for http-client sample app 6 mainmenu "Networking http-client sample application" 9 int "Send a sample HTTP query this many times" 12 Send a sample HTTP query this many times before exiting. A value of 13 zero means that the sample application in default way.
|
/Zephyr-latest/doc/templates/ |
D | sample.tmpl | 1 .. zephyr:code-sample:: a_unique_id_for_the_sample 2 :name: A descriptive short name for the sample 3 :relevant-api: space-separated list of Doxygen groups of APIs this sample is a good showcase of 5 Short text description of the sample. It is recommended to word this as if you were completing 6 the sentence "This code sample shows how to ..."). 10 [A longer description about the sample and what it does] 25 [ How to build the sample and how to run it. Pointers to where to find the 26 sample in the source tree and how to configure it and run it for a specific 29 [When showing code-blocks with sample build command instructions, use the
|
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | msgq.c | 29 struct sample_data sample; in send_msg_thread() local 36 sample.data1 = MESSAGE1; in send_msg_thread() 37 status = osMessageQueuePut(message_id, &sample, 0, osWaitForever); in send_msg_thread() 66 sample.data1 = MESSAGE2; in send_msg_thread() 67 status = osMessageQueuePut(message_id, &sample, 0, 0); in send_msg_thread() 74 sample.data1 = MESSAGE2; in send_msg_thread() 75 status = osMessageQueuePut(message_id, &sample, 0, TIMEOUT_TICKS / 2); in send_msg_thread() 80 sample.data1 = MESSAGE2; in send_msg_thread() 81 status = osMessageQueuePut(message_id, &sample, 0, TIMEOUT_TICKS * 2); in send_msg_thread() 158 struct sample_data sample; in ZTEST() local [all …]
|
/Zephyr-latest/samples/subsys/rtio/sensor_batch_processing/ |
D | app.overlay | 15 sample-period = <100>; 16 sample-size = <16>; 24 sample-period = <120>; 25 sample-size = <16>;
|
/Zephyr-latest/samples/bluetooth/central_otc/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_central_otc 10 Similar to the :zephyr:code-sample:`ble_central` sample, except that this 12 And this sample is to select object sequentially, to read metadata, to write data, 22 This sample can be found under :zephyr_file:`samples/bluetooth/central_otc` in the 25 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/peripheral_ht/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_peripheral_ht 10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this 13 On Nordic nRF devices, this sample uses the built-in TEMP peripheral to return 27 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_ht` in the 30 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_peripheral_hids 10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this 14 In the default configuration the sample uses passkey authentication (displays a 18 sample with ``CONFIG_SAMPLE_BT_USE_AUTHENTICATION=n``. 29 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_hids` in the 32 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/posix/philosophers/ |
D | README.rst | 1 .. zephyr:code-sample:: posix-philosophers 9 This sample implements Zephyr's :zephyr:code-sample:`dining-philosophers` sample using the 10 :ref:`POSIX API <posix_support>`. The source code for this sample can be found under 42 Like the original philosophers sample, the POSIX variant also enables 55 For additional information, please refer to the :zephyr:code-sample:`dining-philosophers` sample.
|
/Zephyr-latest/samples/bluetooth/periodic_adv_rsp/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_periodic_adv_rsp 13 This sample will scan for the corresponding sync sample and send the required 20 application specific. In this sample it is decided by the PAwR advertiser. 33 This sample can be found under :zephyr_file:`samples/bluetooth/periodic_adv_rsp` in 36 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_sync_rsp` in the 37 Zephyr tree that will synchronize and respond to this sample. 39 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/net/virtual/ |
D | README.rst | 1 .. zephyr:code-sample:: virtual-network-interface 5 Create a sample virtual network interface. 10 This sample application creates a sample virtual network interface for 21 The sample provides tunnel interface which runs on top of the IPv6 tunnel. 23 The source code for this sample application can be found at: 35 to create a sample tunnels in host side. 41 Note that the sample application expects that the board provides 42 an Ethernet network interface. Build the sample application like this:
|
/Zephyr-latest/samples/sysbuild/hello_world/ |
D | README.rst | 1 .. zephyr:code-sample:: sysbuild_hello_world 4 Run a hello world sample on multiple board targets 9 The sample demonstrates how to build a Hello World application for two board 10 targets with :ref:`sysbuild`. This sample can be useful to test, for example, 22 This sample needs to be built with Sysbuild by using the ``--sysbuild`` option. 28 It is recommended to use sample setups from 29 :zephyr_file:`samples/sysbuild/hello_world/sample.yaml` using the 32 Here's an example to build and flash the sample for the 44 :zephyr_file:`samples/sysbuild/hello_world/sample.yaml` setup: 49 :west-args: -T sample.sysbuild.hello_world.nrf54h20dk_cpuapp_cpurad [all …]
|
/Zephyr-latest/samples/bluetooth/peripheral_dis/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_peripheral_dis 10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this 22 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_dis` in the 25 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/peripheral_esp/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_peripheral_esp 9 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this 23 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_esp` in the 26 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/peripheral_gatt_write/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_peripheral_gatt_write 10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this 23 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_gatt_write` 26 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/peripheral_ots/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_peripheral_ots 10 Similar to the :zephyr:code-sample:`ble_peripheral` sample, except that this 22 This sample can be found under :zephyr_file:`samples/bluetooth/peripheral_ots` in the 25 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/bluetooth/iso_central/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_central_iso 10 This sample demonstrates how to use an isochronous channel as a central. 11 The sample scans for a peripheral, establishes a connection, and sets up a connected isochronous ch… 13 It is recommended to run this sample together with the :zephyr:code-sample:`ble_peripheral_iso` sam… 15 To run the sample with an encrypted isochronous channel, enable :kconfig:option:`CONFIG_BT_SMP`. 27 This sample can be found under :zephyr_file:`samples/bluetooth/iso_central` in 47 See :zephyr:code-sample-category:`bluetooth` samples for more details.
|
/Zephyr-latest/samples/subsys/usb/audio/headphones_microphone/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-audio-headphones-microphone 10 This sample app demonstrates use of a USB Audio driver by the Zephyr 11 project. This very simple sample that performs loopback over IN/OUT 18 In order to build the sample an overlay file with required options 23 After you have built and flashed the sample app image to your board, plug the 29 Steps to test the sample: 31 - Build and flash the sample as described above. 38 This sample can be found under
|
/Zephyr-latest/samples/subsys/usb/audio/headset/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-audio-headset 10 This sample app demonstrates use of a USB Audio driver by the Zephyr 11 project. This very simple sample that performs loopback over IN/OUT 17 In order to build the sample an overlay file with required options 22 After you have built and flashed the sample app image to your board, plug the 28 Steps to test the sample: 30 - Build and flash the sample as described above. 37 This sample can be found under
|
/Zephyr-latest/samples/bluetooth/periodic_sync_rsp/ |
D | README.rst | 1 .. zephyr:code-sample:: ble_periodic_adv_sync_rsp 13 This sample will echo the data received in subevent indications back to the 17 application specific. In this sample it is decided by the PAwR advertiser. 21 Flash this sample to multiple devices and they will be given different 34 This sample can be found under :zephyr_file:`samples/bluetooth/periodic_sync_rsp` in 37 Use the sample found under :zephyr_file:`samples/bluetooth/periodic_adv_rsp` on 39 sample and transfer the synchronization info. 41 See :zephyr:code-sample-category:`bluetooth` samples for details.
|