1# General config
2CONFIG_ZTEST=y
3CONFIG_NET_TEST=y
4
5CONFIG_ENTROPY_GENERATOR=y
6CONFIG_TEST_RANDOM_GENERATOR=y
7CONFIG_FDTABLE=y
8CONFIG_EVENTFD=y
9CONFIG_POSIX_API=y
10
11# Networking config
12CONFIG_NETWORKING=y
13CONFIG_NET_LOOPBACK=y
14CONFIG_NET_LOOPBACK_MTU=1280
15CONFIG_NET_DRIVERS=y
16CONFIG_NET_IPV4=y
17CONFIG_NET_IPV6=y
18CONFIG_NET_TCP=y
19CONFIG_NET_SOCKETS=y
20
21# Logging / Debugging options
22CONFIG_NET_LOG=y
23
24# TLS Options
25CONFIG_TLS_CREDENTIALS=y
26CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
27CONFIG_TLS_MAX_CREDENTIALS_NUMBER=5
28CONFIG_MBEDTLS_ENABLE_HEAP=y
29CONFIG_MBEDTLS_HEAP_SIZE=30000
30CONFIG_MBEDTLS=y
31CONFIG_MBEDTLS_BUILTIN=y
32CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
33CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=6
34CONFIG_MBEDTLS_ECDH_C=y
35CONFIG_MBEDTLS_ECDSA_C=y
36CONFIG_MBEDTLS_ECP_C=y
37CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
38CONFIG_MBEDTLS_KEY_EXCHANGE_RSA_ENABLED=n
39CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED=y
40CONFIG_MBEDTLS_CIPHER_CCM_ENABLED=y
41CONFIG_MBEDTLS_CIPHER_GCM_ENABLED=y
42
43# Network buffers / packets / sizes
44CONFIG_NET_BUF_TX_COUNT=32
45CONFIG_NET_BUF_RX_COUNT=32
46CONFIG_NET_PKT_TX_COUNT=16
47CONFIG_NET_PKT_RX_COUNT=16
48CONFIG_ZVFS_OPEN_MAX=32
49CONFIG_ZVFS_POLL_MAX=32
50CONFIG_ZVFS_OPEN_MAX=32
51CONFIG_REQUIRES_FULL_LIBC=y
52CONFIG_ZVFS_EVENTFD_MAX=10
53CONFIG_NET_MAX_CONTEXTS=10
54CONFIG_NET_MAX_CONN=10
55
56# Stack sizes
57CONFIG_MAIN_STACK_SIZE=2048
58CONFIG_ZTEST_STACK_SIZE=4096
59
60# JSON
61CONFIG_JSON_LIBRARY=y
62
63# HTTP parser
64CONFIG_HTTP_PARSER_URL=y
65CONFIG_HTTP_PARSER=y
66CONFIG_HTTP_SERVER=y
67
68# Network address config
69CONFIG_NET_CONFIG_SETTINGS=n
70