docs: Updates OpenOCD command names
This commit is contained in:
@@ -41,8 +41,6 @@ To run the example and collect trace data:
|
||||
xtensa-esp32-elf-gdb -x gdbinit build/sysview_tracing_heap_log.elf
|
||||
```
|
||||
|
||||
**Note**: if running the example on ESP32-S2, modify the command name in gdbinit file from `esp32 sysview` to `esp32_s2 sysview`, and run `xtensa-esp32s2-elf-gdb` instead of `xtensa-esp32-elf-gdb`.
|
||||
|
||||
2. When program stops at `heap_trace_stop` quit GDB.
|
||||
|
||||
3. Open trace data file in SystemView tool.
|
||||
|
||||
@@ -5,13 +5,13 @@ flushregs
|
||||
|
||||
tb heap_trace_start
|
||||
commands
|
||||
mon esp32 sysview start file:///tmp/heap_log.svdat
|
||||
mon esp sysview start file:///tmp/heap_log.svdat
|
||||
c
|
||||
end
|
||||
|
||||
tb heap_trace_stop
|
||||
commands
|
||||
mon esp32 sysview stop
|
||||
mon esp sysview stop
|
||||
end
|
||||
|
||||
c
|
||||
|
||||
Reference in New Issue
Block a user