From 0b0943df7e960c9864d5a639daf0268496e62dc6 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 5 Nov 2017 11:46:07 +0000 Subject: [PATCH] Fixed bug #902. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_17.6.x@10959 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/src/ch.c | 5 +++++ readme.txt | 1 + 2 files changed, 6 insertions(+) diff --git a/os/nil/src/ch.c b/os/nil/src/ch.c index db811f7b2..6c1ed494d 100644 --- a/os/nil/src/ch.c +++ b/os/nil/src/ch.c @@ -260,6 +260,11 @@ void chSysInit(void) { nil.lock_cnt = (cnt_t)1; #endif + /* Memory core initialization, if enabled.*/ +#if CH_CFG_USE_MEMCORE == TRUE + _core_init(); +#endif + /* Heap initialization, if enabled.*/ #if CH_CFG_USE_HEAP == TRUE _heap_init(); diff --git a/readme.txt b/readme.txt index d9556e612..ee6d7a74a 100644 --- a/readme.txt +++ b/readme.txt @@ -89,6 +89,7 @@ ***************************************************************************** *** 17.6.3 *** +- NIL: Fixed core and Heap allocators not functional in NIL (bug #902). - HAL: Fixed function uartSendFullTimeout() failing on STM32 USARTv1 and v2 drivers (bug #901). - HAL: Fixed broken I2C fallback driver (bug #900).