2018-07-18 21:05:16 +08:00
|
|
|
CONFIG_MAIN_STACK_SIZE=3072
|
2018-08-06 20:31:23 +08:00
|
|
|
CONFIG_NET_BUF_RX_COUNT=80
|
|
|
|
CONFIG_NET_BUF_TX_COUNT=80
|
2018-07-18 21:05:16 +08:00
|
|
|
|
|
|
|
# TLS configuration
|
|
|
|
CONFIG_MBEDTLS=y
|
|
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
|
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
|
|
|
CONFIG_MBEDTLS_HEAP_SIZE=60000
|
2018-08-06 20:31:23 +08:00
|
|
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
|
2018-07-18 21:05:16 +08:00
|
|
|
|
|
|
|
CONFIG_NET_SOCKETS_SOCKOPT_TLS=y
|
2018-08-06 20:31:23 +08:00
|
|
|
CONFIG_NET_SOCKETS_TLS_MAX_CONTEXTS=6
|
|
|
|
CONFIG_NET_SOCKETS_ENABLE_DTLS=y
|