edk2toollib/windows/capsule/inf_generator2.py
def AddFirmware(self, Tag: str, Description: str, EsrtGuid: str, VersionInt: str, FirmwareFile: str,
                    Rollback: Optional[bool] = False, IntegrityFile: Optional[str] = None) -> None:
        '''Adds a firmware target to the INF.

        Tag             - A string that uniquely identifies this firmware (e.g. "Firmware0")
        Description     - A description of the firmware (e.g. "UEFI Firmware")
        EsrtGuid        - ESRT GUID for this firmware in string format. (e.g. "34e094e9-4079-44cd-9450-3f2cb7824c97")
        VersionInt      - Version as an integer in string format (e.g. "1234" or "0x04158000")
        FirmwareFile    - Filename (basename only) of the firmware payload file (e.g. "Firmware1234.bin")
        Rollback        - Specifies whether this firmware should be enabled for rollback (optional, default: False)
        IntegrityFile   - Filename (basename only) of the integrity file associated with this firmware (e.g.
                          "integrity123.bin"). Optional - if not specified, no integrity file will be included.
        '''
        firmwareSection = InfFirmware(Tag, Description, EsrtGuid, VersionInt, FirmwareFile,
                                      self.InfStrings, self.InfSourceFiles, Rollback, IntegrityFile)
        self.InfFirmwareSections.AddSection(firmwareSection)
Adds a firmware target to the INF.

        Tag             - A string that uniquely identifies this firmware (e.g. "Firmware0")
        Description     - A description of the firmware (e.g. "UEFI Firmware")
        EsrtGuid        - ESRT GUID for this firmware in string format. (e.g. "34e094e9-4079-44cd-9450-3f2cb7824c97")
        VersionInt      - Version as an integer in string format (e.g. "1234" or "0x04158000")
        FirmwareFile    - Filename (basename only) of the firmware payload file (e.g. "Firmware1234.bin")
        Rollback        - Specifies whether this firmware should be enabled for rollback (optional, default: False)
        IntegrityFile   - Filename (basename only) of the integrity file associated with this firmware (e.g.
                          "integrity123.bin"). Optional - if not specified, no integrity file will be included.
        
Adds a firmware target to the INF.
Tag             - A string that uniquely identifies this firmware
Description     - A description of the firmware
EsrtGuid        - ESRT GUID for this firmware in string format.
VersionInt      - Version as an integer in string format
FirmwareFile    - Filename (basename only) of the firmware payload file
Rollback        - Specifies whether this firmware should be enabled for rollback (optional, default: False)
IntegrityFile   - Filename (basename only) of the integrity file associated with this firmware . Optional - if not specified, no integrity file will be included.
Adds a firmware target to the INF . Tag - A string that uniquely identifies this firmware Description - A description of the firmware EsrtGuid - ESRT GUID for this firmware in string format . VersionInt - Version as an integer in string format FirmwareFile - Filename ( basename only ) of the firmware payload file Rollback - Specifies whether this firmware should be enabled for rollback ( optional default : False ) IntegrityFile - Filename ( basename only ) of the integrity file associated with this firmware . Optional - if not specified no integrity file will be included .
def AddFirmware(self, Tag: str, Description: str, EsrtGuid: str, VersionInt: str, FirmwareFile: str,
                    Rollback: Optional[bool] = False, IntegrityFile: Optional[str] = None) -> None:
        firmwareSection = InfFirmware(Tag, Description, EsrtGuid, VersionInt, FirmwareFile,
                                      self.InfStrings, self.InfSourceFiles, Rollback, IntegrityFile)
        self.InfFirmwareSections.AddSection(firmwareSection)
def AddFirmware ( self , Tag : str , Description : str , EsrtGuid : str , VersionInt : str , FirmwareFile : str , Rollback : Optional [ bool ] = False , IntegrityFile : Optional [ str ] = None ) -> None : firmwareSection = InfFirmware ( Tag , Description , EsrtGuid , VersionInt , FirmwareFile , self . InfStrings , self . InfSourceFiles , Rollback , IntegrityFile ) self . InfFirmwareSections . AddSection ( firmwareSection )
Adds a firmware target to the INF.
Adds a firmware target to the INF .
'''Adds a firmware target to the INF.

        Tag             - A string that uniquely identifies this firmware (e.g. "Firmware0")
        Description     - A description of the firmware (e.g. "UEFI Firmware")
        EsrtGuid        - ESRT GUID for this firmware in string format. (e.g. "34e094e9-4079-44cd-9450-3f2cb7824c97")
        VersionInt      - Version as an integer in string format (e.g. "1234" or "0x04158000")
        FirmwareFile    - Filename (basename only) of the firmware payload file (e.g. "Firmware1234.bin")
        Rollback        - Specifies whether this firmware should be enabled for rollback (optional, default: False)
        IntegrityFile   - Filename (basename only) of the integrity file associated with this firmware (e.g.
                          "integrity123.bin"). Optional - if not specified, no integrity file will be included.
        '''
self
Tag
str
Description
str
EsrtGuid
str
VersionInt
str
FirmwareFile
str
Rollback
Optional[bool]
IntegrityFile
Optional[str]