From 3b25e71a78c6ac8514f3d59dc6e124a57439dcb6 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 11 Aug 2018 20:41:46 -0500 Subject: v0.5.2 --- cortex-m-rt/examples/alignment.rs | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'cortex-m-rt/examples/alignment.rs') diff --git a/cortex-m-rt/examples/alignment.rs b/cortex-m-rt/examples/alignment.rs index ef1beaa..5635851 100644 --- a/cortex-m-rt/examples/alignment.rs +++ b/cortex-m-rt/examples/alignment.rs @@ -4,14 +4,12 @@ #![no_main] #![no_std] -#[macro_use(entry, exception)] +#[macro_use(entry)] extern crate cortex_m_rt as rt; extern crate panic_abort; use core::ptr; -use rt::ExceptionFrame; - entry!(main); static mut BSS1: u16 = 0; @@ -33,13 +31,3 @@ fn main() -> ! { loop {} } - -exception!(HardFault, hard_fault); - -fn hard_fault(_ef: &ExceptionFrame) -> ! { - loop {} -} - -exception!(*, default_handler); - -fn default_handler(_irqn: i16) {} -- cgit v1.2.3