-
Notifications
You must be signed in to change notification settings - Fork 2k
Build Flags
Ludwig Ortmann edited this page Jul 30, 2014
·
9 revisions
There are a couple of flags you can use to statically modify RIOT's behavior or to enable/disable certain features.
Usage Example:
CFLAGS="-DSCHEDSTATISTICS -DDEVELHELP" make QUIET=1 clean all
-
CFLAGS=-DSCHEDSTATISTICS
- enable gathering and display of scheduler statistics -
CFLAGS=-DDEVELHELP
- enable certain code sections useful for development -
CFLAGS=-DSCHED_TEST_STACK
- enable (simple) testing for stack overflows
-
QUIET=1
/QUIET=0
- enable/disable hiding of compiler invocations
-
CFLAGS=-DNATIVE_AUTO_EXIT
- terminate the native process after the last RIOT thread has exited.
-
CFLAGS=-DDBG_IGNORE
- enable the transceivers ignore command (useful for debugging)