This repository was archived by the owner on Jul 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,11 @@ use panic_halt as _; // you can put a breakpoint on `rust_begin_unwind` to catch
28
28
// use panic_itm as _; // logs messages over ITM; requires ITM support
29
29
// use panic_semihosting as _; // logs messages to the host stderr; requires a debugger
30
30
31
- use cortex_m:: asm;
32
31
use cortex_m_rt:: entry;
33
32
34
33
#[ cfg( not( test) ) ]
35
34
#[ entry]
36
35
fn main ( ) -> ! {
37
- asm:: nop ( ) ; // To not have main optimize to abort in release mode, remove when you add code
38
-
39
36
loop {
40
37
// your code goes here
41
38
}
Original file line number Diff line number Diff line change @@ -7,13 +7,10 @@ use panic_halt as _; // you can put a breakpoint on `rust_begin_unwind` to catch
7
7
// use panic_itm as _; // logs messages over ITM; requires ITM support
8
8
// use panic_semihosting as _; // logs messages to the host stderr; requires a debugger
9
9
10
- use cortex_m:: asm;
11
10
use cortex_m_rt:: entry;
12
11
13
12
#[ entry]
14
13
fn main ( ) -> ! {
15
- asm:: nop ( ) ; // To not have main optimize to abort in release mode, remove when you add code
16
-
17
14
loop {
18
15
// your code goes here
19
16
}
You can’t perform that action at this time.
0 commit comments