-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
42 lines (33 loc) · 1.1 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
config USR_DRV_USBOTGFS
bool "userspace USB OTG FS driver library"
select USR_DRV_USB_FS
default y
---help---
Support for STM32 USB OTG FS.
if USR_DRV_USBOTGFS
menu "USB-FS related features"
config USR_DRV_USB_FS
bool
choice
prompt "USBOTG FS driver mode"
default USR_DRV_USBOTGFS_MODE_DEVICE
config USR_DRV_USBOTGFS_MODE_DEVICE
bool "USB OTG FS driver in device mode"
---help---
the driver is configured to work in device mode. EPs directions are
inverted in comparison with the host (and USB standard) mode, i.e.
IN EP send data, OUT EP receive data.
config USR_DRV_USBOTGFS_MODE_HOST
bool "USB OTG FS driver in host mode (WiP)"
---help---
the driver is configured to work in host mode. EPs directions are
configured in USB standard mode, i.e. IN EP receive data, OUT EP send data.
endchoice
config USR_DRV_USBOTGFS_DEBUG
bool "Activate debuggging for USB OTG FS driver"
default n
---help---
Activate various debugging for usb OTG Full speed.
This option is efficient only if KERNEL_SERIAL is activated.
endmenu
endif