2017-11-28 07:11:46 -05:00
|
|
|
CONFIG_BUILD_OUTPUT_BIN=y
|
2017-04-19 06:27:51 -04:00
|
|
|
CONFIG_REBOOT=y
|
2017-03-27 10:06:20 -04:00
|
|
|
|
2016-07-22 13:19:17 -04:00
|
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
CONFIG_CONSOLE_HANDLER=y
|
2016-10-26 10:49:20 -04:00
|
|
|
CONFIG_UART_CONSOLE_DEBUG_SERVER_HOOKS=y
|
2017-10-07 10:09:53 -04:00
|
|
|
|
2018-06-27 01:33:59 -04:00
|
|
|
CONFIG_CONSOLE_SUBSYS=y
|
2017-10-07 10:09:53 -04:00
|
|
|
CONFIG_CONSOLE_GETCHAR=y
|
|
|
|
CONFIG_CONSOLE_GETCHAR_BUFSIZE=128
|
|
|
|
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=128
|
|
|
|
|
2016-07-22 13:19:17 -04:00
|
|
|
CONFIG_NEWLIB_LIBC=y
|
2020-05-02 12:38:58 -04:00
|
|
|
CONFIG_FPU=y
|
2017-12-15 11:17:00 -05:00
|
|
|
CONFIG_MAIN_STACK_SIZE=4736
|
2017-01-21 09:16:35 -05:00
|
|
|
|
2018-01-16 09:29:54 -05:00
|
|
|
# Enable sensor subsystem (doesn't add code if not used).
|
|
|
|
# Specific sensors should be enabled per-board.
|
|
|
|
CONFIG_SENSOR=y
|
|
|
|
|
2017-01-21 09:16:35 -05:00
|
|
|
# Networking config
|
|
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_IPV4=y
|
2017-02-14 08:23:54 -05:00
|
|
|
CONFIG_NET_IPV6=y
|
2017-03-28 17:46:06 -04:00
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NET_TCP=y
|
2017-08-07 14:36:57 -04:00
|
|
|
CONFIG_NET_SOCKETS=y
|
2017-01-21 09:16:35 -05:00
|
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
2017-04-03 05:07:56 -04:00
|
|
|
|
2018-08-18 08:46:18 -04:00
|
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
|
|
CONFIG_NET_CONFIG_INIT_TIMEOUT=3
|
|
|
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
|
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
2017-10-07 07:08:50 -04:00
|
|
|
|
2017-05-13 09:42:35 -04:00
|
|
|
# DNS
|
|
|
|
CONFIG_DNS_RESOLVER=y
|
|
|
|
CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES=2
|
|
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
2018-01-23 14:28:57 -05:00
|
|
|
|
|
|
|
# Static IP addresses
|
2018-08-18 08:46:18 -04:00
|
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
|
2017-05-13 09:42:35 -04:00
|
|
|
CONFIG_DNS_SERVER1="192.0.2.2"
|
|
|
|
|
2018-01-23 14:28:57 -05:00
|
|
|
# DHCP configuration. Until DHCP address is assigned,
|
|
|
|
# static configuration above is used instead.
|
|
|
|
CONFIG_NET_DHCPV4=y
|
|
|
|
|
2017-08-16 02:22:30 -04:00
|
|
|
# Diagnostics and debugging
|
|
|
|
|
|
|
|
# Required for zephyr.stack_analyze()
|
2020-05-02 12:21:48 -04:00
|
|
|
CONFIG_THREAD_ANALYZER=y
|
|
|
|
CONFIG_THREAD_ANALYZER_USE_PRINTK=y
|
2018-09-26 17:24:40 -04:00
|
|
|
CONFIG_THREAD_NAME=y
|
2017-08-16 02:22:30 -04:00
|
|
|
|
2017-05-13 08:22:22 -04:00
|
|
|
# Required for usocket.pkt_get_info()
|
|
|
|
CONFIG_NET_BUF_POOL_USAGE=y
|
|
|
|
|
2020-11-30 11:45:05 -05:00
|
|
|
# Required for zephyr.shell_exec()
|
|
|
|
#CONFIG_SHELL=y
|
|
|
|
#CONFIG_SHELL_BACKEND_SERIAL_INTERRUPT_DRIVEN=n
|
|
|
|
|
|
|
|
# Required for zephyr.shell_exec("net iface")
|
2017-08-20 01:45:00 -04:00
|
|
|
#CONFIG_NET_SHELL=y
|
|
|
|
|
2017-04-03 05:07:56 -04: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
|