diff --git a/examples/protocols/cbor/main/cbor_example_main.c b/examples/protocols/cbor/main/cbor_example_main.c index 3807ce0e3d..5b5eeec9c1 100644 --- a/examples/protocols/cbor/main/cbor_example_main.c +++ b/examples/protocols/cbor/main/cbor_example_main.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Unlicense OR CC0-1.0 + */ /* CBOR Example This example code is in the Public Domain (or CC0 licensed, at your option.) diff --git a/examples/protocols/cbor/sdkconfig.defaults b/examples/protocols/cbor/sdkconfig.defaults new file mode 100644 index 0000000000..845bb33ec3 --- /dev/null +++ b/examples/protocols/cbor/sdkconfig.defaults @@ -0,0 +1,4 @@ +# This example is not supported with newlib nano: +# - First 64-bit integers are not supported in newlib nano +# - There is also issue with `PRIu8` format specifier with newlib nano (observed on ESP32-C2, see IDFCI-1375) +CONFIG_NEWLIB_NANO_FORMAT=n