blob: e031d6591e808e595547863058a2da1d4a8758cb [file] [log] [blame]
Anas Nashif8017c592019-05-23 17:19:41 -04001# Copyright (c) 2018 Intel Corporation
Anas Nashif8017c592019-05-23 17:19:41 -04002# SPDX-License-Identifier: Apache-2.0
3
4config TINYCBOR
5 bool "tinyCBOR Support"
6 help
7 This option enables the tinyCBOR library.
8
9if TINYCBOR
10
11config CBOR_NO_DFLT_WRITER
12 bool "No default writer support"
13 help
14 This option specifies whether a default writer exists.
15
16config CBOR_NO_DFLT_READER
17 bool "No default reader support"
18 help
19 This option specifies whether a default reader exists.
20
21config CBOR_ENCODER_NO_CHECK_USER
22 bool "No encoder checks for user args for validity"
23 help
24 This option specifies whether a check user exists for a cbor encoder.
25
26config CBOR_PARSER_MAX_RECURSIONS
27 int "Parser max recursions"
28 default 1024
29 help
30 This option specifies max recursions for the parser.
31
32config CBOR_PARSER_NO_STRICT_CHECKS
33 bool "No strict parser checks"
34 help
35 This option enables the strict parser checks.
36
37config CBOR_FLOATING_POINT
38 bool "Floating point support"
39 select NEWLIB_LIBC
40 help
41 This option enables floating point support.
42
43config CBOR_HALF_FLOAT_TYPE
44 bool "Half float type support"
45 select NEWLIB_LIBC
46 help
47 This option enables half float type support.
48
49config CBOR_WITHOUT_OPEN_MEMSTREAM
50 bool "Without open memstream"
51 default y
52 help
53 This option enables open memstream support.
54
55config CBOR_PRETTY_PRINTING
56 bool "Implement pretty printing functionality"
57 help
58 This option enables cbor_value_to_pretty_stream function.
59
Ulf Magnusson270d5352019-09-06 17:05:46 +020060endif # TINYCBOR