fwupd/plugins/ccgx/fu-ccgx-cyacd-firmware.h
Richard Hughes b258e514c5 ccgx: Add a firmare parser for cyacd files
These are visually similar to Intel hex files, but different enough to demand
their own parser. Multiple images can be stored in one firmware file, with the
`addr` set to the SiliconID and the `idx` set to the position in the file.
2020-03-18 18:57:06 +00:00

16 lines
430 B
C

/*
* Copyright (C) 2020 Cypress Semiconductor Corporation.
* Copyright (C) 2020 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include "fu-firmware.h"
#define FU_TYPE_CCGX_CYACD_FIRMWARE (fu_ccgx_cyacd_firmware_get_type ())
G_DECLARE_FINAL_TYPE (FuCcgxCyacdFirmware, fu_ccgx_cyacd_firmware, FU,CCGX_CYACD_FIRMWARE, FuFirmware)
FuFirmware *fu_ccgx_cyacd_firmware_new (void);