From f50fbe78aa9cdba2f9e77b5fa85e0b834bad8302 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 13 May 2024 13:31:47 +0900 Subject: [PATCH] wamr: Add a few options for esp32s3 The corresponding WAMR change: https://github.com/bytecodealliance/wasm-micro-runtime/pull/2348 --- interpreters/wamr/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/interpreters/wamr/Kconfig b/interpreters/wamr/Kconfig index b20244ac3..5f14976a9 100644 --- a/interpreters/wamr/Kconfig +++ b/interpreters/wamr/Kconfig @@ -47,6 +47,16 @@ config INTERPRETERS_WAMR_AOT_QUICK_ENTRY signature. Enable this option will increase the size of runtime, ~8KB. +config INTERPRETERS_WAMR_AOT_WORD_ALIGN_READ + bool "Make WAMR AOT loader use word-aligned read" + default y + depends on INTERPRETERS_WAMR_AOT && ARCH_CHIP_ESP32S3 + +config INTERPRETERS_WAMR_MEM_DUAL_BUS_MIRROR + bool "Make WAMR AOT loader aware of ESP32-S3's memory mapping" + default y + depends on INTERPRETERS_WAMR_AOT && ARCH_CHIP_ESP32S3 + choice prompt "Enable interpreter" default INTERPRETERS_NONE