diff options
Diffstat (limited to 'os/nil/src')
-rw-r--r-- | os/nil/src/ch.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/os/nil/src/ch.c b/os/nil/src/ch.c index 2c9a61279..cbae55c46 100644 --- a/os/nil/src/ch.c +++ b/os/nil/src/ch.c @@ -260,11 +260,21 @@ 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();
#endif
+ /* Factory initialization, if enabled.*/
+#if CH_CFG_USE_FACTORY == TRUE
+ _factory_init();
+#endif
+
/* Port layer initialization last because it depend on some of the
initializations performed before.*/
port_init();
|