fqbn

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FQBN

type FQBN struct {
	Vendor       string
	Architecture string
	BoardID      string
	Configs      *properties.Map
}

FQBN represents an Fully Qualified Board Name string

func MustParse

func MustParse(fqbnIn string) *FQBN

MustParse parse an FQBN string from the input string or panics if the input is not a valid FQBN.

func Parse

func Parse(fqbnIn string) (*FQBN, error)

Parse parses an FQBN string from the input string

func (*FQBN) Clone

func (fqbn *FQBN) Clone() *FQBN

Clone returns a copy of this FQBN.

func (*FQBN) Match

func (fqbn *FQBN) Match(target *FQBN) bool

Match checks if the target FQBN equals to this one. The core parts are checked for exact equality while board options are loosely matched: the set of boards options of the target must be fully contained within the one of the receiver and their values must be equal.

func (*FQBN) String

func (fqbn *FQBN) String() string

String returns the FQBN as a string

func (*FQBN) StringWithoutConfig

func (fqbn *FQBN) StringWithoutConfig() string

StringWithoutConfig returns the FQBN without the Config part

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳