mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 22:24:33 +02:00
ci: fix appimage_offset for esp32p4 in sysview heap trace example
This commit is contained in:
@@ -33,7 +33,10 @@ def _test_examples_sysview_tracing_heap_log(openocd_dut: 'OpenOCD', idf_path: st
|
|||||||
f_w.write(line)
|
f_w.write(line)
|
||||||
|
|
||||||
dut.expect_exact('example: Ready for OpenOCD connection', timeout=5)
|
dut.expect_exact('example: Ready for OpenOCD connection', timeout=5)
|
||||||
with openocd_dut.run(), open(gdb_logfile, 'w') as gdb_log, pexpect.spawn(
|
with openocd_dut.run() as oocd:
|
||||||
|
if dut.target == 'esp32p4':
|
||||||
|
oocd.write('esp appimage_offset 0x20000')
|
||||||
|
with open(gdb_logfile, 'w') as gdb_log, pexpect.spawn(
|
||||||
f'idf.py -B {dut.app.binary_path} gdb --batch -x {gdbinit}',
|
f'idf.py -B {dut.app.binary_path} gdb --batch -x {gdbinit}',
|
||||||
timeout=60,
|
timeout=60,
|
||||||
logfile=gdb_log,
|
logfile=gdb_log,
|
||||||
|
Reference in New Issue
Block a user