37 lines
781 B
Plaintext
37 lines
781 B
Plaintext
# General config
|
|
CONFIG_SMP=n
|
|
CONFIG_ZTEST=y
|
|
CONFIG_POSIX_API=y
|
|
|
|
# Networking config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_LOOPBACK=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_NET_SOCKETS=y
|
|
|
|
# Logging / Debugging options
|
|
CONFIG_NET_LOG=y
|
|
|
|
# TLS Options (commented-out for regular TCP)
|
|
CONFIG_TLS_CREDENTIALS=y
|
|
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
|
|
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=3
|
|
CONFIG_TLS_MAX_CREDENTIALS_NUMBER=5
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
|
CONFIG_MBEDTLS_HEAP_SIZE=44000
|
|
|
|
# Network buffers / packets / sizes
|
|
CONFIG_NET_BUF_TX_COUNT=64
|
|
CONFIG_NET_PKT_TX_COUNT=64
|
|
CONFIG_NET_BUF_RX_COUNT=64
|
|
CONFIG_NET_PKT_RX_COUNT=64
|
|
CONFIG_ZVFS_OPEN_MAX=10
|
|
|
|
# Stack sizes
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ZTEST_STACK_SIZE=4096
|