diff --git a/pkg/qcbor/Makefile b/pkg/qcbor/Makefile index 8d36810c209a..29bb57f0bc85 100644 --- a/pkg/qcbor/Makefile +++ b/pkg/qcbor/Makefile @@ -1,7 +1,7 @@ PKG_NAME = qcbor PKG_URL = https://github.com/laurencelundblade/QCBOR -# Commit on Mar 9, 2020 -PKG_VERSION = 7e8effa94174c33e4acaf737adf6aef16c092c49 +# v1.2 +PKG_VERSION = 92d3f89030baff4af7be8396c563e6c8ef263622 PKG_LICENSE = BSD-3-Clause include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/qcbor/Makefile.include b/pkg/qcbor/Makefile.include index b5f3f397ea3d..9c8306da6c19 100644 --- a/pkg/qcbor/Makefile.include +++ b/pkg/qcbor/Makefile.include @@ -1 +1,2 @@ INCLUDES += -I$(PKGDIRBASE)/qcbor/inc +INCLUDES += -I$(PKGDIRBASE)/qcbor/inc/qcbor 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 + * ``` + * + */