mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 15:32:05 +00:00
nuttx: Add CONFIG_INTERPRETERS_WAMR_DEBUG_INTERP (#1426)
the corresponding nuttx PR: https://github.com/apache/incubator-nuttx-apps/pull/1299
This commit is contained in:
parent
6b073af3b0
commit
7e02be836f
|
@ -147,6 +147,19 @@ CSRCS += wasm_loader.c
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_INTERPRETERS_WAMR_DEBUG_INTERP),y)
|
||||
# Note: INTERPRETERS_WAMR_CLASSIC/INTERPRETERS_WAMR_THREAD_MGR
|
||||
# dependencies are already handled in NuttX apps Kconfig
|
||||
CFLAGS += -DWASM_ENABLE_DEBUG_INTERP=1
|
||||
CFLAGS += -I$(IWASM_ROOT)/libraries/debug-engine
|
||||
CSRCS += debug_engine.c
|
||||
CSRCS += gdbserver.c
|
||||
CSRCS += handler.c
|
||||
CSRCS += packets.c
|
||||
CSRCS += utils.c
|
||||
VPATH += $(IWASM_ROOT)/libraries/debug-engine
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE),)
|
||||
CFLAGS += -DWASM_STACK_GUARD_SIZE=0
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user