Update crates and adapt example code

This commit is contained in:
andber1
2024-12-12 15:26:42 +01:00
committed by Alex Martens
parent a34dd4f1c5
commit 0f9748a5e1
6 changed files with 25 additions and 29 deletions

View File

@@ -97,8 +97,8 @@ fn main() -> ! {
loop {}
}
#[exception]
fn HardFault(ef: &ExceptionFrame) -> ! {
#[exception(trampoline = true)]
unsafe fn HardFault(ef: &ExceptionFrame) -> ! {
if let Ok(mut hstdout) = hio::hstdout() {
writeln!(hstdout, "{:#?}", ef).ok();
}