Update panics
This commit is contained in:
@@ -5,6 +5,6 @@ version = "0.1.0"
|
||||
[dependencies]
|
||||
cortex-m-rt="~0.6"
|
||||
cortex-m-semihosting="~0.3"
|
||||
panic-abort = "~0.3"
|
||||
panic-halt = "~0.2"
|
||||
panic-semihosting = "~0.5"
|
||||
microbit="~0.7"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
extern crate panic_abort;
|
||||
extern crate panic_halt;
|
||||
extern crate cortex_m_rt as rt;
|
||||
extern crate microbit;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
extern crate panic_abort;
|
||||
extern crate panic_halt;
|
||||
extern crate cortex_m_rt as rt;
|
||||
extern crate microbit;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
extern crate microbit;
|
||||
extern crate cortex_m_rt as rt;
|
||||
extern crate cortex_m_semihosting as sh;
|
||||
extern crate panic_abort;
|
||||
extern crate panic_halt;
|
||||
|
||||
use core::fmt::Write;
|
||||
use rt::entry;
|
||||
|
||||
Reference in New Issue
Block a user