2017-03-27 15:06:20 +01:00
|
|
|
CONFIG_LEGACY_KERNEL=n
|
2017-04-19 11:27:51 +01:00
|
|
|
CONFIG_REBOOT=y
|
2017-03-27 15:06:20 +01:00
|
|
|
|
2016-07-22 18:19:17 +01:00
|
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
CONFIG_CONSOLE_HANDLER=y
|
2016-10-26 15:49:20 +01:00
|
|
|
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
|
2016-07-22 18:19:17 +01:00
|
|
|
CONFIG_NEWLIB_LIBC=y
|
|
|
|
CONFIG_FLOAT=y
|
2017-01-20 21:26:03 +00:00
|
|
|
CONFIG_MAIN_STACK_SIZE=4096
|
2017-01-21 14:16:35 +00:00
|
|
|
|
|
|
|
# Networking config
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_IPV4=y
|
2017-02-14 13:23:54 +00:00
|
|
|
CONFIG_NET_IPV6=y
|
2017-03-28 22:46:06 +01:00
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NET_TCP=y
|
2017-08-07 19:36:57 +01:00
|
|
|
CONFIG_NET_SOCKETS=y
|
2017-01-21 14:16:35 +00:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
2017-02-14 13:23:54 +00:00
|
|
|
CONFIG_NET_NBUF_RX_COUNT=5
|
2017-04-03 10:07:56 +01:00
|
|
|
|
2017-10-07 12:08:50 +01:00
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
|
|
|
CONFIG_NET_APP_INIT_TIMEOUT=3
|
|
|
|
CONFIG_NET_APP_NEED_IPV6=y
|
|
|
|
CONFIG_NET_APP_NEED_IPV4=y
|
|
|
|
CONFIG_NET_APP_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
CONFIG_NET_APP_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_NET_APP_MY_IPV4_GW="192.0.2.2"
|
|
|
|
|
2017-05-13 14:42:35 +01:00
|
|
|
# DNS
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES=2
|
|
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
|
|
CONFIG_DNS_SERVER1="192.0.2.2"
|
|
|
|
|
2017-08-16 07:22:30 +01:00
|
|
|
# Diagnostics and debugging
|
|
|
|
|
|
|
|
# Required for zephyr.stack_analyze()
|
|
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
|
2017-05-13 13:22:22 +01:00
|
|
|
# Required for usocket.pkt_get_info()
|
|
|
|
CONFIG_NET_BUF_POOL_USAGE=y
|
|
|
|
|
2017-08-20 06:45:00 +01:00
|
|
|
# Required for usocket.shell_*()
|
|
|
|
#CONFIG_NET_SHELL=y
|
|
|
|
|
2017-04-03 10:07:56 +01:00
|
|
|
# Uncomment to enable "INFO" level net_buf logging
|
|
|
|
#CONFIG_NET_LOG=y
|
|
|
|
#CONFIG_NET_DEBUG_NET_BUF=y
|
|
|
|
# Change to 4 for "DEBUG" level
|
|
|
|
#CONFIG_SYS_LOG_NET_LEVEL=3
|