esp-idf/tools/test_apps/system/panic
Ivan Grokhotkov 7ab57605cb test: panic: make stack overflow test more robust
The previous approach was to allocate an array on the stack, and
have the array extend past the stack size. This worked by would
result in SP being moved near the end of the stack. If an interrupt
triggered at that time, interrupt prologue would try to save the
context to the stack, tripping the stack overflow watchpoint.

Replacing this with the approach which doesn't move the SP and simply
writes to decreasing addresses from SP, until stack overflow check
triggers.
2020-12-30 01:10:09 +01:00
..
main test: panic: make stack overflow test more robust 2020-12-30 01:10:09 +01:00
test_panic_util ci: add esp32s2 support for panic test 2020-12-15 17:57:21 +08:00
CMakeLists.txt
app_test.py ci: add esp32s2 support for panic test 2020-12-15 17:57:21 +08:00
panic_tests.py
sdkconfig.ci.coredump_flash_bin_crc
sdkconfig.ci.coredump_flash_elf_sha
sdkconfig.ci.coredump_uart_bin_crc
sdkconfig.ci.coredump_uart_elf_crc
sdkconfig.ci.gdbstub
sdkconfig.ci.panic
sdkconfig.defaults