Re-org memory allocation interfaces, add --stack-size and --heap-size option (#193)
This commit is contained in:
@ -10,6 +10,9 @@ set (WAMR_BUILD_PLATFORM "zephyr")
|
||||
|
||||
enable_language (ASM)
|
||||
|
||||
add_definitions(-DWA_MALLOC=wasm_runtime_malloc)
|
||||
add_definitions(-DWA_FREE=wasm_runtime_free)
|
||||
|
||||
# Build as THUMB by default
|
||||
# change to "ARM[sub]", "THUMB[sub]", "X86_32", "MIPS" or "XTENSA"
|
||||
# if we want to support arm_32, x86, mips or xtensa
|
||||
@ -17,7 +20,6 @@ if (NOT DEFINED WAMR_BUILD_TARGET)
|
||||
set (WAMR_BUILD_TARGET "THUMBV7")
|
||||
endif ()
|
||||
|
||||
|
||||
if (NOT DEFINED WAMR_BUILD_INTERP)
|
||||
# Enable Interpreter by default
|
||||
set (WAMR_BUILD_INTERP 1)
|
||||
|
||||
Reference in New Issue
Block a user