Anas Nashif | 8017c59 | 2019-05-23 17:19:41 -0400 | [diff] [blame] | 1 | # Copyright (c) 2018 Intel Corporation |
Anas Nashif | 8017c59 | 2019-05-23 17:19:41 -0400 | [diff] [blame] | 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | config TINYCBOR |
| 5 | bool "tinyCBOR Support" |
| 6 | help |
| 7 | This option enables the tinyCBOR library. |
| 8 | |
| 9 | if TINYCBOR |
| 10 | |
| 11 | config CBOR_NO_DFLT_WRITER |
| 12 | bool "No default writer support" |
| 13 | help |
| 14 | This option specifies whether a default writer exists. |
| 15 | |
| 16 | config CBOR_NO_DFLT_READER |
| 17 | bool "No default reader support" |
| 18 | help |
| 19 | This option specifies whether a default reader exists. |
| 20 | |
| 21 | config 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 | |
| 26 | config CBOR_PARSER_MAX_RECURSIONS |
| 27 | int "Parser max recursions" |
| 28 | default 1024 |
| 29 | help |
| 30 | This option specifies max recursions for the parser. |
| 31 | |
| 32 | config CBOR_PARSER_NO_STRICT_CHECKS |
| 33 | bool "No strict parser checks" |
| 34 | help |
| 35 | This option enables the strict parser checks. |
| 36 | |
| 37 | config CBOR_FLOATING_POINT |
| 38 | bool "Floating point support" |
| 39 | select NEWLIB_LIBC |
| 40 | help |
| 41 | This option enables floating point support. |
| 42 | |
| 43 | config 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 | |
| 49 | config CBOR_WITHOUT_OPEN_MEMSTREAM |
| 50 | bool "Without open memstream" |
| 51 | default y |
| 52 | help |
| 53 | This option enables open memstream support. |
| 54 | |
| 55 | config CBOR_PRETTY_PRINTING |
| 56 | bool "Implement pretty printing functionality" |
| 57 | help |
| 58 | This option enables cbor_value_to_pretty_stream function. |
| 59 | |
Ulf Magnusson | 270d535 | 2019-09-06 17:05:46 +0200 | [diff] [blame^] | 60 | endif # TINYCBOR |