2020-03-08 19:11:23 +01:00
|
|
|
/**
|
|
|
|
* @defgroup pkg_qcbor QCBOR for RIOT
|
|
|
|
* @ingroup pkg
|
|
|
|
* @brief Small footprint CBOR encoder/decoder
|
|
|
|
* @see https://github.com/laurencelundblade/QCBOR
|
|
|
|
*
|
|
|
|
* Usage
|
|
|
|
* -----
|
|
|
|
*
|
|
|
|
* It can be added as a package in the Makefile of the application:
|
|
|
|
*
|
|
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.mk}
|
|
|
|
* USEPKG += qcbor
|
|
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
*
|
2023-04-22 17:48:32 +02:00
|
|
|
* Disabling features
|
|
|
|
* ------------------
|
|
|
|
*
|
|
|
|
* As explained in the [README](https://github.com/laurencelundblade/QCBOR#disabling-features), qcbor
|
|
|
|
* provides options to disable some features and reduce code size.
|
|
|
|
* Just add them to `CFLAGS` in the application `Makefile` or directly to the command line.
|
|
|
|
* For example, in the command line:
|
|
|
|
*
|
|
|
|
* ```
|
2023-05-05 22:01:47 +02:00
|
|
|
* CFLAGS="-DQCBOR_DISABLE_INDEFINITE_LENGTH_STRINGS" BOARD=samr21-xpro make -C tests/pkg/qcbor
|
2023-04-22 17:48:32 +02:00
|
|
|
* ```
|
|
|
|
*
|
|
|
|
*/
|