/Zephyr-latest/samples/subsys/lorawan/class_a/ |
D | README.rst | 1 .. zephyr:code-sample:: lorawan-class-a 15 This sample can be found under 18 Before building the sample, make sure to select the correct region in the 21 The following commands build and flash the sample. 34 To run this sample multiple times, choose one of the following options: 37 …Modify the sample code to increment ``join_cfg.otaa.dev_nonce`` before each connection attempt and…
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/ |
D | README.rst | 1 .. _x-nucleo-iks4a1-shub1-sample: 3 X-NUCLEO-IKS4A1 shield SHUB1 (Mode 3) sample 8 This sample is provided as an example to test the X-NUCLEO-IKS4A1 shield 12 This sample enables LSM6DSV16X IMU in sensorhub mode with LIS2MDL magnetometer and 24 This sample communicates over I2C with the X-NUCLEO-IKS4A1 shield 31 This sample runs with X-NUCLEO-IKS4A1 stacked on any board with a matching
|
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/ |
D | README.rst | 1 .. _x-nucleo-iks4a1-shub2-sample: 3 X-NUCLEO-IKS4A1: shield SHUB2 (Mode 2) sample 8 This sample is provided as an example to test the X-NUCLEO-IKS4A1 shield 12 This sample enables LSM6DSO16IS IMU in sensorhub mode with LIS2MDL magnetometer and 24 This sample communicates over I2C with the X-NUCLEO-IKS4A1 shield 31 This sample runs with X-NUCLEO-IKS4A1 stacked on any board with a matching
|
/Zephyr-latest/samples/bluetooth/bap_broadcast_assistant/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_bap_broadcast_assistant 12 The sample will automatically try to connect to a device in the BAP Scan Delegator 17 Practical use of this sample requires a sink (e.g. the BAP Broadcast Audio Sink sample or 19 Source sample). 21 This sample can be found under 24 Check the :zephyr:code-sample-category:`bluetooth` samples for general information.
|
/Zephyr-latest/samples/modules/tflite-micro/hello_world/ |
D | README.rst | 1 .. zephyr:code-sample:: tflite-hello-world 9 This sample TensorFlow application replicates a sine wave and 12 The model included with the sample is trained to replicate a 17 The sample also includes a full end-to-end workflow of training 21 The sample comes in two flavors. One with TensorFlow Lite Micro 25 This README and sample have been modified from 26 `the TensorFlow Hello World sample for Zephyr`_. 28 .. _the TensorFlow Hello World sample for Zephyr: 34 The sample should work on most boards since it does not rely 68 $ west build -p auto -b mps3/corstone300/fvp samples/modules/tflite-micro/hello_world/ -T sample.te… [all …]
|
/Zephyr-latest/samples/net/sockets/big_http_download/ |
D | README.rst | 1 .. zephyr:code-sample:: sockets-big-http-download 10 The sockets/big_http_download sample application for Zephyr implements 12 the :zephyr:code-sample:`sockets-http-get` sample application, it downloads a file of 18 The source code for this sample application can be found at: 40 After the sample starts, it issues an HTTP GET request for 60 If you are doing extensive testing with this sample, please reference 68 Enable TLS support in the sample by building the project with the 81 The TLS version of this sample downloads a file from 83 (6.6MB). The certificates used by the sample are in the sample's ``src`` 84 directory and are used to access the default website configured in the sample [all …]
|
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/ |
D | phy_3d_sensor.c | 169 struct sensing_sensor_value_3d_q31 *sample; in phy_3d_sensor_submit() local 174 ret = rtio_sqe_rx_buf(sqe, sizeof(*sample), sizeof(*sample), in phy_3d_sensor_submit() 175 (uint8_t **)&sample, &buffer_len); in phy_3d_sensor_submit() 196 sample->readings[0].v[i] = custom->sensor_value_to_q31(&value[i]); in phy_3d_sensor_submit() 199 sample->header.reading_count = 1; in phy_3d_sensor_submit() 200 sample->shift = custom->shift; in phy_3d_sensor_submit() 204 sample->readings[0].x, in phy_3d_sensor_submit() 205 sample->readings[0].y, in phy_3d_sensor_submit() 206 sample->readings[0].z); in phy_3d_sensor_submit()
|
/Zephyr-latest/samples/basic/servo_motor/ |
D | README.rst | 1 .. zephyr:code-sample:: servo-motor 10 This is a sample app which drives a servomotor using the :ref:`PWM API <pwm_api>`. 12 The sample rotates a servomotor back and forth in the 180 degree range with a 23 The sample requires a servomotor whose signal pin is connected to a pin driven 25 compatible (part of the sample) and setting its node label to ``servo``. You 55 The sample has a devicetree overlay for the :zephyr:board:`bbc_microbit`. 57 This sample can be built for multiple boards, in this example we will build it
|
/Zephyr-latest/doc/services/modbus/ |
D | index.rst | 28 * :zephyr:code-sample:`modbus-rtu-server` and :zephyr:code-sample:`modbus-rtu-client` samples give 30 * :zephyr:code-sample:`modbus-tcp-server` sample is a simple Modbus TCP server. 31 * :zephyr:code-sample:`modbus-gateway` sample shows how to build a TCP to serial line
|
/Zephyr-latest/samples/drivers/misc/ft800/ |
D | README.rst | 1 .. zephyr:code-sample:: ft800 10 This sample displays a hello message and an incrementing counter using FT800 16 To use this sample, the following hardware is required: 30 This sample should work on any board that has SPI enabled and has an Arduino 40 To build the sample for `VM800C board`_ the shield must be defined as described
|
/Zephyr-latest/samples/net/lldp/ |
D | README.rst | 1 .. zephyr:code-sample:: lldp 10 The Link Layer Discovery Protocol sample application for Zephyr will enable 13 The source code for this sample application can be found at: 24 A good way to run this sample LLDP application is inside QEMU, 29 Follow these steps to build the LLDP sample application:
|
/Zephyr-latest/samples/subsys/task_wdt/ |
D | README.rst | 1 .. zephyr:code-sample:: task-wdt 10 This sample allows to test the :ref:`task watchdog <task_wdt_api>` subsystem. 15 It should be possible to build and run the task watchdog sample on almost any 21 The sample can be built and executed for the 40 Task watchdog sample application.
|
/Zephyr-latest/samples/subsys/usb/console/ |
D | README.rst | 1 .. zephyr:code-sample:: usb-cdc-acm-console 10 A simple Hello World sample, with console output coming via CDC ACM UART. 21 This sample can be built for multiple boards, in this example we will build it 30 Plug the board into a host device, for sample, a PC running Linux OS. 32 from the sample, use a command similar to :command:`minicom -D /dev/ttyACM0`.
|
/Zephyr-latest/samples/sensor/grove_light/ |
D | README.rst | 1 .. zephyr:code-sample:: grove_light 10 This sample application gets the output of the grove light sensor and prints it to the console, in 16 To use this sample, the following hardware is required: 27 overlay provided for the sample, the sensor should be connected to A0 on the Grove shield. 32 Build and flash the sample as follows, changing ``nrf52dk_nrf52832`` to your board:
|
/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/ |
D | README.rst | 1 .. zephyr:code-sample:: bbc_microbit_line_follower_robot 9 This sample controls a stand-alone line-following DFRobot Maqueen 15 To build and run this sample you'll need a `DFRobot Maqueen robot 25 Build and flash this sample project using these commands: 36 The sample program controls the robot to follow a line track and does
|
/Zephyr-latest/scripts/net/ |
D | README.txt | 1 The shell script run-sample-tests.sh runs selected Zephyr samples against 23 its counterpart when testing various network sample applications. 29 The scripts/net/run-sample-tests.sh shell script can be used in two ways: 31 1. From a Zephyr network sample test directory. 35 $ZEPHYR_BASE/scripts/net/run-sample-tests.sh 41 ./scripts/net/run-sample-tests.sh samples/net/gptp \ 46 $ZEPHYR_BASE/scripts/net/run-sample-tests.sh --scan 61 address setup for each sample test, be it the default ones or the switched 66 termination. The return value is used as a simple verdict whether the sample 73 The sample test script tries to automatically figure out the Zephyr base [all …]
|
/Zephyr-latest/samples/bluetooth/handsfree/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_handsfree 21 This sample can be found under :zephyr_file:`samples/bluetooth/handsfree` in 24 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/subsys/bindesc/read_bindesc/ |
D | README.rst | 1 .. zephyr:code-sample:: read-bindesc 10 A simple sample of :ref:`binary descriptor <binary_descriptors>` definition and reading. 15 Follow these steps to build the ``read_bindesc`` sample application:
|
/Zephyr-latest/samples/drivers/ps2/ |
D | README.rst | 1 .. zephyr:code-sample:: ps2 10 This sample demonstrates how to use the :ref:`PS/2 API <ps2_api>`. 17 The sample can be built and executed on boards supporting PS/2. 20 For the correct execution of that sample in twister, add into boards's
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/ |
D | README.rst | 1 .. zephyr:code-sample:: nrf_nrfx_prs 9 This sample shows how to use in Zephyr nRF peripherals that share the same ID 15 this sample uses the nrfx drivers directly for those peripheral instances that 18 Zephyr console and SPIM1 is used for performing additional sample transfers). 20 The sample uses two buttons: 28 The sample outputs on the standard console the hex codes of all sent and 35 on the boards supported by the sample are assigned as MOSI/MISO and TX/RX pins. 40 This sample has been tested on the Nordic Semiconductor nRF9160 DK 56 Press Button 1 to trigger a sample transfer on SPIM2 or UARTE2.
|
/Zephyr-latest/boards/adafruit/itsybitsy/doc/ |
D | index.rst | 72 Logging is done using the USB-CDC port. See the :zephyr:code-sample:`logging` sample 73 or the :zephyr:code-sample:`usb-cdc-acm-console` sample applications to see how this works. 77 The :zephyr:code-sample:`button` sample lets you test the buttons (switches) and the red LED. 78 The :zephyr:code-sample:`blinky` sample lets you test the red LED. 81 with the :zephyr:code-sample:`led-strip` sample application. 109 #. Build the Zephyr kernel and the :zephyr:code-sample:`blinky` 110 sample application:
|
/Zephyr-latest/samples/boards/st/i2c_timing/ |
D | README.rst | 1 .. zephyr:code-sample:: stm32_i2c_v2_timings 9 This sample simply demonstrate the **get_config** API of the stm32 I2C driver. 21 **or** by the present sample. 25 By enabling CONFIG_I2C_STM32_V2_TIMING flag, this sample allows to 28 snippet with the output of this sample: 43 In order to run this sample, make sure to 71 The sample gives the corresponding TIMING value to report to the Device Tree:
|
/Zephyr-latest/samples/bluetooth/beacon/ |
D | README.rst | 1 .. zephyr:code-sample:: bluetooth_beacon 22 This sample can be found under :zephyr_file:`samples/bluetooth/beacon` in the 25 See :zephyr:code-sample-category:`bluetooth` samples for details.
|
/Zephyr-latest/samples/drivers/dac/ |
D | README.rst | 1 .. zephyr:code-sample:: dac 10 This sample demonstrates how to use the :ref:`DAC driver API <dac_api>`. 23 The sample can be built and executed for the 34 The sample can be built and executed for the 45 The sample can be built and executed for the 56 The sample can be built and executed for the 67 The sample can be built and executed for the 78 The sample can be built and executed for the 89 The sample can be built and executed for the 100 The sample can be built and executed for the :zephyr:board:`twr_ke18f` as [all …]
|
/Zephyr-latest/samples/subsys/usb/webusb/ |
D | README.rst | 1 .. zephyr:code-sample:: webusb 16 This simple echo application demonstrates the WebUSB sample application. 21 This sample can be found under :zephyr_file:`samples/subsys/usb/webusb` in the 33 Build and flash webusb sample with: 44 This sample application requires the latest Google Chrome, a web page 59 The sample can be found in the webusb sample directory: 62 This sample web page demonstrates how to create and use a WebUSB 66 There are two ways to access this sample page: 71 in the webusb sample directory.
|