flasher

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ESP32

type ESP32 struct {
	// contains filtered or unexported fields
}

func NewESP32

func NewESP32(fbqn string) *ESP32

func (*ESP32) Init

func (e *ESP32) Init() error

func (*ESP32) SetPath

func (e *ESP32) SetPath(path string)

func (*ESP32) SetPort

func (e *ESP32) SetPort(port string)

func (*ESP32) Upload

func (e *ESP32) Upload() error

type Flasher

type Flasher interface {
	SetPort(port string)
	SetPath(path string)
	Init() error
	Upload() error
}

Jump to

Keyboard shortcuts

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