-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathKconfig
More file actions
56 lines (46 loc) · 1.24 KB
/
Kconfig
File metadata and controls
56 lines (46 loc) · 1.24 KB
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
menu "JABI"
config JABI_SERIAL
string "device serial number string"
default "69420"
help
must be non-empty
config JABI_USB_MPS
int "max packet size of USB bulk transfers"
default 512 if USB_DC_HAS_HS_SUPPORT
default 64
config JABI_CAN_BUFFER_SIZE
int "CAN buffer size"
default 32
help
must be >0
config JABI_LIN_BUFFER_SIZE
int "LIN buffer size"
default 64
help
must be >0
config JABI_REQ_PAYLOAD_MAX_SIZE
int "interface request payload maximum size"
default 128
help
keep larger than largest packet (currently CAN)
config JABI_RESP_PAYLOAD_MAX_SIZE
int "interface request payload maximum size"
default 128
help
keep larger than largest packet (currently CAN)
config JABI_THREAD_STACK_SIZE
int "stack size for interface threads"
default 2048
help
make sure enough to hold request/response and the peripherals
(tip: start this large and then reduce until it crashes)
config JABI_UART_RX_BUFFER_SIZE
int "uart rx queue buffer size"
default 256
help
keep larger than JABI_RESP_PAYLOAD_MAX_SIZE so can initiate reads
that are that large
endmenu
menu "Zephyr"
source "Kconfig.zephyr"
endmenu