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