Ouss4 opened a new pull request #2352: URL: https://github.com/apache/incubator-nuttx/pull/2352
## Summary This PR adds the ability to print a backtrace, to a configurable depth, on assertions. The backtrace is given as PC:SP pair, the PC values can be used with `addr2line` to get the name of the function and the line of code. Also the alignment of tasks's stack was incorrect, the ABI (Windowed and Call0) requires a 16-bytes alignment. This PR fixes that. ## Impact Adds a backtrace dump when dumping the state on assertions. This backtrace can be disabled. Only affect xtensa/ architecture. ## Testing esp32-core:nsh ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org