1CONFIG_REQUIRES_FULL_LIBCPP=y
2
3# CONFIG_THRIFT Dependencies
4CONFIG_CPP=y
5CONFIG_STD_CPP17=y
6CONFIG_CPP_EXCEPTIONS=y
7CONFIG_POSIX_API=y
8CONFIG_XOPEN_STREAMS=y
9CONFIG_COMMON_LIBC_THRD=y
10CONFIG_DYNAMIC_THREAD=y
11CONFIG_THREAD_STACK_INFO=y
12CONFIG_NETWORKING=y
13CONFIG_NET_SOCKETS=y
14CONFIG_NET_SOCKETPAIR=y
15CONFIG_HEAP_MEM_POOL_SIZE=16384
16CONFIG_EVENTFD=y
17
18CONFIG_THRIFT=y
19
20CONFIG_TEST_RANDOM_GENERATOR=y
21# pthread_cond_wait() triggers sentinel for some reason
22CONFIG_STACK_SENTINEL=n
23
24# Generic networking options
25CONFIG_NETWORKING=y
26CONFIG_NET_UDP=y
27CONFIG_NET_TCP=y
28CONFIG_NET_IPV6=n
29CONFIG_NET_IPV4=y
30CONFIG_NET_SOCKETS=y
31CONFIG_ZVFS_OPEN_MAX=6
32CONFIG_NET_CONNECTION_MANAGER=y
33
34# Kernel options
35CONFIG_ENTROPY_GENERATOR=y
36CONFIG_TEST_RANDOM_GENERATOR=y
37CONFIG_INIT_STACKS=y
38
39# Logging
40CONFIG_NET_LOG=y
41CONFIG_LOG=y
42CONFIG_NET_STATISTICS=y
43CONFIG_PRINTK=y
44
45# Network buffers
46CONFIG_NET_PKT_RX_COUNT=16
47CONFIG_NET_PKT_TX_COUNT=16
48CONFIG_NET_BUF_RX_COUNT=64
49CONFIG_NET_BUF_TX_COUNT=64
50CONFIG_NET_CONTEXT_NET_PKT_POOL=y
51
52# IP address options
53CONFIG_NET_MAX_CONTEXTS=10
54
55# Network application options and configuration
56CONFIG_NET_CONFIG_SETTINGS=y
57CONFIG_NET_CONFIG_NEED_IPV6=n
58CONFIG_NET_CONFIG_NEED_IPV4=y
59CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
60CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
61
62# Number of socket descriptors might need adjusting
63# if there are more than 1 handlers defined.
64CONFIG_ZVFS_OPEN_MAX=16
65
66# Some platforms require relatively large stack sizes.
67# This can be tuned per-board.
68CONFIG_MAIN_STACK_SIZE=8192
69CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192
70CONFIG_NET_TCP_WORKQ_STACK_SIZE=4096
71CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096
72CONFIG_IDLE_STACK_SIZE=4096
73CONFIG_NET_RX_STACK_SIZE=8192
74