You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/09/27 18:42:19 UTC
[incubator-nuttx-apps] branch master updated: interpreters/wamr:
Add configs for heap pool & custom name sections
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new c26d662 interpreters/wamr: Add configs for heap pool & custom name sections
c26d662 is described below
commit c26d662951734737a166c3c38187a44b5c631530
Author: Huang Qi <hu...@xiaomi.com>
AuthorDate: Sun Sep 27 20:25:47 2020 +0800
interpreters/wamr: Add configs for heap pool & custom name sections
Signed-off-by: Huang Qi <hu...@xiaomi.com>
---
interpreters/wamr/Kconfig | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig
index e5f5699..5e05fa0 100644
--- a/interpreters/wamr/Kconfig
+++ b/interpreters/wamr/Kconfig
@@ -55,4 +55,20 @@ config INTERPRETERS_WAMR_DISABLE_HW_BOUND_CHECK
bool "Disable hardware bound check"
default n
+config INTERPRETERS_WAMR_CUSTOM_NAME_SECTIONS
+ bool "Enable custom name section support"
+ default n
+
+config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL
+ bool "Enable global heap pool"
+ default n
+
+if INTERPRETERS_WAMR_GLOBAL_HEAP_POOL
+
+config INTERPRETERS_WAMR_GLOBAL_HEAP_POOL_SIZE
+ int "Global heap pool size (in KB)"
+ default 128
+
+endif
+
endif