-
Notifications
You must be signed in to change notification settings - Fork 222
/
Copy pathKconfig
177 lines (151 loc) · 4.62 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#
# Copyright 2024 NXP
#
# SPDX-License-Identifier: BSD-3-Clause
#
config ERPC_GENERATOR
bool "Build eRPC Generator"
default y
config REQUIRE_ERPCGEN
bool
default n
config ERPC_LIB
bool "Build eRPC C Library"
default y
menuconfig ERPC_TESTS
bool "Build eRPC Tests"
default n
select REQUIRE_ERPCGEN
if ERPC_TESTS
menu "Test transport"
menuconfig ERPC_TESTS.transport.tcp
bool "Test transport TCP"
default y
if ERPC_TESTS.transport.tcp
config ERPC_TESTS.transport.tcp.host
string "TCP Host"
default "localhost"
config ERPC_TESTS.transport.tcp.port
int "TCP Port"
default 12345
endif
menuconfig ERPC_TESTS.transport.serial
bool "Test transport Serial"
default n
if ERPC_TESTS.transport.serial
config ERPC_TESTS.transport.serial.port
string "Serial port"
default "localhost"
config ERPC_TESTS.transport.serial.baud
int "Baud"
default 115200
endif
endmenu
config ERPC_TESTS.client
bool "Build test's client side"
default y
config ERPC_TESTS.server
bool "Build test's server side"
default y
menu "Test cases"
config ERPC_TESTS.testcase.test_annotations
bool "Build test_annotations"
default y
config ERPC_TESTS.testcase.test_arbitrator
bool "Build test_arbitrator"
default y
config ERPC_TESTS.testcase.test_arrays
bool "Build test_arrays"
default y
config ERPC_TESTS.testcase.test_binary
bool "Build test_binary"
default y
config ERPC_TESTS.testcase.test_builtin
bool "Build test_builtin"
default y
config ERPC_TESTS.testcase.test_callbacks
bool "Build test_callbacks"
default y
config ERPC_TESTS.testcase.test_const
bool "Build test_const"
default y
config ERPC_TESTS.testcase.test_enums
bool "Build test_enums"
default y
config ERPC_TESTS.testcase.test_lists
bool "Build test_lists"
default y
config ERPC_TESTS.testcase.test_shared
bool "Build test_shared"
default y
config ERPC_TESTS.testcase.test_struct
bool "Build test_struct"
default y
config ERPC_TESTS.testcase.test_typedef
bool "Build test_typedef"
default y
config ERPC_TESTS.testcase.test_unions
bool "Build test_unions"
default y
endmenu
endif
menuconfig ERPC_EXAMPLES
bool "Build eRPC Examples"
default n
select REQUIRE_ERPCGEN
if ERPC_EXAMPLES
menuconfig ERPC_MATRIX_MULTIPLY_TCP
bool "Matrix Multiply TCP example"
default n
select REQUIRE_ERPCGEN
if ERPC_MATRIX_MULTIPLY_TCP
config ERPC_MATRIX_MULTIPLY_TCP.host
string "TCP Host"
default "localhost"
config ERPC_MATRIX_MULTIPLY_TCP.port
int "TCP Port"
default 8811
config ERPC_MATRIX_MULTIPLY_TCP.c
bool "Build C version of the demo"
default y
config ERPC_MATRIX_MULTIPLY_TCP.cpp
bool "Build C++ version of the demo"
default y
endif
menuconfig ERPC_MATRIX_MULTIPLY_UART
bool "Matrix Multiply UART example"
default n
select REQUIRE_ERPCGEN
if ERPC_MATRIX_MULTIPLY_UART
config ERPC_MATRIX_MULTIPLY_UART.serial
string "Serial port"
default "localhost"
config ERPC_MATRIX_MULTIPLY_UART.baud
int "Baud"
default 115200
config ERPC_MATRIX_MULTIPLY_UART.c
bool "Build C version of the demo"
default y
config ERPC_MATRIX_MULTIPLY_UART.cpp
bool "Build C++ version of the demo"
default y
endif
menuconfig ERPC_HELLO_WORLD
bool "Hello World example"
default n
select REQUIRE_ERPCGEN
if ERPC_HELLO_WORLD
config ERPC_HELLO_WORLD.c
bool "Build C version of the demo"
default y
config ERPC_HELLO_WORLD.cpp
bool "Build C++ version of the demo"
default y
config ERPC_HELLO_WORLD.python
bool "Generate shim code for Python"
default y
config ERPC_HELLO_WORLD.java
bool "Generate shim code for Java"
default y
endif
endif