mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
25041ba583
This adds detection of UART core dumps to IDF monitor. By default, core dumps are not printed to the console, but are processed by espcoredump.py using 'info_corefile' command. The result is printed to stdout. This feature can be disabled in menuconfig. In the future this can be extended to allow running espcoredump.py with 'dbg_corefile' argument, which is similar to the current GDB Stub behavior. Related to IDF-52. |
||
---|---|---|
.. | ||
tests | ||
dummy.elf | ||
idf_monitor_wrapper.py | ||
README.md | ||
run_test_idf_monitor.py |
Project for testing the IDF monitor
Use run_test_idf_monitor.py
in order to run the test.
New tests can be added into test_list
of run_test_idf_monitor.py
and placing the corresponding files into the
tests
directory.
Note: The idf_monitor
is tested by a dummy ELF file which was generated by running the following commands::
dd if=/dev/zero of=tmp.bin bs=1 count=4
xtensa-esp32-elf-objcopy -I binary -O elf32-xtensa-le -B xtensa tmp.bin tmp.o
xtensa-esp32-elf-ld --defsym _start=0x40000000 tmp.o -o dummy.elf
chmod -x dummy.elf