firmware

package
v0.0.0-...-17bb7b9 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildFirmware

func BuildFirmware(ctx context.Context, buildConfig BuildConfig) error

func GenerateFirmwareFiles

func GenerateFirmwareFiles(ctx context.Context, workDir string, shouldClearWorkDir bool, cfg *config.Device) error

func RootCmd

func RootCmd() *cli.Command

Types

type BuildConfig

type BuildConfig struct {
	WorkDir      string
	ConfigFile   string
	OnlyGenerate bool
	ClearWorkDir bool
}

BuildConfig is aimed to provide build information independently of how that information was obtained.

type Flasher

type Flasher interface {
	Flash(ctx context.Context, device *config.Device, workDir string) error
}

func NewFlasher

func NewFlasher(device *config.Device) Flasher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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