Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
22
#include "
riotboot/hdr.h
"
23
24
#ifdef __cplusplus
25
extern
"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
47
void
riotboot_usb_dfu_init
(
unsigned
forced);
48
49
#ifdef __cplusplus
50
}
51
#endif
hdr.h
RIOT "partition" header and tools.
riotboot_usb_dfu_init
void riotboot_usb_dfu_init(unsigned forced)
Initialize usbus DFU for riotboot bootloader.
Generated on Mon Nov 24 2025 18:43:16 by
1.9.1