We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277436e commit 97b184dCopy full SHA for 97b184d
cortex-m-rt/examples/data_overflow.rs
@@ -5,14 +5,12 @@
5
#![no_main]
6
#![no_std]
7
8
-#[macro_use(entry, exception)]
+#[macro_use(entry)]
9
extern crate cortex_m_rt as rt;
10
extern crate panic_abort;
11
12
use core::ptr;
13
14
-use rt::ExceptionFrame;
15
-
16
entry!(main);
17
18
// This large static array uses most of .rodata
@@ -30,13 +28,3 @@ fn main() -> ! {
30
28
31
29
loop {}
32
}
33
34
-exception!(HardFault, hard_fault);
35
36
-fn hard_fault(_ef: &ExceptionFrame) -> ! {
37
- loop {}
38
-}
39
40
-exception!(*, default_handler);
41
42
-fn default_handler(_irqn: i16) {}
0 commit comments