OpenOCD
esp_dbg_stubs_desc Struct Reference

Debug stubs descriptor. More...

Data Fields

uint32_t data_alloc
 Address of malloc-like function to allocate buffer on target. More...
 
uint32_t data_free
 Address of free-like function to free buffer allocated with data_alloc. More...
 
uint32_t min_stack_addr
 Pre-compiled target buffer's addr for stack. More...
 
uint32_t tramp_addr
 Address of pre-compiled target buffer for stub trampoline. More...
 

Detailed Description

Debug stubs descriptor.

ID: ESP_DBG_STUB_DESC

Note
Must be in sync with ESP-IDF version

Definition at line 47 of file esp.h.

Field Documentation

◆ data_alloc

uint32_t esp_dbg_stubs_desc::data_alloc

Address of malloc-like function to allocate buffer on target.

Definition at line 60 of file esp.h.

Referenced by esp_xtensa_dbgstubs_info_update().

◆ data_free

uint32_t esp_dbg_stubs_desc::data_free

Address of free-like function to free buffer allocated with data_alloc.

Definition at line 62 of file esp.h.

Referenced by esp_xtensa_dbgstubs_info_update().

◆ min_stack_addr

uint32_t esp_dbg_stubs_desc::min_stack_addr

Pre-compiled target buffer's addr for stack.

The size of the buffer is ESP_DBG_STUBS_STACK_MIN_SIZE. Target has the buffer which is used for the stack of onboard algorithms. If stack size required by algorithm exceeds ESP_DBG_STUBS_STACK_MIN_SIZE, it should be allocated using onboard function pointed by 'data_alloc' and freed by 'data_free'. They fit to the minimal stack. See below.

Definition at line 58 of file esp.h.

Referenced by esp_xtensa_dbgstubs_info_update().

◆ tramp_addr

uint32_t esp_dbg_stubs_desc::tramp_addr

Address of pre-compiled target buffer for stub trampoline.

Size of the buffer is ESP_DBG_STUBS_CODE_BUF_SIZE

Definition at line 51 of file esp.h.

Referenced by esp_xtensa_dbgstubs_info_update().


The documentation for this struct was generated from the following file: