File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,22 @@ config UDC_DWC2
12
12
help
13
13
DWC2 USB device controller driver.
14
14
15
+ if UDC_DWC2
16
+
15
17
config UDC_DWC2_DMA
16
18
bool "DWC2 USB DMA support"
17
19
default y
18
- depends on UDC_DWC2
19
20
help
20
21
Enable Buffer DMA if DWC2 USB controller supports Internal DMA.
21
22
22
23
config UDC_DWC2_HIBERNATION
23
24
bool "DWC2 USB Hibernation support"
24
25
default y
25
- depends on UDC_DWC2
26
26
help
27
27
Enable Hibernation if DWC2 USB controller supports hibernation.
28
28
29
29
config UDC_DWC2_PTI
30
30
bool "DWC2 USB Periodic Transfer Interrupt"
31
- depends on UDC_DWC2
32
31
help
33
32
Ignore frame number when scheduling isochronous endpoints. Use this
34
33
when isochronous transfers should finish only after receiving token
@@ -38,24 +37,23 @@ config UDC_DWC2_PTI
38
37
39
38
config UDC_DWC2_STACK_SIZE
40
39
int "UDC DWC2 driver internal thread stack size"
41
- depends on UDC_DWC2
42
40
default 512
43
41
help
44
42
DWC2 driver internal thread stack size.
45
43
46
44
config UDC_DWC2_THREAD_PRIORITY
47
45
int "UDC DWC2 driver thread priority"
48
- depends on UDC_DWC2
49
46
default 8
50
47
help
51
48
DWC2 driver thread priority.
52
49
53
50
config UDC_DWC2_USBHS_VBUS_READY_TIMEOUT
54
51
int "UDC DWC2 USBHS VBUS ready event timeout in ms"
55
- depends on UDC_DWC2
56
52
depends on NRFS_HAS_VBUS_DETECTOR_SERVICE
57
53
default 0
58
54
help
59
55
UDC DWC2 USBHS VBUS ready event timeout. If the VBUS is not ready
60
56
and the Nordic USBHS controller is used, the udc_enable() is
61
57
blocked for this amount of time. Set it to zero to wait forever.
58
+
59
+ endif # UDC_DWC2
You can’t perform that action at this time.
0 commit comments