mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
doc: add documentation on RIOT_FILE_RELATIVE
This commit is contained in:
parent
e8be6eec09
commit
9e1437910f
12
doc.txt
12
doc.txt
@ -59,6 +59,18 @@
|
||||
# define DEVELHELP
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def RIOT_FILE_RELATIVE
|
||||
* @brief Provides the current filename relative to the RIOT base directory (RIOTBASE)
|
||||
* @warning This only works within `*.c` and `*.cpp` files. For `*.h`/`*.hpp` files the
|
||||
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
||||
* substituted.
|
||||
* @see `__FILE__` for absolute filenames that also work with *.h files
|
||||
*/
|
||||
#if DOXYGEN
|
||||
# define RIOT_FILE_RELATIVE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @def CONFIG_THREAD_NAMES
|
||||
* @brief This global macro enable storage of thread names to help developers.
|
||||
|
||||
@ -2304,8 +2304,7 @@ PREDEFINED = DOXYGEN \
|
||||
MODULE_GNRC_SIXLOWPAN \
|
||||
MODULE_GNRC_SIXLOWPAN_ND_ROUTER \
|
||||
MODULE_GNRC_SIXLOWPAN_ND_BORDER_ROUTER \
|
||||
MODULE_GNRC_UDP \
|
||||
RIOT_FILE_RELATIVE
|
||||
MODULE_GNRC_UDP
|
||||
|
||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||
# tag can be used to specify a list of macro names that should be expanded. The
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user