Loading...
Searching...
No Matches
tinyusb_dfu.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
16
17#include "riotboot/flashwrite.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
26typedef struct tinyusb_dfu_device {
28 uint8_t slot;
29#ifdef MODULE_RIOTBOOT_TINYUSB_DFU
31#endif
33
38
39#ifdef __cplusplus
40}
41#endif
42
riotboot flash writing module
firmware update state structure
Definition flashwrite.h:102
tinyUSB DFU device interface context
Definition tinyusb_dfu.h:26
bool skip_signature
Skip RIOTBOOT signature status.
Definition tinyusb_dfu.h:27
uint8_t slot
Download slot.
Definition tinyusb_dfu.h:28
void tinyusb_dfu_init(void)
Initialize the tinyUSB DFU device interface context.
struct tinyusb_dfu_device tinyusb_dfu_device_t
tinyUSB DFU device interface context