OpenOCD
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define OPENOCD_TARGET_ESP_SEMIHOSTING_H
#define ESP_SYS_DRV_INFO_LEGACY
#define ESP_SEMIHOSTING_SYS_DRV_INFO
#define ESP_SEMIHOSTING_SYS_APPTRACE_INIT
#define ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT
#define ESP_SEMIHOSTING_SYS_BREAKPOINT_SET
#define ESP_SEMIHOSTING_SYS_WATCHPOINT_SET
#define ESP_SEMIHOSTING_SYS_SEEK
#define ESP_SEMIHOSTING_SYS_MKDIR
#define ESP_SEMIHOSTING_SYS_OPENDIR
#define ESP_SEMIHOSTING_SYS_READDIR
#define ESP_SEMIHOSTING_SYS_READDIR_R
#define ESP_SEMIHOSTING_SYS_SEEKDIR
#define ESP_SEMIHOSTING_SYS_TELLDIR
#define ESP_SEMIHOSTING_SYS_CLOSEDIR
#define ESP_SEMIHOSTING_SYS_RMDIR
#define ESP_SEMIHOSTING_SYS_ACCESS
#define ESP_SEMIHOSTING_SYS_TRUNCATE
#define ESP_SEMIHOSTING_SYS_UTIME
#define ESP_SEMIHOSTING_SYS_FSTAT
#define ESP_SEMIHOSTING_SYS_STAT
#define ESP_SEMIHOSTING_SYS_FSYNC
#define ESP_SEMIHOSTING_SYS_LINK
#define ESP_SEMIHOSTING_SYS_UNLINK
esp_semihost_ops
prepare
esp_semihost_data
need_resume
ops
esp_semihosting_common(struct target *);
esp_semihosting_basedir_command(struct command_invocation *);
Files
loading...
SourceVu
Development Tools
OpenOCD
src/target/espressif/esp_semihosting.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
46
47
48
49
50
51
52
53
54
55
/* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Semihosting API for Espressif chips *
* Copyright (C) 2022 Espressif Systems Ltd. *
***************************************************************************/
/* ... */
#ifndef
OPENOCD_TARGET_ESP_SEMIHOSTING_H
#define
OPENOCD_TARGET_ESP_SEMIHOSTING_H
/* Legacy syscalls */
#define
ESP_SYS_DRV_INFO_LEGACY
0xE0
/* syscalls compatible to ARM standard */
#define
ESP_SEMIHOSTING_SYS_DRV_INFO
0x100
#define
ESP_SEMIHOSTING_SYS_APPTRACE_INIT
0x101
#define
ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT
0x102
#define
ESP_SEMIHOSTING_SYS_BREAKPOINT_SET
0x103
#define
ESP_SEMIHOSTING_SYS_WATCHPOINT_SET
0x104
#define
ESP_SEMIHOSTING_SYS_SEEK
0x105
/* custom lseek with whence */
/* not implemented yet */
#define
ESP_SEMIHOSTING_SYS_MKDIR
0x106
#define
ESP_SEMIHOSTING_SYS_OPENDIR
0x107
#define
ESP_SEMIHOSTING_SYS_READDIR
0x108
#define
ESP_SEMIHOSTING_SYS_READDIR_R
0x109
#define
ESP_SEMIHOSTING_SYS_SEEKDIR
0x10A
#define
ESP_SEMIHOSTING_SYS_TELLDIR
0x10B
#define
ESP_SEMIHOSTING_SYS_CLOSEDIR
0x10C
#define
ESP_SEMIHOSTING_SYS_RMDIR
0x10D
#define
ESP_SEMIHOSTING_SYS_ACCESS
0x10E
#define
ESP_SEMIHOSTING_SYS_TRUNCATE
0x10F
#define
ESP_SEMIHOSTING_SYS_UTIME
0x110
#define
ESP_SEMIHOSTING_SYS_FSTAT
0x111
#define
ESP_SEMIHOSTING_SYS_STAT
0x112
#define
ESP_SEMIHOSTING_SYS_FSYNC
0x113
#define
ESP_SEMIHOSTING_SYS_LINK
0x114
#define
ESP_SEMIHOSTING_SYS_UNLINK
0x115
24 defines
/**
* Semihost calls handling operations.
*/
/* ... */
struct
esp_semihost_ops
{
/** Callback called before handling semihost call */
int
(
*
prepare
)
(
struct
target
*
target
)
;
...
}
;
struct
esp_semihost_data
{
bool
need_resume
;
struct
esp_semihost_ops
*
ops
;
...
}
;
int
esp_semihosting_common
(
struct
target
*
target
)
;
int
esp_semihosting_basedir_command
(
struct
command_invocation
*
cmd
)
;
/* ... */
#endif
/* OPENOCD_TARGET_ESP_SEMIHOSTING_H */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
Click anywhere in the source to view detailed information here...