mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +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
+11
-3
@@ -259,9 +259,17 @@ config ARCH_NEED_ADDRENV_MAPPING
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_HAVE_TEXT_HEAP
|
||||
bool "Special memory region for dynamic code loading"
|
||||
config ARCH_HAVE_EXTRA_HEAPS
|
||||
bool
|
||||
default n
|
||||
---help---
|
||||
Special memory regions used as separate heaps
|
||||
|
||||
config ARCH_HAVE_TEXT_HEAP
|
||||
bool
|
||||
default n
|
||||
---help---
|
||||
Special memory region for dynamic code loading
|
||||
|
||||
config ARCH_HAVE_MULTICPU
|
||||
bool
|
||||
@@ -372,7 +380,7 @@ config ARCH_USE_MPU
|
||||
selection will always be forced.
|
||||
|
||||
config ARCH_USE_TEXT_HEAP
|
||||
bool "Enable separate text heap for dynamic code loading"
|
||||
bool "Enable separate text allocation for dynamic code loading"
|
||||
default n
|
||||
depends on ARCH_HAVE_TEXT_HEAP
|
||||
---help---
|
||||
|
||||
Reference in New Issue
Block a user