8 #ifndef OPENOCD_TARGET_ESP_H
9 #define OPENOCD_TARGET_ESP_H
17 #define ESP_DBG_STUBS_CODE_BUF_SIZE 32
20 #define ESP_DBG_STUBS_STACK_MIN_SIZE 2048
39 #define ESP_DBG_STUB_MAGIC_NUM_VAL 0xFEEDBEEF
40 #define ESP_DBG_STUB_CAP_GCOV_THREAD BIT(0)
esp_dbg_stub_id
Debug stubs table entries IDs.
@ ESP_DBG_STUB_TABLE_SIZE
@ ESP_DBG_STUB_TABLE_START
@ ESP_DBG_STUB_ENTRY_FIRST
@ ESP_DBG_STUB_CAPABILITIES
@ ESP_DBG_STUB_ENTRY_MAGIC_NUM
@ ESP_DBG_STUB_ENTRY_GCOV
int esp_dbgstubs_table_read(struct target *target, struct esp_dbg_stubs *dbg_stubs)
int esp_common_init(struct esp_common *esp, const struct esp_algorithm_hw *algo_hw)
const struct esp_algorithm_hw * algo_hw
struct esp_dbg_stubs dbg_stubs
uint32_t min_stack_addr
Pre-compiled target buffer's addr for stack.
uint32_t data_free
Address of free-like function to free buffer allocated with data_alloc.
uint32_t tramp_addr
Address of pre-compiled target buffer for stub trampoline.
uint32_t data_alloc
Address of malloc-like function to allocate buffer on target.
uint32_t entries[ESP_DBG_STUB_ENTRY_MAX]
Table contents.
struct esp_dbg_stubs_desc desc
Debug stubs decsriptor.
uint32_t entries_count
Number of table entries.