diff --git a/pkg/qcbor/doc.txt b/pkg/qcbor/doc.txt index 9f192a0a4171..6e309c3b28d0 100644 --- a/pkg/qcbor/doc.txt +++ b/pkg/qcbor/doc.txt @@ -13,4 +13,16 @@ * USEPKG += qcbor * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * - */ \ No newline at end of file + * 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: + * + * ``` + * CFLAGS="-DQCBOR_DISABLE_INDEFINITE_LENGTH_STRINGS" BOARD=samr21-xpro make -C tests/pkg_qcbor + * ``` + * + */