1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

pkg/qcbor: document how to disable features using CFLAGS

This commit is contained in:
Alexandre Abadie 2023-04-22 17:48:32 +02:00
parent 8c5bff8877
commit bd3e6a230f
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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
* ```
*
*/