modules: zcbor: Add config CONFIG_ZCBOR_MAX_STR_LEN
For use with zcbor_tstr_put_term() which needs a maximum string length. Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
5d95776514
commit
ea4c12df82
|
@ -33,4 +33,11 @@ config ZCBOR_ASSERT
|
|||
config ZCBOR_BIG_ENDIAN
|
||||
def_bool BIG_ENDIAN
|
||||
|
||||
config ZCBOR_MAX_STR_LEN
|
||||
int "Default max length when calling zcbor_tstr_put_term()"
|
||||
default 256
|
||||
help
|
||||
This can be manually used if no other value is readily available, but
|
||||
using this is discouraged.
|
||||
|
||||
endif # ZCBOR
|
||||
|
|
Loading…
Reference in a new issue