mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:32:44 +01:00
pkg/qcbor: document how to disable features using CFLAGS
This commit is contained in:
parent
8c5bff8877
commit
bd3e6a230f
@ -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
|
||||
* ```
|
||||
*
|
||||
*/
|
Loading…
Reference in New Issue
Block a user