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

pkg/wamr: update for ztimer(64)

This commit is contained in:
Karl Fessel 2022-01-28 13:22:44 +01:00
parent 57e380d173
commit cf6e8825e2
3 changed files with 12 additions and 3 deletions

View File

@ -1,10 +1,10 @@
PKG_NAME=wamr
PKG_URL=https://github.com/bytecodealliance/wasm-micro-runtime.git
PKG_BLEADING?=1
ifeq ($(PKG_BLEADING),1)
PKG_VERSION=main
else
PKG_VERSION=8fd89bd415db73281c8fbd53de1c2726f35b5ddb
PKG_VERSION=770ca8c90c8803f934bf681cd29949b7fb5291a3
#main 2022-01-28
endif
PKG_LICENSE=Apache-2.0
@ -14,6 +14,7 @@ include $(RIOTBASE)/pkg/pkg.mk
#less Wall TODO: get things fixed upstream
CFLAGS := $(filter-out -pedantic, $(CFLAGS))
CFLAGS := $(filter-out -Werror, $(CFLAGS))
CFLAGS += -Wno-format
CFLAGS += -Wno-strict-prototypes
CFLAGS += -Wno-old-style-definition
@ -86,6 +87,8 @@ print_build_target:
@echo CFLAGS: $(CFLAGS)
@echo WAMR_BUILD_TARGET: $(WAMR_BUILD_TARGET)
@echo WAMR_CONFIG: $(WAMR_CONFIG)
@echo RIOT_INCLUDES: $(RIOT_INCLUDES)
CHECK_VERSION:
test -f $(PKG_DOWNLOADED) && (test `cat $(PKG_DOWNLOADED)` = $(PKG_VERSION) || rm $(PKG_DOWNLOADED));true

View File

@ -1,4 +1,7 @@
USEMODULE += sema
USEMODULE += ztimer64_msec
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

View File

@ -1,4 +1,4 @@
# following line a hints for build options mostly untested
# following lines are hints for build options (mostly untested)
# some are not matching RIOTs application targets
# they default to off
@ -19,3 +19,6 @@
# set (WAMR_APP_THREAD_STACK_SIZE_MAX ${WAMR_APP_THREAD_STACK_SIZE_MAX}) #set maximum thread stack size
# set (WAMR_BUILD_CUSTOM_NAME_SECTION 1) #enable Custom name section
# set (WAMR_BUILD_TAIL_CALL 1) #enable Tail call
# the builtin wamr libc is enabled by default
# set (WAMR_BUILD_LIBC_BUILTIN 0) #disable builtin libc