mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
Merge pull request #3325 from kaspar030/add_debug_stacksize_define
debug: add DEBUG_EXTRA_STACKSIZE define
This commit is contained in:
commit
aa4d920986
@ -119,6 +119,17 @@ extern "C" {
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @def DEBUG_EXTRA_STACKSIZE
|
||||
*
|
||||
* @brief Extra stacksize needed when ENABLE_DEBUG==1
|
||||
*/
|
||||
#if ENABLE_DEBUG
|
||||
#define DEBUG_EXTRA_STACKSIZE THREAD_EXTRA_STACKSIZE_PRINTF
|
||||
#else
|
||||
#define DEBUG_EXTRA_STACKSIZE (0)
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user