diff options
| author | aozima <[email protected]> | 2021-07-14 22:08:30 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2021-09-18 10:12:33 +0800 |
| commit | 2e5b4736fe86e852c218d9ed0e492ba9ea6a3d56 (patch) | |
| tree | 3c21a16c4e49ee57fea16d5c29b787903feed93d /src/Kconfig | |
| parent | 00221bd43f8aad4a91e44fe1a7c6fe85571df456 (diff) | |
[kernel] update memheap auto binding policy.
Diffstat (limited to 'src/Kconfig')
| -rw-r--r-- | src/Kconfig | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/Kconfig b/src/Kconfig index 71abd9cf4f..fc7fcd54f4 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -268,11 +268,18 @@ menu "Memory Management" help Using static memory fixed partition - config RT_USING_MEMHEAP + menuconfig RT_USING_MEMHEAP bool "Using memory heap object" default n - help - Using memory heap object to manage dynamic memory heap. + + if RT_USING_MEMHEAP + + if RT_USING_MEMHEAP_AS_HEAP + config RT_USING_MEMHEAP_AUTO_BINDING + bool "Use all of memheap objects as heap" + default y + endif + endif choice prompt "Dynamic Memory Management" @@ -289,7 +296,7 @@ menu "Memory Management" if RT_USING_MEMHEAP config RT_USING_MEMHEAP_AS_HEAP - bool "Use all of memheap objects as heap" + bool "Use memheap objects as heap" endif config RT_USING_USERHEAP |
