1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/wamr: remove support for architectures

* for which no working assembly invokeNative is provided
This commit is contained in:
Karl Fessel 2022-02-10 12:18:37 +01:00
parent 9e05357960
commit 227f57dbb3
3 changed files with 9 additions and 4 deletions

View File

@ -36,10 +36,9 @@ ifeq ($(findstring arm,$(OS_ARCH)),arm)
WAMR_BUILD_TARGET = ARM
endif
ifeq ($(findstring aarch,$(OS_ARCH)),aarch)
#using 32Bit arm on native aarch
WAMR_BUILD_TARGET = ARM
endif
else ifeq ($(findstring armv4,$(CPU_ARCH)),armv4)
WAMR_BUILD_TARGET = ARM
else ifeq ($(findstring arm,$(CPU_ARCH)),arm)
WAMR_BUILD_TARGET = THUMB
else ifeq ($(CPU_ARCH),mips32r2)

View File

@ -4,4 +4,6 @@ USEMODULE += ztimer_usec
#WAMR supports "X86_32/64", "AARCH64", "ARM", "THUMB", "MIPS", "XTENSA" and RISCV
FEATURES_REQUIRED_ANY += arch_native|arch_arm|arch_mips32r2|arch_esp32|arch_riscv
FEATURES_REQUIRED_ANY += arch_native|arch_esp32|arch_riscv|cortexm_svc
#arch_arm|arch_mips32r2|arch_esp need modified
# build/pkg/wamr/core/iwasm/common/arch/invokeNative_<arch>.s

View File

@ -16,8 +16,12 @@
* WAMR integration into RIOT should be considered experimental.
* Changes that had to be done in WAMR are send to and integrated into upstream.
* WAMR provides support for numerous architectures:
* "X86_32/64", "AARCH64", "ARM", "THUMB", "MIPS", "XTENSA" and "RISCV"
* this Package will build for native (x86,arm, aarch(using arm)), cortex-m, esp32 and riscv
*
* support for other architectures might provideable using the generic
* `core/iwasm/common/arch/invokeNative_general.c` this is not tested
*
* "X86_32", "AARCH64", "ARM", "THUMB", "MIPS", "XTENSA" and "RISCV"
* tested : Cortex-M - "THUMB", native - "X86_32"
*
* ## Memory usage