Loading...
Searching...
No Matches
usb_dfu.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Mesotic SAS
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
21
22#include "riotboot/hdr.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
32#ifndef USB_DFU_MODE_SLOT0_NAME
33#define USB_DFU_MODE_SLOT0_NAME "RIOT-OS Slot 0"
34#endif
35#ifndef USB_DFU_MODE_SLOT1_NAME
36#define USB_DFU_MODE_SLOT1_NAME "RIOT-OS Slot 1"
37#endif
38#ifndef USB_APP_MODE_SLOT_NAME
39#define USB_APP_MODE_SLOT_NAME "RIOT-OS bootloader"
40#endif
41
43
47void riotboot_usb_dfu_init(unsigned forced);
48
49#ifdef __cplusplus
50}
51#endif
RIOT "partition" header and tools.
void riotboot_usb_dfu_init(unsigned forced)
Initialize usbus DFU for riotboot bootloader.