aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/include
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 13:05:59 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-02 13:05:59 +0000
commite8f67437d0007a2a4cd5a05afbd525a1960c188c (patch)
treef98aa8c362c1d8d3b5247a63c1cbaadbced2e6b8 /os/common/oslib/include
parent4c9f1963a9d92af708dccb93a41f0cebcb43e796 (diff)
downloadChibiOS-e8f67437d0007a2a4cd5a05afbd525a1960c188c.tar.gz
ChibiOS-e8f67437d0007a2a4cd5a05afbd525a1960c188c.tar.bz2
ChibiOS-e8f67437d0007a2a4cd5a05afbd525a1960c188c.zip
Simulator updates, not complete.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9223 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/include')
-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. */