diff options
author | 2018-08-12 09:38:16 -0500 | |
---|---|---|
committer | 2018-08-12 09:38:16 -0500 | |
commit | 97b184df173a56287e34841f0115a1e5823d1aa1 (patch) | |
tree | 5119753523e16ec86479be0285280bcb759c576b /cortex-m-rt/examples/data_overflow.rs | |
parent | 277436ec86b3e52fe070f54f10cca64e3800177f (diff) | |
download | cortex-m-97b184df173a56287e34841f0115a1e5823d1aa1.tar.gz cortex-m-97b184df173a56287e34841f0115a1e5823d1aa1.tar.zst cortex-m-97b184df173a56287e34841f0115a1e5823d1aa1.zip |
remove exception handler overrides
they are not required anymore
Diffstat (limited to 'cortex-m-rt/examples/data_overflow.rs')
-rw-r--r-- | cortex-m-rt/examples/data_overflow.rs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/cortex-m-rt/examples/data_overflow.rs b/cortex-m-rt/examples/data_overflow.rs index f01f91c..396f1c8 100644 --- a/cortex-m-rt/examples/data_overflow.rs +++ b/cortex-m-rt/examples/data_overflow.rs @@ -5,14 +5,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); // This large static array uses most of .rodata @@ -30,13 +28,3 @@ fn main() -> ! { loop {} } - -exception!(HardFault, hard_fault); - -fn hard_fault(_ef: &ExceptionFrame) -> ! { - loop {} -} - -exception!(*, default_handler); - -fn default_handler(_irqn: i16) {} |