Home
last modified time | relevance | path

Searched full:pi (Results 1 – 25 of 133) sorted by relevance

123456

/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/
Dpi.c10 * @brief pi computation portion of FPU sharing test
18 * Testing utilizes a pair of tasks that independently compute pi. The lower
22 * The following formula is used to compute pi:
24 * pi = 4 * (1 - 1/3 + 1/5 - 1/7 + 1/9 - ... )
26 * This series converges to pi very slowly. For example, performing 50,000
29 * A reference value of pi is computed once at the start of the test. All
69 * @brief Entry point for the low priority pi compute task
75 volatile FP_TYPE pi; /* volatile to avoid optimizing out of loop */ in calculate_pi_low() local
84 pi = FP_CONSTANT(1.0); in calculate_pi_low()
88 pi += sign / divisor; in calculate_pi_low()
[all …]
Dmain.c23 * Enable round robin scheduling to allow both the low priority pi in generic_setup()
24 * computation and load/store tasks to execute. The high priority pi in generic_setup()
/Zephyr-latest/samples/arch/smp/pi/
DREADME.rst2 :name: SMP Pi
4 Calculate the first 240 digits of Pi on multiple execution units.
8 This sample application calculates Pi independently in many threads, and
24 This project outputs Pi values calculated by each thread and in the end total time
29 :zephyr-app: samples/arch/smp/pi
40 Calculate first 240 digits of Pi independently by 16 threads.
41 Pi value calculated by thread #0: 3141592653589793238462643383279502884197...
42 Pi value calculated by thread #1: 3141592653589793238462643383279502884197...
44 Pi value calculated by thread #14: 314159265358979323846264338327950288419...
45 Pi value calculated by thread #15: 314159265358979323846264338327950288419...
Dsample.yaml2 description: Calculation of Pi independently in
4 name: SMP Pi
14 - "Calculate first [0-9]+ digits of Pi independently by [0-9]+ threads.(.*)"
15 - "Pi value calculated by thread #[0-9]+: [0-9]+(.*)"
18 sample.smp.pi:
/Zephyr-latest/boards/raspberrypi/rpi_5/doc/
Dindex.rst6 `Raspberry Pi 5 product-brief`_
25 - Raspberry Pi standard 40-pin header
32 The Raspberry Pi 5 board configuration supports the following hardware features:
53 Not all hardware features are supported yet. See `Raspberry Pi hardware`_ for the complete list of …
70 3. Insert the Micro SD card and power on the Raspberry Pi 5.
72 then, You will see the Raspberry Pi 5 running the :file:`zephyr.bin`.
96 Insert the Micro SD card and power on the Raspberry Pi 5. And then, the STAT LED will start to blin…
106 * `Raspberry Pi Debug Probe`_
110 Use the JST cable to connect the Raspberry Pi Debug Probe UART port to the Raspberry Pi 5 UART port…
112 Then connect the Raspberry Pi Debug Probe to your computer with a USB cable.
[all …]
/Zephyr-latest/drivers/sensor/rpi_pico_temp/
DKconfig1 # Raspberry Pi Pico temperature sensor configuration options
7 bool "Raspberry Pi Pico CPU Temperature Sensor"
13 Enable driver for Raspberry Pi Pico CPU temperature sensor.
/Zephyr-latest/drivers/flash/
DKconfig.rpi_pico6 bool "Raspberry Pi Pico flash driver"
14 Enable Raspberry Pi Pico flash driver.
/Zephyr-latest/drivers/clock_control/
DKconfig.rpi_pico1 # Raspberry Pi Pico Clock Controller Driver configuration options
7 bool "Raspberry Pi Pico Clock Controller Driver"
/Zephyr-latest/drivers/usb/udc/
DKconfig.rpi_pico5 bool "Driver for an Raspberry PI Pico USB device controller"
10 Driver for an Raspberry PI Pico USB device controller.
/Zephyr-latest/soc/raspberrypi/rpi_pico/rp2350/
Dsoc.c9 * @brief System/hardware module for Raspberry Pi RP235xx MCUs
12 * for the Raspberry Pi RP235xx (RP2350A, RP2350B, RP2354A, RP2354B).
/Zephyr-latest/boards/raspberrypi/rpi_4b/doc/
Dindex.rst5 see <https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/>
9 see <https://www.raspberrypi.com/documentation/computers/raspberry-pi.html>
13 The Raspberry Pi 4 Model B board configuration supports the following
67 Hello World! Raspberry Pi 4 Model B!
/Zephyr-latest/boards/raspberrypi/rpi_pico/doc/
Dindex.rst6 The Raspberry Pi Pico and Pico W are small, low-cost, versatile boards from
7 Raspberry Pi. They are equipped with an RP2040 SoC, an on-board LED,
34 :alt: Raspberry Pi Pico
39 :alt: Raspberry Pi Pico W
41 Raspberry Pi Pico (above) and Pico W (below)
42 (Images courtesy of Raspberry Pi)
139 PIO programs are assembled using :command:`pioasm`, a tool provided by Raspberry Pi.
164 Building for the Raspberry Pi Pico W requires the AIROC binary blobs
208 The Raspberry Pi Pico has an SWD interface that can be used to program
236 …ct ``cmsis-dap`` and ``raspberrypi-swd`` is described in `Getting Started with Raspberry Pi Pico`_.
[all …]
/Zephyr-latest/tests/kernel/fpu_sharing/generic/
DREADME.txt8 2) independently compute pi and check for any errors
69 Pi calculation OK after 50 (high) + 10 (low) tests (computed 3.141598)
70 Pi calculation OK after 150 (high) + 31 (low) tests (computed 3.141598)
71 Pi calculation OK after 250 (high) + 51 (low) tests (computed 3.141598)
72 Pi calculation OK after 350 (high) + 72 (low) tests (computed 3.141598)
73 Pi calculation OK after 450 (high) + 92 (low) tests (computed 3.141598)
/Zephyr-latest/dts/bindings/gpio/
Draspberrypi,pico-header.yaml5 GPIO pins exposed on Raspberry Pi Pico headers.
7 The Raspberry Pi Pico layout provides 2 columns of 20 pins headers
Draspberrypi-40pins-header.yaml5 GPIO pins exposed on Raspberry Pi 40-pin header.
7 The Raspberry Pi layout provides a 2x20 pins header.
/Zephyr-latest/soc/raspberrypi/rpi_pico/common/
Dsoc.c11 * @brief System/hardware module for Raspberry Pi RP2xxx family of processors
14 * for the Raspberry Pi RP2xxx family of processors (RP2040, RP235x).
/Zephyr-latest/boards/raspberrypi/rpi_pico2/doc/
Dindex.rst6 The Raspberry Pi Pico 2 is the second-generation product in the Raspberry Pi
7 Pico family. From the `Raspberry Pi website <https://www.raspberrypi.com/documentation/microcontrol…
88 device, e.g. using OpenOCD with the `Raspberry Pi Debug Probe <https://www.raspberrypi.com/document…
/Zephyr-latest/soc/raspberrypi/rpi_pico/rp2040/
DKconfig1 # Raspberry Pi RP2XXX MCU line
17 Enable support for Raspberry Pi RP2040 MCU series
/Zephyr-latest/samples/modules/tflite-micro/hello_world/src/
Dconstants.h21 * which is from 0 to (2 * Pi). We approximate Pi to avoid requiring additional
/Zephyr-latest/boards/wiznet/w5500_evb_pico/doc/
Dindex.rst10 Pi RP2040 and fully hardwired TCP/IP controller W5500 - and basically works
11 the same as Raspberry Pi Pico board but with additional Ethernet via W5500.
102 External pin mapping on the W5500_EVB_PICO is identical to the Raspberry Pi
104 Pi Pico, the blinky example works as intended. The W5500 is routed to the SPI0
170 The Raspberry Pi Pico, and thus the W55500 Evaluation Board, has an SWD
203 described in `Getting Started with Raspberry Pi Pico`_. Any other SWD debug
225 If you don't have an SWD adapter, you can flash the Raspberry Pi Pico with
289 .. _Getting Started with Raspberry Pi Pico:
/Zephyr-latest/boards/raspberrypi/rpi_pico2/
Dboard.yml3 full_name: Raspberry Pi Pico 2
/Zephyr-latest/samples/arch/smp/pi/src/
Dmain.c14 * Amount of digits of Pi to calculate, must be a multiple of 4,
41 * Adapted and improved (for random number of digits) version of Pi in test_thread()
85 printk("Calculate first %d digits of Pi independently by %d threads.\n", in main()
110 printk("Pi value calculated by thread #%d: %s\n", i, th_buffer[i]); in main()
/Zephyr-latest/boards/raspberrypi/rpi_5/
Drpi_5.yaml2 name: Raspberry Pi 5
Dboard.yml3 full_name: Raspberry Pi 5 (Cortex-A76)
/Zephyr-latest/boards/raspberrypi/rpi_4b/
Drpi_4b.yaml2 name: Raspberry Pi 4 Model B

123456