mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-11 01:17:17 +00:00

This allows us to do three things: * Fuzz the loader with `fwupdtool firmware-parse` * Check the firmware *before* the hardware is put into bootloader mode * Use FuChunk to build the 32 byte payload chunks
22 lines
531 B
C
22 lines
531 B
C
/*
|
|
* Copyright (C) 2016 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include "fu-ebitdo-device.h"
|
|
|
|
#include "fu-plugin-vfuncs.h"
|
|
#include "fu-ebitdo-firmware.h"
|
|
|
|
void
|
|
fu_plugin_init (FuPlugin *plugin)
|
|
{
|
|
fu_plugin_set_build_hash (plugin, FU_BUILD_HASH);
|
|
fu_plugin_add_rule (plugin, FU_PLUGIN_RULE_SUPPORTS_PROTOCOL, "com.8bitdo");
|
|
fu_plugin_set_device_gtype (plugin, FU_TYPE_EBITDO_DEVICE);
|
|
fu_plugin_add_firmware_gtype (plugin, "8bitdo", FU_TYPE_EBITDO_FIRMWARE);
|
|
}
|