Skip to content

Commit

Permalink
pkg/qcbor: document how to disable features using CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Apr 22, 2023
1 parent 8c5bff8 commit bd3e6a2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pkg/qcbor/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,16 @@
* USEPKG += qcbor
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
*/
* 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
* ```
*
*/

0 comments on commit bd3e6a2

Please sign in to comment.