fqbn

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy