mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Introduce ARCH_HAVE_EXTRA_HEAPS, this config is going to be used for
chips that have multiple separate heaps. For now it's used to enable APIs to initialize the different heaps during the start sequence but can be extended for other purposes that manage those heaps. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
db18a12844
commit
0a4982a80e
@@ -572,8 +572,10 @@ void nx_start(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_USE_TEXT_HEAP
|
||||
up_textheap_init();
|
||||
#ifdef CONFIG_ARCH_HAVE_EXTRA_HEAPS
|
||||
/* Initialize any extra heap. */
|
||||
|
||||
up_extraheaps_init();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_MM_IOB
|
||||
|
||||
Reference in New Issue
Block a user