Refine interpreter to improve performance, refine memory usage (#161)
This commit is contained in:
@ -74,7 +74,7 @@ host_interface interface = {
|
||||
|
||||
timer_ctx_t timer_ctx;
|
||||
|
||||
static char global_heap_buf[270 * 1024] = { 0 };
|
||||
static char global_heap_buf[370 * 1024] = { 0 };
|
||||
|
||||
extern void display_init(void);
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ enable_language (ASM)
|
||||
# change to "ARM[sub]", "THUMB[sub]", "X86_32", "MIPS_32" or "XTENSA_32"
|
||||
# if we want to support arm_32, x86, mips or xtensa
|
||||
if (NOT DEFINED WAMR_BUILD_TARGET)
|
||||
set (WAMR_BUILD_TARGET "THUMB")
|
||||
set (WAMR_BUILD_TARGET "THUMBV7")
|
||||
endif ()
|
||||
|
||||
if (NOT DEFINED WAMR_BUILD_INTERP)
|
||||
@ -23,8 +23,7 @@ if (NOT DEFINED WAMR_BUILD_INTERP)
|
||||
endif ()
|
||||
|
||||
if (NOT DEFINED WAMR_BUILD_AOT)
|
||||
# Disable AOT by default.
|
||||
set (WAMR_BUILD_AOT 0)
|
||||
set (WAMR_BUILD_AOT 1)
|
||||
endif ()
|
||||
|
||||
if (NOT DEFINED WAMR_BUILD_JIT)
|
||||
|
||||
@ -7,3 +7,4 @@ CONFIG_LOG=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
CONFIG_STACK_SENTINEL=y
|
||||
CONFIG_MAIN_STACK_SIZE=2048
|
||||
CONFIG_ARM_MPU=n
|
||||
|
||||
Reference in New Issue
Block a user