devboard/

directory
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause

README

Support for STM32 development boards

Supported boards

az3166

MXCHIP Azure IoT DevKit: EMW3166 (STM32F412RG + BCM43362 + 2MB QSPI Flash)

AZ3166

devebox-h743

DevEBox STM32H743: (STM32H743VIT6 + 8MB QSPI Flash W25Q64JVSIQ)

DevEBox STM32H743

emw3162

MXCHIP EMW3162: (STM32F205RGT6 + BCM43362)

EMW3162

f4-discovery

ST STM32F4-Discovery

STM32F4-Discovery

minipro-f405

STM32_MiNi_Pro: (STM32F405RGT6 + 2MB SPI Flash W25Q16JVSIQ + USB to UART/RESET/BOOT0 CH340C)

minipro-f405

nucleo-l476rg

ST NUCLEO-L476RG

NUCLEO-L476RG

nucleo-l496zg

ST NUCLEO-L496ZG

NUCLEO-L496ZG

Directory structure

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

board

The board directory contains Go packages that provide the interface to the peripherals available on the board such as buttons, LEDs, etc. There is also an init package that imported configures the whole system for typical usage. Usually you don't need to import it explicitly because any other package in the board directory imports init itself to ensure proper operation.

doc

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

examples

The examples directory contains simple programs that demonstrate how to use the available Go packages to work with the board and various external peripherals connected to it.

Directories

Path Synopsis
az3166
examples/blinky
This example shows the basic usage of available LEDs.
This example shows the basic usage of available LEDs.
devebox-h743
examples/fputest
This program tests the thread scheduler according to saving/restoring a floating-point context.
This program tests the thread scheduler according to saving/restoring a floating-point context.
emw3162
examples/blinky
This example shows the basic usage of available LEDs.
This example shows the basic usage of available LEDs.
examples/dma
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/spi
SPI loop test: wire PB14 and PB15 together.
SPI loop test: wire PB14 and PB15 together.
f4-discovery
examples/blinky
This example shows the basic usage of available LEDs and button.
This example shows the basic usage of available LEDs and button.
examples/display
Display draws on the connected display.
Display draws on the connected display.
examples/dma
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/espat
Espat is an ESP-AT based TCP echo server.
Espat is an ESP-AT based TCP echo server.
examples/espnet
Espnet is an ESP-AT based TCP echo server.
Espnet is an ESP-AT based TCP echo server.
examples/gctest
This example forces the garbage collector to work hard and periodically prints statistics of the memory allocator.
This example forces the garbage collector to work hard and periodically prints statistics of the memory allocator.
examples/guncon
Guncon reads the state of PS1 Namco GunCon (G-Con).
Guncon reads the state of PS1 Namco GunCon (G-Con).
examples/irqbtn
This example shows how to handle the push-button with interrupts and with the software debouncing done right.
This example shows how to handle the push-button with interrupts and with the software debouncing done right.
examples/onewire
Onewire uses broadcast addressing mode to efficiently start the temperature conversion on all DS18x2x sensors on the 1-Wire bus simultaneously.
Onewire uses broadcast addressing mode to efficiently start the temperature conversion on all DS18x2x sensors on the 1-Wire bus simultaneously.
examples/spi
SPI loop test: wire PB14 and PB15 together.
SPI loop test: wire PB14 and PB15 together.
minipro-f405
examples/blinky
This example shows the basic usage of available LEDs and button.
This example shows the basic usage of available LEDs and button.
examples/helloworld
The helloworld program prints text in a loop to the standard output.
The helloworld program prints text in a loop to the standard output.
nucleo-l476rg
examples/blinky
This example shows the basic usage of the available LED and button.
This example shows the basic usage of the available LED and button.
examples/dma
Dma tests different ways of coping memory.
Dma tests different ways of coping memory.
examples/espat
Espat is an ESP-AT based TCP echo server.
Espat is an ESP-AT based TCP echo server.
examples/espn
Espn is ESP-AT based TCP echo server.
Espn is ESP-AT based TCP echo server.
examples/generator
Generator implements a square wave generator using an STM32 timer.
Generator implements a square wave generator using an STM32 timer.
examples/goroutines
This example runs two goroutines that set on/off the user LED concurently.
This example runs two goroutines that set on/off the user LED concurently.
examples/irqbtn
This example shows how to handle the push-button with interrupts and with the software debouncing done right.
This example shows how to handle the push-button with interrupts and with the software debouncing done right.
examples/pwm
PWM uses timer to implement PWM blinking of the onboard LED.
PWM uses timer to implement PWM blinking of the onboard LED.
examples/reboot
Reboot shows the way to perform unsafe reboot of the ST32L746 MCU.
Reboot shows the way to perform unsafe reboot of the ST32L746 MCU.
examples/shell
Shell shows how to use the Embedded Go virtual filesystem.
Shell shows how to use the Embedded Go virtual filesystem.
examples/spi
SPI loop test: wire PA6 and PA7 together.
SPI loop test: wire PA6 and PA7 together.
examples/upsexti
Upsexti uses EXTI to detect changes in the button state.
Upsexti uses EXTI to detect changes in the button state.
examples/upstim
Upstime uses a timer to detect changes in the button state.
Upstime uses a timer to detect changes in the button state.
examples/usart
This example tests the USART1 interface.
This example tests the USART1 interface.
nucleo-l496zg
examples/blinky
This example shows the basic usage of available LEDs and button.
This example shows the basic usage of available LEDs and button.
examples/dma
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/gctest
This example forces the garbage collector to work hard and periodically prints statistics of the memory allocator.
This example forces the garbage collector to work hard and periodically prints statistics of the memory allocator.
examples/irqbtn
This example shows how to handle the push-button with interrupts and with the software debouncing done right.
This example shows how to handle the push-button with interrupts and with the software debouncing done right.
examples/spi
SPI loop test: wire PA6 and PA7 together.
SPI loop test: wire PA6 and PA7 together.

Jump to

Keyboard shortcuts

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