This commit creates a HTTP server library. So instead of creating a complex HTTP server application for serving HTTP requests, the developer can use the HTTP server API to create HTTP server insteances. This commit also adds support for creating HTTPS servers. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TCP=y
|
|
CONFIG_RANDOM_GENERATOR=y
|
|
CONFIG_NET_LOG=y
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
CONFIG_NET_PKT_RX_COUNT=16
|
|
CONFIG_NET_PKT_TX_COUNT=16
|
|
CONFIG_NET_BUF_RX_COUNT=16
|
|
CONFIG_NET_BUF_TX_COUNT=16
|
|
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=3
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4
|
|
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
CONFIG_SYS_LOG_SHOW_COLOR=y
|
|
CONFIG_SYS_LOG_NET_LEVEL=4
|
|
CONFIG_NET_DEBUG_HTTP=y
|
|
|
|
CONFIG_HTTP_SERVER=y
|
|
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_IPV4=n
|
|
|
|
CONFIG_HTTPS=y
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
|
CONFIG_MBEDTLS_CFG_FILE="config-mini-tls1_2.h"
|
|
|
|
CONFIG_NET_APP_SETTINGS=y
|
|
CONFIG_NET_APP_MY_IPV6_ADDR="2001:db8::1"
|
|
|
|
CONFIG_NET_SHELL=y
|
|
|
|
CONFIG_NET_MGMT=y
|
|
CONFIG_NET_MGMT_EVENT=y
|
|
|
|
CONFIG_BLUETOOTH=y
|
|
CONFIG_BLUETOOTH_DEBUG_LOG=y
|
|
CONFIG_BLUETOOTH_SMP=y
|
|
CONFIG_BLUETOOTH_PERIPHERAL=y
|
|
CONFIG_BLUETOOTH_L2CAP_DYNAMIC_CHANNEL=y
|
|
CONFIG_BLUETOOTH_DEVICE_NAME="Test Http_Server"
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_NET_L2_BLUETOOTH=y
|
|
CONFIG_NET_L2_BLUETOOTH_ZEP1656=y
|
|
CONFIG_NET_DEBUG_L2_BLUETOOTH=y
|
|
CONFIG_NET_STATISTICS=y
|
|
|
|
# This sample is meant to be compilable in QEMU only
|
|
CONFIG_RAM_SIZE=300
|