Loading...
Searching...
No Matches
tinyusb_dfu.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 Gunar Schorcht
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
18#ifndef TINYUSB_DFU_H
19#define TINYUSB_DFU_H
20
21#include "riotboot/flashwrite.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
30typedef struct tinyusb_dfu_device {
32 uint8_t slot;
33#ifdef MODULE_RIOTBOOT_TINYUSB_DFU
35#endif
37
42
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* TINYUSB_DFU_H */
riotboot flash writing module
firmware update state structure
Definition flashwrite.h:106
tinyUSB DFU device interface context
Definition tinyusb_dfu.h:30
bool skip_signature
Skip RIOTBOOT signature status.
Definition tinyusb_dfu.h:31
uint8_t slot
Download slot.
Definition tinyusb_dfu.h:32
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