zephyr/modules/thrift/Kconfig
Chris Friedt 0c00a3ea79 modules: add thrift module
Add glue code for the thrift module. This includes:
* workarounds for Zephyr's missing C++ facilities
* thrift config.h

This code was merged from the following repository
at the commit specified below, with minor formatting
and coding-style modifications.

https://github.com/zephyrproject-rtos/gsoc-2022-thrift
e12e014d295918cc5ba0b4c507d1bf595a2f539a

Signed-off-by: Chris Friedt <cfriedt@meta.com>
2023-02-09 20:30:21 +09:00

32 lines
657 B
Plaintext

# Copyright 2022 Meta
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_THRIFT_MODULE
bool
menuconfig THRIFT
bool "Support for Thrift [EXPERIMENTAL]"
select EXPERIMENTAL
depends on CPP
depends on STD_CPP17
depends on CPP_EXCEPTIONS
depends on POSIX_API
help
Enable this option to support Apache Thrift
if THRIFT
config THRIFT_SSL_SOCKET
bool "TSSLSocket support for Thrift"
depends on MBEDTLS
depends on MBEDTLS_PEM_CERTIFICATE_FORMAT
depends on NET_SOCKETS_SOCKOPT_TLS
help
Enable this option to support TSSLSocket for Thrift
module = THRIFT
module-str = THRIFT
source "subsys/logging/Kconfig.template.log_config"
endif # THRIFT