mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-30 21:02:27 +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 | ||||||
| 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),) | ifeq ($(CONFIG_INTERPRETERS_WAMR_STACK_GUARD_SIZE),) | ||||||
| CFLAGS += -DWASM_STACK_GUARD_SIZE=0 | CFLAGS += -DWASM_STACK_GUARD_SIZE=0 | ||||||
| else | else | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 YAMAMOTO Takashi
						YAMAMOTO Takashi