From 06e5c13b3d022b48523c1db0878ea67d6ed1fb89 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Wed, 20 Apr 2016 18:46:14 +0200 Subject: [PATCH] core: doc: do not exclude CPU specific values This patch ensures that doxygen will add the CPU dependent defines for stack sizes. --- core/include/thread.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/include/thread.h b/core/include/thread.h index f6fd31fee8..ad32ee1b21 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -102,13 +102,16 @@ struct _thread { #endif }; - /** +/** * @def THREAD_STACKSIZE_DEFAULT * @brief A reasonable default stack size that will suffice most smaller tasks */ #ifndef THREAD_STACKSIZE_DEFAULT #error THREAD_STACKSIZE_DEFAULT must be defined per CPU #endif +#ifdef DOXYGEN +#define THREAD_STACKSIZE_DEFAULT +#endif /** * @def THREAD_STACKSIZE_IDLE @@ -117,6 +120,9 @@ struct _thread { #ifndef THREAD_STACKSIZE_IDLE #error THREAD_STACKSIZE_IDLE must be defined per CPU #endif +#ifdef DOXYGEN +#define THREAD_STACKSIZE_IDLE +#endif /** * @def THREAD_EXTRA_STACKSIZE_PRINTF @@ -126,6 +132,9 @@ struct _thread { #ifndef THREAD_EXTRA_STACKSIZE_PRINTF #error THREAD_EXTRA_STACKSIZE_PRINTF must be defined per CPU #endif +#ifdef DOXYGEN +#define THREAD_EXTRA_STACKSIZE_PRINTF +#endif /** * @def THREAD_STACKSIZE_MAIN