devboard/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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 (RP2350A + 4 MB QSPI NOR Flash W25Q32RV)

Pico 2

WeAct RP2350A-V10-16MB core board

WeAct Studio WeAct RP2350A-V10-16MB development board (RP2350A + 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).

WeAct RP2350A-V10-16MB

WeAct RP2350B core board

WeAct Studio WeAct RP2350B development board (RP2350B + 16 MB QSPI NOR Flash W25Q128JVSQ).

WeAct RP2350B

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/spotpear-pico-1.54inch-lcd 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.
examples/uart command
Uart allows to tests the communication over UART peripheral.
Uart allows to tests the communication over UART peripheral.
examples/w5500 command
W5500 tests the communication with the WIZnet W5500 TCP/IP Ethernet controller.
W5500 tests the communication with the WIZnet W5500 TCP/IP Ethernet controller.
examples/waveshare-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.
examples/waveshare-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.
examples/waveshare-pico-restouch-lcd-2.8 command
Pico-restouch-lcd-2.8 allows to test the LCD module.
Pico-restouch-lcd-2.8 allows to test the LCD module.
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.
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/irqbtncond command
Irqbtncond shows how to use interrupts to wait for the onboard button to be pressed.
Irqbtncond 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
weactb
examples/blinky command
Blinky flashes the both on-board LED.
Blinky flashes the both on-board LED.
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/irqbtncond command
Irqbtncond shows how to use interrupts to wait for the onboard button to be pressed.
Irqbtncond shows how to use interrupts to wait for the onboard button to be pressed.

Jump to

Keyboard shortcuts

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