target/espressif: cleanup unused macro definitions
[openocd.git] / src / target / espressif / esp32_sysview.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /***************************************************************************
4 * ESP32 sysview tracing module *
5 * Copyright (C) 2020 Espressif Systems Ltd. *
6 ***************************************************************************/
7
8 #ifndef OPENOCD_TARGET_ESP32_SYSVIEW_H
9 #define OPENOCD_TARGET_ESP32_SYSVIEW_H
10
11 #include <stdint.h>
12 #include "esp32_apptrace.h"
13
14 struct esp32_sysview_cmd_data {
15 /* Should be the first field. Generic apptrace command handling code accesses it */
16 struct esp32_apptrace_cmd_data apptrace;
17 struct esp32_apptrace_dest data_dests[ESP32_APPTRACE_MAX_CORES_NUM];
18 bool mcore_format;
19 uint32_t sv_acc_time_delta;
20 unsigned int sv_last_core_id;
21 int sv_trace_running;
22 };
23
24 struct esp32_apptrace_cmd_ctx;
25
26 int esp32_sysview_cmd_init(struct esp32_apptrace_cmd_ctx *cmd_ctx,
27 struct command_invocation *cmd,
28 int mode,
29 bool mcore_format,
30 const char **argv,
31 int argc);
32 int esp32_sysview_cmd_cleanup(struct esp32_apptrace_cmd_ctx *cmd_ctx);
33 int esp32_sysview_process_data(struct esp32_apptrace_cmd_ctx *ctx,
34 unsigned int core_id,
35 uint8_t *data,
36 uint32_t data_len);
37
38 #endif /* OPENOCD_TARGET_ESP32_SYSVIEW_H */

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)