Update dependencies
This fixes a linkage issue that was fixed a while ago, and adds thumbv8 support.
This commit is contained in:
parent
ce36c98e5b
commit
36e230fe22
2 changed files with 4 additions and 8 deletions
|
|
@ -5,7 +5,7 @@ authors = ["Hideki Sekine <sekineh@me.com>"]
|
|||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.5.4"
|
||||
cortex-m-rt = "=0.5.4"
|
||||
cortex-m = "0.6.2"
|
||||
cortex-m-rt = "0.6.11"
|
||||
panic-halt = "0.2.0"
|
||||
cortex-m-semihosting = "0.3.1"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// #![feature(stdsimd)]
|
||||
#![no_main]
|
||||
#![no_std]
|
||||
use core::fmt::Write;
|
||||
|
|
@ -6,12 +5,9 @@ use cortex_m::asm;
|
|||
use cortex_m_rt::entry;
|
||||
use cortex_m_semihosting as semihosting;
|
||||
|
||||
//FIXME: This imports the provided #[panic_handler].
|
||||
#[allow(rust_2018_idioms)]
|
||||
extern crate panic_halt;
|
||||
|
||||
entry!(main);
|
||||
use panic_halt as _;
|
||||
|
||||
#[entry]
|
||||
fn main() -> ! {
|
||||
let x = 42;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue