You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by "Lee, Lup Yuen" <lu...@appkaki.com> on 2024/03/02 22:59:54 UTC

[Article] NuttX Log Parser with PureScript

While porting QuickJS to Ox64 BL808 SBC, we hit a Baffling Crash Dump on
NuttX. Which made us ponder...

Is there a better way to analyse a NuttX Crash Dump? Without scrolling
pages and pages of logs?

In this article, we create a real-time NuttX Log Parser that will:
(1) Extract the RISC-V Exception Details
(2) Interpret and Explain the RISC-V Exception
(3) Hyperlink the Stack Dump to NuttX Source Code and Disassembly
(4) Implemented in PureScript, the Functional Programming Language that
compiles to JavaScript

This is how we made it:
https://lupyuen.codeberg.page/articles/purescript.html

Lup