1# Copyright (c) 2022 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4config ZEPHYR_ZCBOR_MODULE 5 bool 6 7config ZCBOR 8 bool "zcbor CBOR library" 9 help 10 zcbor CBOR encoder/decoder library 11 12if ZCBOR 13 14config ZCBOR_CANONICAL 15 bool "Produce canonical CBOR" 16 help 17 Enabling this will prevent zcbor from creating lists and maps with 18 indefinite-length arrays (it will still decode them properly). 19 20config ZCBOR_STOP_ON_ERROR 21 bool "Stop on error when processing" 22 help 23 This makes all functions abort their execution if called when an error 24 has already happened. 25 26config ZCBOR_VERBOSE 27 bool "Make zcbor code print messages" 28 29config ZCBOR_ASSERT 30 def_bool ASSERT 31 32config ZCBOR_BIG_ENDIAN 33 def_bool BIG_ENDIAN 34 35endif # ZCBOR 36