Documentation
¶
Overview ¶
Package flash provides a dutagent module that reads or writes the SPI flash on the DUT. This module is a wrapper around a flash tool that is executed on a dutagent.
Index ¶
Constants ¶
View Source
const DefaultFlashTool = "/bin/flashrom"
DefaultFlashTool is the default tool on the dutagent.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flash ¶
type Flash struct {
// Programmer is the name of the flasher hardware.
Programmer string
// Tool is th path to the underlying flash-tool on the dutagent. If unset, [DefaultFlashTool] is used.
// Currently only fashrom is supported.
Tool string
// contains filtered or unexported fields
}
Flash is a module that reads or writes the SPI flash on the DUT.
Click to show internal directories.
Click to hide internal directories.