OpenOCD
esp_semihosting.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  esp_semihost_data
 
struct  esp_semihost_ops
 Semihost calls handling operations. More...
 

Macros

#define ESP_SEMIHOSTING_SYS_ACCESS   0x10E
 
#define ESP_SEMIHOSTING_SYS_APPTRACE_INIT   0x101
 
#define ESP_SEMIHOSTING_SYS_BREAKPOINT_SET   0x103
 
#define ESP_SEMIHOSTING_SYS_CLOSEDIR   0x10C
 
#define ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT   0x102
 
#define ESP_SEMIHOSTING_SYS_DRV_INFO   0x100
 
#define ESP_SEMIHOSTING_SYS_FSTAT   0x111
 
#define ESP_SEMIHOSTING_SYS_FSYNC   0x113
 
#define ESP_SEMIHOSTING_SYS_LINK   0x114
 
#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_RMDIR   0x10D
 
#define ESP_SEMIHOSTING_SYS_SEEK   0x105 /* custom lseek with whence */
 
#define ESP_SEMIHOSTING_SYS_SEEKDIR   0x10A
 
#define ESP_SEMIHOSTING_SYS_STAT   0x112
 
#define ESP_SEMIHOSTING_SYS_TELLDIR   0x10B
 
#define ESP_SEMIHOSTING_SYS_TRUNCATE   0x10F
 
#define ESP_SEMIHOSTING_SYS_UNLINK   0x115
 
#define ESP_SEMIHOSTING_SYS_UTIME   0x110
 
#define ESP_SEMIHOSTING_SYS_WATCHPOINT_SET   0x104
 
#define ESP_SYS_DRV_INFO_LEGACY   0xE0
 

Functions

int esp_semihosting_basedir_command (struct command_invocation *cmd)
 
int esp_semihosting_common (struct target *target)
 

Macro Definition Documentation

◆ ESP_SEMIHOSTING_SYS_ACCESS

#define ESP_SEMIHOSTING_SYS_ACCESS   0x10E

Definition at line 30 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_APPTRACE_INIT

#define ESP_SEMIHOSTING_SYS_APPTRACE_INIT   0x101

Definition at line 16 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_BREAKPOINT_SET

#define ESP_SEMIHOSTING_SYS_BREAKPOINT_SET   0x103

Definition at line 18 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_CLOSEDIR

#define ESP_SEMIHOSTING_SYS_CLOSEDIR   0x10C

Definition at line 28 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT

#define ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT   0x102

Definition at line 17 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_DRV_INFO

#define ESP_SEMIHOSTING_SYS_DRV_INFO   0x100

Definition at line 15 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_FSTAT

#define ESP_SEMIHOSTING_SYS_FSTAT   0x111

Definition at line 33 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_FSYNC

#define ESP_SEMIHOSTING_SYS_FSYNC   0x113

Definition at line 35 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_LINK

#define ESP_SEMIHOSTING_SYS_LINK   0x114

Definition at line 36 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_MKDIR

#define ESP_SEMIHOSTING_SYS_MKDIR   0x106

Definition at line 22 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_OPENDIR

#define ESP_SEMIHOSTING_SYS_OPENDIR   0x107

Definition at line 23 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_READDIR

#define ESP_SEMIHOSTING_SYS_READDIR   0x108

Definition at line 24 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_READDIR_R

#define ESP_SEMIHOSTING_SYS_READDIR_R   0x109

Definition at line 25 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_RMDIR

#define ESP_SEMIHOSTING_SYS_RMDIR   0x10D

Definition at line 29 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_SEEK

#define ESP_SEMIHOSTING_SYS_SEEK   0x105 /* custom lseek with whence */

Definition at line 20 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_SEEKDIR

#define ESP_SEMIHOSTING_SYS_SEEKDIR   0x10A

Definition at line 26 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_STAT

#define ESP_SEMIHOSTING_SYS_STAT   0x112

Definition at line 34 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_TELLDIR

#define ESP_SEMIHOSTING_SYS_TELLDIR   0x10B

Definition at line 27 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_TRUNCATE

#define ESP_SEMIHOSTING_SYS_TRUNCATE   0x10F

Definition at line 31 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_UNLINK

#define ESP_SEMIHOSTING_SYS_UNLINK   0x115

Definition at line 37 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_UTIME

#define ESP_SEMIHOSTING_SYS_UTIME   0x110

Definition at line 32 of file esp_semihosting.h.

◆ ESP_SEMIHOSTING_SYS_WATCHPOINT_SET

#define ESP_SEMIHOSTING_SYS_WATCHPOINT_SET   0x104

Definition at line 19 of file esp_semihosting.h.

◆ ESP_SYS_DRV_INFO_LEGACY

#define ESP_SYS_DRV_INFO_LEGACY   0xE0

Definition at line 12 of file esp_semihosting.h.

Function Documentation

◆ esp_semihosting_basedir_command()

◆ esp_semihosting_common()