mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 12:49:03 +00:00
This commit enables building libwebsockets server based on a new Kconfig entry. Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
35 lines
888 B
Text
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
|