esp-idf/tools/test_apps/system/gdb_loadable_elf
Ivan Grokhotkov 84e4127f0c 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 14:38:43 +02:00
..
main Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
app_test.py build-system: add loadable elf support for ESP32-S2 and C3 2021-02-02 17:21:39 +08:00
CMakeLists.txt Migrate "loadable elf" test from hello_world example to test_apps 2020-04-29 09:17:28 +02:00
gdbinit_esp32 tests: gdb_loadable_elf: adjust the breakpoint location for ESP32 ECO3 2021-06-18 14:38:43 +02:00
gdbinit_esp32c3 build-system: add loadable elf support for ESP32-S2 and C3 2021-02-02 17:21:39 +08:00
gdbinit_esp32s2 build-system: add loadable elf support for ESP32-S2 and C3 2021-02-02 17:21:39 +08: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.