aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/include/chmemcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/oslib/include/chmemcore.h')
-rw-r--r--os/common/oslib/include/chmemcore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/common/oslib/include/chmemcore.h b/os/common/oslib/include/chmemcore.h
index 014af50d6..539d71ecf 100644
--- a/os/common/oslib/include/chmemcore.h
+++ b/os/common/oslib/include/chmemcore.h
@@ -49,7 +49,9 @@
* provide the @p __heap_base__ and @p __heap_end__ symbols.
* @note Requires @p CH_CFG_USE_MEMCORE.
*/
+#if !defined(CH_CFG_MEMCORE_SIZE) || defined(__DOXYGEN__)
#define CH_CFG_MEMCORE_SIZE 0
+#endif
/*===========================================================================*/
/* Derived constants and error checks. */