-
Notifications
You must be signed in to change notification settings - Fork 1
/
Kconfig
39 lines (31 loc) · 1.08 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
config USR_LIB_DFU
bool "userspace USB DFU protocol stack"
default y
select USR_LIB_USBCTRL
---help---
Support for Device Firmware Update protocol stack.
if USR_LIB_DFU
menu "DFU-Related Features"
config USB_LIB_DFU_DEBUG
bool "Enable DFU stack debugging"
default n
config USR_LIB_DFU_CAN_UPLOAD
bool "Support for DFU Upload mode"
default n
---help---
Support for DFU Upload mode of the DFU automaton. The host is
able to request firmware upload from the device and get back the
device firmware content.
WARNING: this feature is a standard DFU function but generates a
security breach. Activate it only if you know what you do.
config USR_LIB_DFU_CAN_DOWNLOAD
bool "Support for DFU Download mode"
default y
---help---
Support for DFU Download mode of the DFU automaton. The host is
able to flash the device firmware through DFU with a new firmware
image. This option allows the DFU automaton to accept DFU download
requests but is not responsible for correct firmware image handling
(new firmware authentication, integrity, and so on).
endmenu
endif