From 50ae566564bfaa3c89d7d8162adb7b50ec7ccb2e Mon Sep 17 00:00:00 2001 From: Saurabh Singh Date: Sun, 19 May 2024 00:20:08 -0400 Subject: [PATCH] minor fix --- sw/bootloader/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/bootloader/main.c b/sw/bootloader/main.c index 18e2016b..3c042e5c 100644 --- a/sw/bootloader/main.c +++ b/sw/bootloader/main.c @@ -15,8 +15,9 @@ void puthex(unsigned val) { void boot_panic_handler(){ #ifdef __EN_PRINTS - puts("Exception: cause=0x"); puthex(CSR_read(CSR_MCAUSE)); + puts("Boot Exception: cause=0x"); puthex(CSR_read(CSR_MCAUSE)); puts(", addr=0x"); puthex(CSR_read(CSR_MEPC)); + putchar('\n'); #endif exit(RCODE_EXCEPTION); }