added doc metadata, use RTT panic target
- Use RTT panic target in blinky button example
This commit is contained in:
parent
22c1505cde
commit
af26427042
@ -10,8 +10,10 @@ license = "MIT OR Apache-2.0"
|
|||||||
keywords = ["no-std", "reb1", "cortex-m", "vorago", "va108xx"]
|
keywords = ["no-std", "reb1", "cortex-m", "vorago", "va108xx"]
|
||||||
categories = ["embedded", "no-std", "hardware-support"]
|
categories = ["embedded", "no-std", "hardware-support"]
|
||||||
|
|
||||||
[dependencies]
|
[package.metadata.docs.rs]
|
||||||
|
features = ["rt"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
cortex-m = "0.7.3"
|
cortex-m = "0.7.3"
|
||||||
cortex-m-rt = "0.7.0"
|
cortex-m-rt = "0.7.0"
|
||||||
embedded-hal = "0.2.6"
|
embedded-hal = "0.2.6"
|
||||||
|
@ -6,7 +6,7 @@ use core::cell::{Cell, RefCell};
|
|||||||
|
|
||||||
use cortex_m::interrupt::Mutex;
|
use cortex_m::interrupt::Mutex;
|
||||||
use cortex_m_rt::entry;
|
use cortex_m_rt::entry;
|
||||||
use panic_halt as _;
|
use panic_rtt_target as _;
|
||||||
use rtt_target::{rprintln, rtt_init_print};
|
use rtt_target::{rprintln, rtt_init_print};
|
||||||
use va108xx_hal::{
|
use va108xx_hal::{
|
||||||
clock::{set_clk_div_register, FilterClkSel},
|
clock::{set_clk_div_register, FilterClkSel},
|
||||||
|
Reference in New Issue
Block a user