jtag: linuxgpiod: drop extra parenthesis
[openocd.git] / src / target / rtt.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 /*
4 * Copyright (C) 2016-2020 by Marc Schink <dev@zapb.de>
5 */
6
7 #ifndef OPENOCD_TARGET_RTT_H
8 #define OPENOCD_TARGET_RTT_H
9
10 #include <stdint.h>
11 #include <stdbool.h>
12
13 #include <target/target.h>
14 #include <rtt/rtt.h>
15
16 int target_rtt_start(struct target *target, const struct rtt_control *ctrl,
17 void *user_data);
18 int target_rtt_stop(struct target *target, void *user_data);
19 int target_rtt_find_control_block(struct target *target,
20 target_addr_t *address, size_t size, const char *id, bool *found,
21 void *user_data);
22 int target_rtt_read_control_block(struct target *target,
23 target_addr_t address, struct rtt_control *ctrl, void *user_data);
24 int target_rtt_write_callback(struct target *target,
25 struct rtt_control *ctrl, unsigned int channel_index,
26 const uint8_t *buffer, size_t *length, void *user_data);
27 int target_rtt_read_callback(struct target *target,
28 const struct rtt_control *ctrl, struct rtt_sink_list **sinks,
29 size_t length, void *user_data);
30 int target_rtt_read_channel_info(struct target *target,
31 const struct rtt_control *ctrl, unsigned int channel_index,
32 enum rtt_channel_type type, struct rtt_channel_info *info,
33 void *user_data);
34
35 #endif /* OPENOCD_TARGET_RTT_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)