write

package
v0.0.0-...-61cb2c6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteImageWithSerial

func WriteImageWithSerial(toolPath string, imagePath string, options WriteImageOptions) error

Types

type WriteImageOptions

type WriteImageOptions struct {
	Chip       string                  //default: auto
	Partition  options.PartitionSchema //必須
	SerialBaud int                     //必須
	SerialPort string                  //指定しない場合は自動検出
	FlashMode  string                  //default: keep
	FlashFreq  string                  //default: keep
	FlashSize  string                  //default: detect
	NoVerify   bool                    //default: true
}

func (WriteImageOptions) ToCmdOptionsText

func (o WriteImageOptions) ToCmdOptionsText(imagePath string) []string

Jump to

Keyboard shortcuts

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