mips: show version info on exception panic screen

Change-Id: Iff315869e9190ce7d68c672c6cc78cb1fc301264
This commit is contained in:
Aidan MacDonald 2025-12-11 15:47:48 +00:00
parent 4e18f60987
commit fe11a04579

View file

@ -26,6 +26,7 @@
#include "font.h"
#include "logf.h"
#include "mips.h"
#include "rbversion.h"
#undef sp /* breaks backtrace lib */
#include <stdio.h>
#include <string.h>
@ -77,7 +78,7 @@ static void exception_dump(void* frame, unsigned long epc,
lcd_setfont(FONT_SYSFIXED);
unsigned y = 1;
lcd_puts(1, y++, "*EXCEPTION*");
lcd_puts(1, y++, "*EXCEPTION* (" RBVERSION ")");
/* wrap panic message */
{