boardstxt

package
v0.0.0-...-9fca23b Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package boardstxt provides functions specific to linting the boards.txt configuration files of Arduino boards platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoardIDs

func BoardIDs(boardsTxt *properties.Map) []string

BoardIDs returns the list of board IDs from the given boards.txt properties.

func MenuIDs(boardsTxt *properties.Map) []string

MenuIDs returns the list of menu IDs from the given boards.txt properties.

func Properties

func Properties(platformPath *paths.Path) (*properties.Map, error)

Properties parses the boards.txt from the given path and returns the data.

func Validate

func Validate(boardsTxt *properties.Map) map[compliancelevel.Type]schema.ValidationResult

Validate validates boards.txt data against the JSON schema and returns a map of the result for each compliance level.

func VisibleBoardIDs

func VisibleBoardIDs(boardsTxt *properties.Map) []string

VisibleBoardIDs returns the list of IDs for non-hidden boards from the given boards.txt properties.

Types

This section is empty.

Jump to

Keyboard shortcuts

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