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 dbb2635 commit 21ab7cdCopy full SHA for 21ab7cd
examples/blinky-button-demo/Cargo.toml
@@ -8,6 +8,7 @@ edition = "2018"
8
9
[dependencies]
10
cortex-m = "0.6.2"
11
+cortex-m-rt = "0.6.12"
12
rtt-target = {version = "0.2.0", features = ["cortex-m"] }
13
nrf52832-hal = { features = ["rt"], path = "../../nrf52832-hal" }
14
examples/blinky-button-demo/src/main.rs
@@ -1,11 +1,11 @@
1
#![no_main]
2
#![no_std]
3
4
-use core::sync::atomic::{AtomicUsize, Ordering};
5
use embedded_hal::digital::v2::InputPin;
6
use embedded_hal::digital::v2::OutputPin;
7
use nrf52832_hal as hal;
use nrf52832_hal::gpio::Level;
+use rtt_target::{rprintln, rtt_init_print};
#[panic_handler] // panicking behavior
fn panic(_: &core::panic::PanicInfo) -> ! {
0 commit comments