Utilities and helper functionality More...
Utilities and helper functionality
Additional scripts and configuration options to ease RIOT development.
Topics | |
Blob file module | |
Include any file content as binary data in a RIOT application | |
Macros | |
#define | DEVELHELP |
This global macro activates functionality to help developers. | |
#define | RIOT_FILE_RELATIVE |
Provides the current filename relative to the RIOT base directory (RIOTBASE) | |
#define | RIOT_FILE_NOPATH |
Provides the current filename without the parent directory path. | |
#define | CONFIG_THREAD_NAMES |
This global macro enable storage of thread names to help developers. | |
#define | TEST_SUITES |
This global macro activates functionality that is needed for automated testing but not needed otherwise. | |
#define CONFIG_THREAD_NAMES |
#define DEVELHELP |
This global macro activates functionality to help developers.
To activate it set environment variable DEVELHELP=1
, or disable explicitly with DEVELHELP=0
.
The following list of what DEVELHELP=1
enables is not comprehensive, but should give a rough impression of what to expect:
DEVELHELP=0
perform more complex tasks to give useful output.DEVELHELP=1
(or when FORCE_ASSERTS=1
). Otherwise, the build system sets NDEBUG
and thus skips assertions entirely.#define RIOT_FILE_NOPATH |
Provides the current filename without the parent directory path.
*.c
and *.cpp
files. For *.h
/*.hpp
files the source compiles, however, the including *.c
/*.cpp
file will be substituted. __FILE__
for absolute filenames that also work with *.h files #define RIOT_FILE_RELATIVE |
Provides the current filename relative to the RIOT base directory (RIOTBASE)
*.c
and *.cpp
files. For *.h
/*.hpp
files the source compiles, however, the including *.c
/*.cpp
file will be substituted. __FILE__
for absolute filenames that also work with *.h files