docs: Updates OpenOCD command names

This commit is contained in:
Alexey Gerenkov
2020-03-16 19:06:47 +03:00
parent 63cd2b0613
commit 7ee7a6d7bb
6 changed files with 14 additions and 18 deletions
@@ -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