Build Flags - thomaseichinger/RIOT GitHub Wiki
There are a couple of flags you can use to statically modify RIOT's behavior or to enable/disable certain features.
Usage Example:
make CFLAGS=DSCHEDSTATISTICS QUIET=1 clean all
General
CFLAGS=-DSCHEDSTATISTICS
- enable gathering and display of scheduler statisticsCFLAGS=-DDEVELHELP
- enable certain code sections useful for developmentCFLAGS=-DSCHED_TEST_STACK
- enable (simple) testing for stack overflows
Make Specific
QUIET=1
/QUIET=0
- enable/disable hiding of compiler invocations
Platform Specific
native
CFLAGS=-DNATIVE_AUTO_EXIT
- terminate the native process after the last RIOT thread has exited.
Module Specific
transceiver
CFLAGS=-DDBG_IGNORE
- enable the transceivers ignore command (useful for debugging)