utils

package
v0.0.0-...-c5dba3a Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DynamicMethod

func DynamicMethod(object interface{}, methodName string, args ...interface{}) ([]reflect.Value, error)

func StartProgram

func StartProgram(name string, uart *serial.Port, baudrom int, eflashloader string, baudloader int, bins []string, erasetimeout int) bool

Types

type GenPartition

type GenPartition struct {
	IfName     string
	OfName     string
	BinAddress map[uint]string
}

func (*GenPartition) CreatePartitionBin

func (this *GenPartition) CreatePartitionBin() bool

type Image

type Image struct {
	IfBootInfoName string
	IfBinName      string
	OfImageName    string
	FWOffset       int
}

func (*Image) CreateImage

func (this *Image) CreateImage() bool

Jump to

Keyboard shortcuts

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