Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
usb_dfu.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Mesotic SAS
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
9
#pragma once
10
24
25
#include "
riotboot/hdr.h
"
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
35
#ifndef USB_DFU_MODE_SLOT0_NAME
36
#define USB_DFU_MODE_SLOT0_NAME "RIOT-OS Slot 0"
37
#endif
38
#ifndef USB_DFU_MODE_SLOT1_NAME
39
#define USB_DFU_MODE_SLOT1_NAME "RIOT-OS Slot 1"
40
#endif
41
#ifndef USB_APP_MODE_SLOT_NAME
42
#define USB_APP_MODE_SLOT_NAME "RIOT-OS bootloader"
43
#endif
44
46
50
void
riotboot_usb_dfu_init
(
unsigned
forced);
51
52
#ifdef __cplusplus
53
}
54
#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 Thu Jul 3 2025 17:41:21 by
1.13.2