esp-idf/tools/test_idf_monitor
Ivan Grokhotkov 25041ba583 tools/idf_monitor: automatically decode UART core dumps
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.
2020-02-13 18:46:26 +01:00
..
tests tools/idf_monitor: automatically decode UART core dumps 2020-02-13 18:46:26 +01:00
README.md Test the IDF Monitor through sockets 2018-07-09 08:37:40 +02:00
dummy.elf Test the IDF Monitor through sockets 2018-07-09 08:37:40 +02:00
idf_monitor_wrapper.py tools: Test IDF Monitor after it is ready to receive data 2019-02-25 10:35:09 +01:00
run_test_idf_monitor.py tools/idf_monitor: automatically decode UART core dumps 2020-02-13 18:46:26 +01:00

README.md

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