@@ -20,6 +20,58 @@ config EXAMPLES_USBSERIAL_BUFSIZE
20
20
The size of the array that is used as an I/O buffer for USB serial
21
21
data transfers.
22
22
23
+ choice
24
+ prompt "USB serial transfer"
25
+ default EXAMPLES_USBSERIAL_INANDOUT
26
+ ---help---
27
+ Select usb serial transfer in or out
28
+
29
+ config EXAMPLES_USBSERIAL_INANDOUT
30
+ bool "in and out"
31
+
32
+ config EXAMPLES_USBSERIAL_INONLY
33
+ bool "in only"
34
+
35
+ config EXAMPLES_USBSERIAL_OUTONLY
36
+ bool "out only"
37
+
38
+ endchoice # USBSERIAL in or out
39
+
40
+ config EXAMPLES_USBSERIAL_CONFIG_WAIT
41
+ bool "Config waiting time"
42
+ default n
43
+ ---help---
44
+ Config waiting time after transfer
45
+
46
+ if EXAMPLES_USBSERIAL_CONFIG_WAIT
47
+
48
+ config EXAMPLES_USBSERIAL_IN_WAITING_TIME
49
+ int "In waiting time (ms)"
50
+ default 100
51
+
52
+ config EXAMPLES_USBSERIAL_OUT_WAITING_TIME
53
+ int "Out waiting time (ms)"
54
+ default 100
55
+
56
+ endif # USERSERIAL config wait
57
+
58
+ choice
59
+ prompt "USB serial message"
60
+ default EXAMPLES_USBSERIAL_SMALLANDBIG
61
+ ---help---
62
+ Select usb serial small or big message
63
+
64
+ config EXAMPLES_USBSERIAL_SMALLANDBIG
65
+ bool "small and big"
66
+
67
+ config EXAMPLES_USBSERIAL_ONLYSMALL
68
+ bool "only small"
69
+
70
+ config EXAMPLES_USBSERIAL_ONLYBIG
71
+ bool "only big"
72
+
73
+ endchoice # USBSERIAL small or big message
74
+
23
75
config EXAMPLES_USBSERIAL_TRACEINIT
24
76
bool "USB Trace Initialization"
25
77
default n
0 commit comments