Skip to content

Commit 4b7fbc7

Browse files
authored
Format MEPC to let espflash resolve the address (#4179)
1 parent a47f0b8 commit 4b7fbc7

File tree

1 file changed

+1
-1
lines changed
  • esp-hal/src/exception_handler

1 file changed

+1
-1
lines changed

esp-hal/src/exception_handler/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ unsafe extern "C" fn ExceptionHandler(context: &TrapFrame) -> ! {
4949
};
5050

5151
panic!(
52-
"Exception '{}' mepc={:08x}, mtval={:08x}\n{:?}",
52+
"Exception '{}' mepc=0x{:08x}, mtval=0x{:08x}\n{:?}",
5353
code, mepc, mtval, context
5454
);
5555
}

0 commit comments

Comments
 (0)