nuttx-apps/netutils/nng/Kconfig
Jiri Vlasak 37403210f9 netutils/nng: Update help for NETUTILS_NNG
NNG depends on options that, if not enabled, makes compilation or
runtime crashes. Noting these options in help helps to find out which
are such options.

Signed-off-by: Jiri Vlasak <jvlasak@elektroline.cz>
2026-01-21 09:48:11 +08:00

47 lines
1.1 KiB
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config NETUTILS_NNG
bool "Enable Nanomsg NG"
default n
---help---
Enable Nanomsg-NG library. NNG is a lightweight, broker-less library,
offering a simple API to solve common recurring messaging problems,
such as publish/subscribe, RPC-style request/reply, or service discovery.
Consider the following configuration when enabling NNG:
- CONFIG_LIBC_NETDB=y
- CONFIG_DEV_URANDOM=y
- CONFIG_NET_LOCAL=y
- CONFIG_NET_LOCAL_STREAM=y
if NETUTILS_NNG
config NETUTILS_NNG_VERSION
string "NNG Version"
default "1.5.2"
config NETUTILS_NNG_HAVE_EPOLL
bool "Build with epoll"
default n
---help---
If this option is selected, an epoll based poll gueue
is included in the build. Otherwise poll based queue
is included in the build.
choice
prompt "TLS engine"
default NETUTILS_NNG_USE_NONE
config NETUTILS_NNG_USE_NONE
bool "None"
config NETUTILS_NNG_USE_MBEDTLS
bool "MbedTLS"
select CRYPTO_MBEDTLS
endchoice # TLS engine
endif