nuttx-apps/netutils/libwebsockets/Kconfig
Tiago Medicci 4263e27d92 netutils/libwebsockets: Enable libwebsockets server
This commit enables building libwebsockets server based on a new
Kconfig entry.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
2026-06-16 14:27:29 -03:00

35 lines
888 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_LIBWEBSOCKETS
bool "libwebsockets library (current version)"
default n
depends on NET
---help---
Enables the libwebsockets library.
if NETUTILS_LIBWEBSOCKETS
config NETUTILS_LIBWEBSOCKETS_VERSION
string "Version number"
default "4.3.1"
config NETUTILS_LIBWEBSOCKETS_SERVER
bool "Enable server support"
default n
---help---
Enable WebSocket/HTTP server support in libwebsockets.
When disabled, only client-side code is built.
config NETUTILS_LIBWEBSOCKETS_TLS
bool "Enable TLS support"
default y
depends on OPENSSL_MBEDTLS_WRAPPER
---help---
Enable TLS in libwebsockets via the OpenSSL-mbedTLS
wrapper. Requires CONFIG_OPENSSL_MBEDTLS_WRAPPER.
When disabled, only plain ws:// connections are supported.
endif