Add support for dumping board-specific information on assertion. From David Sidrane

This commit is contained in:
Gregory Nutt
2015-03-04 07:00:29 -06:00
parent 466b69fe00
commit a5043d5e60
14 changed files with 61 additions and 0 deletions
+5
View File
@@ -299,5 +299,10 @@ void up_assert(const uint8_t *filename, int lineno)
#endif
up_dumpstate();
#ifdef CONFIG_BOARD_CRASHDUMP
board_crashdump(up_getsp(), g_readytorun.head, filename, lineno);
#endif
_up_assert(EXIT_FAILURE);
}