forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 1
Build Flags
Joakim Gebart edited this page Jun 1, 2015
·
8 revisions
There are a couple of flags you can use to statically modify RIOT's behavior or to enable/disable certain features.
Usage Example:
QUIET=1 CFLAGS="-DSCHEDSTATISTICS -DDEVELHELP" make 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 -
RIOT_VERSION=foo
- build a tagged version of RIOT -
RIOT_VERSION_OVERRIDE
- override the version string - useful for comparing build sizes (available once https://github.com/RIOT-OS/RIOT/pull/3035 is merged)
-
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.
(available once https://github.com/RIOT-OS/RIOT/pull/3119 is merged)
-
TOOLCHAIN=gnu
- build with GNU toolchain (GCC, binutils etc), this is the default -
TOOLCHAIN=llvm
- build with LLVM/Clang (some binutils tools are still required)
-
CFLAGS=-DDBG_IGNORE
- enable the transceivers ignore command (useful for debugging)
RIOT - The friendly Operating System for the Internet of Things
Homepage | [GitHub] (https://github.com/RIOT-OS/) | Developers Mailing List | Users Mailing List | Twitter @RIOT_OS
- Family: ARM
- Board: Airfy Beacon
- Board: Arduino Due
- Board: CC2538DK
- Board: CC2650STK
- Board: HikoB Fox
- Board: IoT LAB M3
- Board: LimiFrog-v1
- Board: mbed_lpc1768
- Board: MSB-IoT
- Board: MSBA2
- Board: Nucleo-L1
- Board: Nucleo-F334
- Board: Nucleo-F303
- Board: Nucleo-F091
- Board: Mulle
- Board: OpenMote
- Board: PCA1000x (nRF51822 Development Kit)
- Board: Phytec phyWAVE-KW22
- Board: RFduino
- Board: SAMR21-xpro
- Board: SAML21-xpro
- Board: Seeeduino Arch-Pro
- Board: Spark Core
- Board: STM32F0discovery
- Board: STM32F3discovery
- Board: STM32F4discovery
- Board: UDOO
- Board: yunjia-nrf51822
- Board: Zolertia remote
- Family: ATmega
- Board: Arduino Mega2560
- Board: Arduino Uno
- Board: Arduino Duemilanove
- Family: MSP430
- Board: MSB-430H
- Board: TelosB
- Board: WSN430
- Board: Zolertia Z1
- Board: eZ430-Chronos
- Family: native
- Board: native
- Family: x86
- Board: Intel Galileo