2017-01-07 10:26:24 +08:00
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_IPV6=y
|
|
|
|
CONFIG_NET_IPV4=y
|
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NET_LOG=y
|
|
|
|
CONFIG_NET_SLIP=y
|
|
|
|
CONFIG_SYS_LOG=y
|
|
|
|
CONFIG_SYS_LOG_SHOW_COLOR=y
|
|
|
|
|
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
|
|
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
|
|
|
CONFIG_PRINTK=y
|
|
|
|
CONFIG_MBEDTLS=y
|
|
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
mbedtls: Switch default MBEDTLS_CFG_FILE to config-mini-tls1_2.h
The previous default, "config-threadnet.h", is more or less arbitrary
choice made in a commit 312def2c7857 1.5 years ago. In particular,
it's not related to Thread support in Zephyr per se (there was no
such support at that time).
It doesn't make sense to have a default intended for a particular,
not widely used (yet) protocol. Instead, the default should work
out of the box with a contemporary widely deployed arrays of TLS
servers, which are HTTPS server. config-mini-tls1_2.h works with
https://google.com, and by extension, with many other servers on
the Internet.
So, have that as the default, and let applications with special
needs to override that to what they need.
Addresses: #6132
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2018-02-15 21:34:11 +08:00
|
|
|
CONFIG_MBEDTLS_CFG_FILE="config-threadnet.h"
|
2017-01-07 10:26:24 +08:00
|
|
|
|
2017-03-15 23:01:47 +08:00
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
|
|
|
CONFIG_NET_APP_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
CONFIG_NET_APP_PEER_IPV6_ADDR="2001:db8::2"
|
|
|
|
CONFIG_NET_APP_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_NET_APP_PEER_IPV4_ADDR="192.0.2.2"
|