-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
66 lines (50 loc) · 1.2 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
config USR_DRV_USB
bool "userspace USB driver library"
default y
---help---
Support for STM32 USB.
if USR_DRV_USB
menu "USB-related features"
choice
prompt "USB device block support"
default USR_DRV_USB_FS
config USR_DRV_USB_FS
bool "USB Full-Speed driver support"
config USR_DRV_USB_HS
bool "USB High-Speed driver support"
endchoice
config USB_DFU
bool "USB DFU Support"
select FIRMWARE
default y
help
Support for Device Firmware Upload protocol over usb
config USB_DEV_PRODNAME
string "USB device product name"
default "wookey"
config USB_DEV_PRODNAME_INDEX
int "USB device product name index"
default 1
config USB_DEV_MANUFACTURER
string "USB Manufacturer name"
default "ANSSI"
config USB_DEV_MANUFACTURER_INDEX
int "USB device manufacturer index"
default 2
config USB_DEV_SERIAL
string "USB Serial value"
default "123456789012345678901234"
config USB_DEV_SERIAL_INDEX
int "USB device serial index"
default 3
config USB_DEV_REVISION
string "USB Device Revision"
default "0001"
config USB_DEV_VENDORID
hex "USB Vendor Identifier"
default 0xDEAD
config USB_DEV_PRODUCTID
hex "USB Product Identifier"
default 0xCAFE
endmenu
endif