Constructor FirmwareMetadata
FirmwareMetadata(string, HarpVersion, HarpVersion, HarpVersion, int?, int?)
Initializes a new instance of the FirmwareMetadata class with the specified device name, the firmware version and compatible hardware versions.
public FirmwareMetadata(string deviceName, HarpVersion firmwareVersion, HarpVersion coreVersion, HarpVersion hardwareVersion, int? assemblyVersion = null, int? prereleaseVersion = null)
Parameters
deviceName
stringThe unique identifier of the device type on which the firmware should be installed.
firmwareVersion
HarpVersionThe version of the firmware contained in the device or hex file.
coreVersion
HarpVersionThe version of the Harp core implemented by the firmware.
hardwareVersion
HarpVersionThe hardware version of the device, or range of hardware versions supported by the firmware.
assemblyVersion
int?The board assembly version of the device, or range of assembly versions supported by the firmware.
prereleaseVersion
int?The optional prerelease number, for preview versions of the firmware.