devboard/

directory
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 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 command
This example shows the basic usage of available LEDs.
This example shows the basic usage of available LEDs.
devebox-h743
examples/blinky command
examples/fputest command
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 command
This example shows the basic usage of available LEDs.
This example shows the basic usage of available LEDs.
examples/dma command
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/spi command
SPI loop test: wire PB14 and PB15 together.
SPI loop test: wire PB14 and PB15 together.
f4-discovery
examples/accel command
examples/blinky command
This example shows the basic usage of available LEDs and button.
This example shows the basic usage of available LEDs and button.
examples/display command
Display draws on the connected display.
Display draws on the connected display.
examples/dma command
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/gctest command
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 command
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 command
SPI loop test: wire PB14 and PB15 together.
SPI loop test: wire PB14 and PB15 together.
examples/usart command
minipro-f405
examples/blinky command
This example shows the basic usage of available LEDs and button.
This example shows the basic usage of available LEDs and button.
examples/helloworld command
The helloworld program prints text in a loop to the standard output.
The helloworld program prints text in a loop to the standard output.
examples/relay command
nucleo-l476rg
examples/blinky command
This example shows the basic usage of available LED and button.
This example shows the basic usage of available LED and button.
examples/dma command
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/goroutines command
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 command
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/rtc command
examples/shell command
examples/spi command
SPI loop test: wire PA6 and PA7 together.
SPI loop test: wire PA6 and PA7 together.
examples/usart command
This example tests the USART1 interface.
This example tests the USART1 interface.
nucleo-l496zg
examples/blinky command
This example shows the basic usage of available LEDs and button.
This example shows the basic usage of available LEDs and button.
examples/dma command
This example tests different ways of coping memory.
This example tests different ways of coping memory.
examples/gctest command
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 command
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 command
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