devboard/

directory
v0.0.9 Latest Latest
Warning

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

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

README

Support for I.MX RT development boards

Supported boards

fet1061

Forlinx FET1061–S System On Module: MIMXRT1061CVL5B + 4 MB QSPI NOR Flash W25Q32JVSIQ

FET1061-S

teensy4

PJRC Teensy 4.x development boards: Teensy 4.0, Teensy 4.1

Teensy 4.x boards

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
fet1061
examples/blinky
Blinky flashes the on-board LED.
Blinky flashes the on-board LED.
examples/crudeblinky
Crudeblinky flashes the on-board LED without using HAL or any other packages outside the Embedded Go standard library.
Crudeblinky flashes the on-board LED without using HAL or any other packages outside the Embedded Go standard library.
examples/display
Display draws on the connected display.
Display draws on the connected display.
examples/dma
Dma shows how to use the DMA controller to perform the memory to memory transfer.
Dma shows how to use the DMA controller to perform the memory to memory transfer.
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/httpserver
Httpserver runs the Go net/http server using the ESP-AT TCP/IP stack.
Httpserver runs the Go net/http server using the ESP-AT TCP/IP stack.
examples/onewire
Onewire uses SkipROM (broadcast) addressing to configure and run all DS18x2x temperature sensors on the 1-Wire bus conected to the LPUART2 interface.
Onewire uses SkipROM (broadcast) addressing to configure and run all DS18x2x temperature sensors on the 1-Wire bus conected to the LPUART2 interface.
examples/spi
SPI loop test: wire P91 and P92 together.
SPI loop test: wire P91 and P92 together.
examples/uart
Uart demonstrates how to use LPUART peripheral.
Uart demonstrates how to use LPUART peripheral.
examples/uartadvanced
Uartadvanced demonstrates how to use the LPUART driver in very custom way including details like configuring interrupts and DMA channels.
Uartadvanced demonstrates how to use the LPUART driver in very custom way including details like configuring interrupts and DMA channels.
teensy4
board/system
Package system, when imported, performs the default configuration of the Teensy 4.x board.
Package system, when imported, performs the default configuration of the Teensy 4.x board.
examples/ads1115
Ads1115 communicates with the ADS1115 analog to digital converter using I2C protocol.
Ads1115 communicates with the ADS1115 analog to digital converter using I2C protocol.
examples/blinky
Blinky flashes the on-board LED.
Blinky flashes the on-board LED.
examples/crudeblinky
Crudeblinky flashes the on-board LED without using HAL or any other packages outside the Embedded Go standard library.
Crudeblinky flashes the on-board LED without using HAL or any other packages outside the Embedded Go standard library.
examples/display
Display draws on the connected display.
Display draws on the connected display.
examples/displayi2c
Displayi2c draws on the connected I2C display.
Displayi2c draws on the connected I2C display.
examples/dma
Dma shows how to use the DMA controller to perform the memory to memory transfer.
Dma shows how to use the DMA controller to perform the memory to memory transfer.
examples/eeprom
Eeprom writes and reads the memory of the 24C64/128/256 I2C EEPROM.
Eeprom writes and reads the memory of the 24C64/128/256 I2C EEPROM.
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/helloworld
Helloworld endlessly prints a line of text on the system console.
Helloworld endlessly prints a line of text on the system console.
examples/httpserver
Httpserver runs the Go net/http server using the ESP-AT TCP/IP stack.
Httpserver runs the Go net/http server using the ESP-AT TCP/IP stack.
examples/onewire
Onewire uses SkipROM addressing to configure and run all DS18x2x temperature sensors on the 1-Wire bus conected to the LPUART2 interface.
Onewire uses SkipROM addressing to configure and run all DS18x2x temperature sensors on the 1-Wire bus conected to the LPUART2 interface.
examples/pcf8574
Pcf8574 writes consecutive numbers to the remote I/O expander chip (PCF8574) using I2C protocol.
Pcf8574 writes consecutive numbers to the remote I/O expander chip (PCF8574) using I2C protocol.
examples/uart
Uart demonstrates how to use LPUART peripheral.
Uart demonstrates how to use LPUART peripheral.
examples/uartadvanced
Uartadvanced demonstrates how to use the LPUART peripheral including all details like interrupts and DMA.
Uartadvanced demonstrates how to use the LPUART peripheral including all details like interrupts and DMA.
examples/usb
Usb works as en Echo Server on the second USB serial port, writting back all received data.
Usb works as en Echo Server on the second USB serial port, writting back all received data.
examples/usbserial
Usbserial works as en Echo Server on the second USB serial port, writting back all received data.
Usbserial works as en Echo Server on the second USB serial port, writting back all received data.

Jump to

Keyboard shortcuts

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