37 lines
747 B
Plaintext
37 lines
747 B
Plaintext
|
# General config
|
||
|
CONFIG_CIVETWEB=y
|
||
|
|
||
|
# pthreads
|
||
|
CONFIG_POSIX_API=y
|
||
|
CONFIG_PTHREAD_IPC=y
|
||
|
CONFIG_POSIX_MQUEUE=y
|
||
|
|
||
|
# networking
|
||
|
CONFIG_NETWORKING=y
|
||
|
CONFIG_NET_IPV4=y
|
||
|
# CONFIG_NET_IPV6 is not set
|
||
|
CONFIG_NET_TCP=y
|
||
|
CONFIG_NET_SOCKETS=y
|
||
|
|
||
|
CONFIG_DNS_RESOLVER=y
|
||
|
|
||
|
CONFIG_NET_CONFIG_SETTINGS=y
|
||
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
||
|
CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.255.0"
|
||
|
CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"
|
||
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
|
||
|
|
||
|
# memory settings:
|
||
|
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=16384
|
||
|
CONFIG_NET_TX_STACK_SIZE=2048
|
||
|
CONFIG_NET_RX_STACK_SIZE=2048
|
||
|
|
||
|
CONFIG_ISR_STACK_SIZE=2048
|
||
|
CONFIG_MAIN_STACK_SIZE=2048
|
||
|
CONFIG_IDLE_STACK_SIZE=1024
|
||
|
|
||
|
# logging:
|
||
|
CONFIG_LOG=y
|
||
|
# CONFIG_NET_LOG=y
|
||
|
# CONFIG_LOG_STRDUP_MAX_STRING=256
|