mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 18:43:50 +01:00
doc: add documentation on RIOT_FILE_NOPATH
This commit is contained in:
parent
9e1437910f
commit
e2f43682b2
14
doc.txt
14
doc.txt
@ -66,11 +66,25 @@
|
|||||||
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
* source compiles, however, the including `*.c`/`*.cpp` file will be
|
||||||
* substituted.
|
* substituted.
|
||||||
* @see `__FILE__` for absolute filenames that also work with *.h files
|
* @see `__FILE__` for absolute filenames that also work with *.h files
|
||||||
|
* @see @ref RIOT_FILE_NOPATH
|
||||||
*/
|
*/
|
||||||
#if DOXYGEN
|
#if DOXYGEN
|
||||||
# define RIOT_FILE_RELATIVE
|
# define RIOT_FILE_RELATIVE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @def RIOT_FILE_NOPATH
|
||||||
|
* @brief Provides the current filename without the parent directory path
|
||||||
|
* @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
|
||||||
|
* @see @ref RIOT_FILE_RELATIVE
|
||||||
|
*/
|
||||||
|
#if DOXYGEN
|
||||||
|
# define RIOT_FILE_NOPATH
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @def CONFIG_THREAD_NAMES
|
* @def CONFIG_THREAD_NAMES
|
||||||
* @brief This global macro enable storage of thread names to help developers.
|
* @brief This global macro enable storage of thread names to help developers.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user