zephyr/modules/zcbor/Kconfig
Øyvind Rønningstad 619fce9e0f modules: zcbor: kconfig: Disallow ZCBOR_VERBOSE with MINIMAL_LIBC
Because Minimal LIBC doesn't have PRIuFAST32 and PRIxFAST32 which is
needed when printing traces in zcbor.

Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
2022-04-28 16:18:28 +02:00

39 lines
888 B
Plaintext

# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config ZEPHYR_ZCBOR_MODULE
bool
config ZCBOR
bool "zcbor CBOR library"
help
zcbor CBOR encoder/decoder library
if ZCBOR
config ZCBOR_CANONICAL
bool "Produce canonical CBOR"
help
Enabling this will prevent zcbor from creating lists and maps with
indefinite-length arrays (it will still decode them properly).
config ZCBOR_STOP_ON_ERROR
bool "Stop on error when processing"
help
This makes all functions abort their execution if called when an error
has already happened.
config ZCBOR_VERBOSE
bool "Make zcbor code print messages"
# TODO: FIXME: Remove when Minimal LIBC has been fixed.
depends on !MINIMAL_LIBC # Because Minimal LIBC doesn't have PRIuFAST32 and PRIxFAST32.
config ZCBOR_ASSERT
def_bool ASSERT
config ZCBOR_BIG_ENDIAN
def_bool BIG_ENDIAN
endif # ZCBOR