11 #ifndef OPENOCD_TARGET_SEGGER_SYSVIEW_H
12 #define OPENOCD_TARGET_SEGGER_SYSVIEW_H
14 #define SYSVIEW_EVTID_NOP 0
15 #define SYSVIEW_EVTID_OVERFLOW 1
16 #define SYSVIEW_EVTID_ISR_ENTER 2
17 #define SYSVIEW_EVTID_ISR_EXIT 3
18 #define SYSVIEW_EVTID_TASK_START_EXEC 4
19 #define SYSVIEW_EVTID_TASK_STOP_EXEC 5
20 #define SYSVIEW_EVTID_TASK_START_READY 6
21 #define SYSVIEW_EVTID_TASK_STOP_READY 7
22 #define SYSVIEW_EVTID_TASK_CREATE 8
23 #define SYSVIEW_EVTID_TASK_INFO 9
24 #define SYSVIEW_EVTID_TRACE_START 10
25 #define SYSVIEW_EVTID_TRACE_STOP 11
26 #define SYSVIEW_EVTID_SYSTIME_CYCLES 12
27 #define SYSVIEW_EVTID_SYSTIME_US 13
28 #define SYSVIEW_EVTID_SYSDESC 14
29 #define SYSVIEW_EVTID_USER_START 15
30 #define SYSVIEW_EVTID_USER_STOP 16
31 #define SYSVIEW_EVTID_IDLE 17
32 #define SYSVIEW_EVTID_ISR_TO_SCHEDULER 18
33 #define SYSVIEW_EVTID_TIMER_ENTER 19
34 #define SYSVIEW_EVTID_TIMER_EXIT 20
35 #define SYSVIEW_EVTID_STACK_INFO 21
36 #define SYSVIEW_EVTID_MODULEDESC 22
38 #define SYSVIEW_EVTID_INIT 24
39 #define SYSVIEW_EVTID_NAME_RESOURCE 25
40 #define SYSVIEW_EVTID_PRINT_FORMATTED 26
41 #define SYSVIEW_EVTID_NUMMODULES 27
42 #define SYSVIEW_EVTID_END_CALL 28
43 #define SYSVIEW_EVTID_TASK_TERMINATE 29
45 #define SYSVIEW_EVTID_EX 31
49 #define SYSVIEW_EVTID_EX_MARK 0
50 #define SYSVIEW_EVTID_EX_NAME_MARKER 1
51 #define SYSVIEW_EVTID_EX_HEAP_DEFINE 2
52 #define SYSVIEW_EVTID_EX_HEAP_ALLOC 3
53 #define SYSVIEW_EVTID_EX_HEAP_ALLOC_EX 4
54 #define SYSVIEW_EVTID_EX_HEAP_FREE 5
56 #define SYSVIEW_SYNC_LEN 10
58 #define SYSVIEW_EVENT_ID_MAX (200)
77 #define SYSVIEW_MIN_VER_STRING "SEGGER SystemViewer V2.42"
@ SEGGER_SYSVIEW_COMMAND_ID_HEARTBEAT
@ SEGGER_SYSVIEW_COMMAND_ID_STOP
@ SEGGER_SYSVIEW_COMMAND_ID_GET_SYSDESC
@ SEGGER_SYSVIEW_COMMAND_ID_GET_SYSTIME
@ SEGGER_SYSVIEW_COMMAND_ID_GET_MODULEDESC
@ SEGGER_SYSVIEW_COMMAND_ID_START
@ SEGGER_SYSVIEW_COMMAND_ID_GET_NUMMODULES
@ SEGGER_SYSVIEW_COMMAND_ID_GET_MODULE
@ SEGGER_SYSVIEW_COMMAND_ID_GET_TASKLIST