Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlashDevice ¶
FlashDevice flashes firmware to a device based on the device configuration
Types ¶
type Device ¶
type Device struct {
Serial string // Serial communication settings
SerialPort []string // Available serial ports
Flash Flash // Flash configuration for device programming
MSD MSD // Mass Storage Device configuration
OpenOCD OpenOCD // OpenOCD configuration for debugging/flashing
}
Device contains all flashing/debugging configuration for a device
type Flash ¶
type Flash struct {
Method string // Flash method: "command", "openocd", "msd", "bmp"
Command string // Flash command template
Flash1200BpsReset bool // Whether to use 1200bps reset
}
Flash contains configuration for device flashing
Click to show internal directories.
Click to hide internal directories.