devboard/

directory
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2025 License: BSD-3-Clause

README

Support for the Raspberry Pi microcontroller development boards

Supported boards

Raspberry Pi Pico 2

Raspberry Pi Pico 2 development board (RP2350 + 4 MB QSPI NOR Flash W25Q32RV)

Pico 2

WeAct RP2350A-V10-16MB

WeAct Studio RP2350A-V10-16MB development board (RP2350 + 16 MB QSPI NOR Flash W25Q128JVSQ). This board has several differences compared to the Pico 2 and many clones, where the most important is the linear regulator instead of SMPTS to provide VCCIO which considerably reduces the overall noise on the board and the output voltage ripple at the expense of the higher power consumption. It's mostly pin compatible with the original Pico 2 (the difference is an additional analog input in place of VREF).

RP2350A-V10-16MB

Directory structure

Every supported board has its directory here. Each of them contains three or four subdirectories:

board

The board directory contains Go packages that provide the interface to the peripherals available on the board such as buttons, LEDs, etc.

doc

The doc directory may contain documentation, diagrams, photos and other useful resources.

examples

The examples directory contains simple programs that demonstrate how to work with the board in Go.

module (optional)

If there are add-on modules available for the board the module directory contains drivers and examples for the supported modules.

Directories

Path Synopsis
pico2
examples/blinky command
Blinky flashes the on-board LED.
Blinky flashes the on-board LED.
examples/blinky1 command
Blinky flashes the on-board LED.
Blinky flashes the on-board LED.
examples/crudeblinky command
Crudeblinky flashes the on-board LED without using HAL.
Crudeblinky flashes the on-board LED without using HAL.
examples/display command
Display draws on the connected display.
Display draws on the connected display.
examples/dma command
Dma shows how to use the DMA controller for RAM to RAM transfers.
Dma shows how to use the DMA controller for RAM to RAM transfers.
examples/gpiotest command
Gpiotest tests all GPIOs exposed as the Pico 2 GPIO pins.
Gpiotest tests all GPIOs exposed as the Pico 2 GPIO pins.
examples/irqpin command
Irqpin shows how to setup an IO pin to be an interrupt source.
Irqpin shows how to setup an IO pin to be an interrupt source.
examples/readpin command
Readpin polls the state of the GP15 pin and shows it using the onboard LED.
Readpin polls the state of the GP15 pin and shows it using the onboard LED.
examples/smpblinky command
Smpblinky tests the Go and noos schedulers.
Smpblinky tests the Go and noos schedulers.
examples/spi command
SPI loop test: wire GP3 and GP4 together.
SPI loop test: wire GP3 and GP4 together.
examples/uart command
Uart allows to tests the communication over UART peripheral.
Uart allows to tests the communication over UART peripheral.
examples/ws2812 command
WS2812 uses the UART peripheral to drive the string of the WS2812 RGB LEDs.
WS2812 uses the UART peripheral to drive the string of the WS2812 RGB LEDs.
module/waveshare/examples/pico-8seg-led command
Pico-8seg-led uses standard fmt.Fprintf function to prints different chars and numbers on the 8-segment display.
Pico-8seg-led uses standard fmt.Fprintf function to prints different chars and numbers on the 8-segment display.
module/waveshare/examples/pico-lcd-1.3 command
Pico-lcd-1.3 is similar to the Waveshare demo code for this module.
Pico-lcd-1.3 is similar to the Waveshare demo code for this module.
weacta10
examples/blinky command
Blinky flashes the both on-board LEDs using two goroutines.
Blinky flashes the both on-board LEDs using two goroutines.
examples/irqbtn command
Irqbtn shows how to use interrupts to wait for the onboard button to be pressed.
Irqbtn shows how to use interrupts to wait for the onboard button to be pressed.
examples/smpblinky command
Smpblinky tests the Go and noos schedulers.
Smpblinky tests the Go and noos schedulers.
examples/ws2812 command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL