kopia lustrzana https://github.com/espressif/esp-idf
![]() 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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
test_panic_main.c |