Select one of the symbols to view example projects that use it.
 
Outline
#define OPENOCD_TARGET_ESP_XTENSA_H
#include <target/target.h>
#include <target/xtensa/xtensa.h>
#include "esp_semihosting.h"
#include "esp.h"
#include "esp_xtensa_apptrace.h"
esp_xtensa_common
target_to_esp_xtensa(struct target *)
esp_xtensa_init_arch_info(struct target *, struct esp_xtensa_common *, struct xtensa_debug_module_config *, const struct esp_semihost_ops *);
esp_xtensa_target_init(struct command_context *, struct target *);
esp_xtensa_target_deinit(struct target *);
esp_xtensa_arch_state(struct target *);
esp_xtensa_queue_tdi_idle(struct target *);
esp_xtensa_breakpoint_add(struct target *, struct breakpoint *);
esp_xtensa_breakpoint_remove(struct target *, struct breakpoint *);
esp_xtensa_poll(struct target *);
esp_xtensa_profiling(struct target *, uint32_t *, uint32_t, uint32_t *, uint32_t);
esp_xtensa_on_halt(struct target *);
Files
loading...
SourceVuDevelopment ToolsOpenOCDsrc/target/espressif/esp_xtensa.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* SPDX-License-Identifier: GPL-2.0-or-later */ /*************************************************************************** * Generic ESP xtensa target implementation for OpenOCD * * Copyright (C) 2019 Espressif Systems Ltd. * ***************************************************************************//* ... */ #ifndef OPENOCD_TARGET_ESP_XTENSA_H #define OPENOCD_TARGET_ESP_XTENSA_H #include <target/target.h> #include <target/xtensa/xtensa.h> #include "esp_semihosting.h" #include "esp.h" #include "esp_xtensa_apptrace.h" 5 includes struct esp_xtensa_common { struct xtensa xtensa; /* must be the first element */ struct esp_common esp; struct esp_semihost_data semihost; struct esp_xtensa_apptrace_info apptrace; ...}; static inline struct esp_xtensa_common *target_to_esp_xtensa(struct target *target) { return container_of(target->arch_info, struct esp_xtensa_common, xtensa); }{ ... } int esp_xtensa_init_arch_info(struct target *target, struct esp_xtensa_common *esp_xtensa, struct xtensa_debug_module_config *dm_cfg, const struct esp_semihost_ops *semihost_ops); int esp_xtensa_target_init(struct command_context *cmd_ctx, struct target *target); void esp_xtensa_target_deinit(struct target *target); int esp_xtensa_arch_state(struct target *target); void esp_xtensa_queue_tdi_idle(struct target *target); int esp_xtensa_breakpoint_add(struct target *target, struct breakpoint *breakpoint); int esp_xtensa_breakpoint_remove(struct target *target, struct breakpoint *breakpoint); int esp_xtensa_poll(struct target *target); int esp_xtensa_profiling(struct target *target, uint32_t *samples, uint32_t max_num_samples, uint32_t *num_samples, uint32_t seconds); int esp_xtensa_on_halt(struct target *target); /* ... */ #endif /* OPENOCD_TARGET_ESP_XTENSA_H */
Details
Show:
from
Types: Columns:
Click anywhere in the source to view detailed information here...