1
0
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:
Joakim Gebart 2015-07-07 13:46:42 +02:00
commit aa4d920986

View File

@ -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