esp-idf/tools/test_apps/system/gdb_loadable_elf
Ivan Grokhotkov 2a81167470 tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3
The previous location was the return from the first ets_printf call
that prints ROM sign-on message. Since the main function was patched
in ECO3, the new address no longer works — there is no instruction at
0x40007901 in ECO3 ROM. This could be solved by setting two
breakpoints (one would work for ECO <=2, the other for ECO3), but we
would need to remove the unused breakpoint later.
Fix this by setting the breakpoint at ets_printf. This means that when
debugging a loadable ELF the ROM sign-on message will no longer be
shown, but this doesn't seem to be an issue.
2021-06-18 15:09:47 +02:00
..
main Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
.gdbinit.ci tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3 2021-06-18 15:09:47 +02:00
app_test.py Add JTAG related example tests 2020-05-05 11:08:33 +02:00
CMakeLists.txt Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
README.md Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
sdkconfig.defaults test_apps: make it possible to run gdb_loadable_elf app locally 2020-05-04 19:10:06 +02:00

Loadable ELF test application

This project tests if the application can be loaded with GDB.