mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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>
47 lines
1.1 KiB
Text
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
|