mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7ab57605cb
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 |