Remove anyfmt
This commit is contained in:
@ -17,17 +17,16 @@ defmt-error = []
|
||||
|
||||
|
||||
[dependencies]
|
||||
embassy = { version = "0.1.0", path = "../embassy", features = ["defmt"] }
|
||||
embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt", "defmt-trace", "52840"] }
|
||||
anyfmt = { version = "0.1.0", path = "../anyfmt", features = ["defmt"] }
|
||||
embassy = { version = "0.1.0", path = "../embassy", features = ["defmt-trace"] }
|
||||
embassy-nrf = { version = "0.1.0", path = "../embassy-nrf", features = ["defmt-trace", "52840"] }
|
||||
|
||||
defmt = "0.1.0"
|
||||
defmt = "0.1.2"
|
||||
defmt-rtt = "0.1.0"
|
||||
|
||||
cortex-m = { version = "0.6.3" }
|
||||
cortex-m-rt = "0.6.12"
|
||||
embedded-hal = { version = "0.2.4" }
|
||||
panic-probe = "0.1.0"
|
||||
nrf52840-hal = { version = "0.11.0" }
|
||||
futures = { version = "0.3.7", default-features = false, features = ["async-await"] }
|
||||
nrf52840-hal = { version = "0.12.0" }
|
||||
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
|
||||
cortex-m-rtic = { git = "https://github.com/rtic-rs/cortex-m-rtic", branch = "master"}
|
||||
|
@ -6,8 +6,8 @@
|
||||
mod example_common;
|
||||
use example_common::*;
|
||||
|
||||
use anyfmt::panic;
|
||||
use cortex_m_rt::entry;
|
||||
use defmt::{assert_eq, panic, *};
|
||||
use nrf52840_hal::gpio;
|
||||
|
||||
use embassy::executor::{task, Executor};
|
||||
@ -65,6 +65,7 @@ async fn run() {
|
||||
write_opcode: qspi::WriteOpcode::PP4IO,
|
||||
xip_offset: 0,
|
||||
write_page_size: qspi::WritePageSize::_256BYTES,
|
||||
deep_power_down: None,
|
||||
};
|
||||
|
||||
let mut q = qspi::Qspi::new(p.QSPI, config);
|
||||
|
@ -4,7 +4,7 @@ use defmt_rtt as _; // global logger
|
||||
use nrf52840_hal as _;
|
||||
use panic_probe as _;
|
||||
|
||||
pub use anyfmt::*;
|
||||
pub use defmt::*;
|
||||
|
||||
use core::sync::atomic::{AtomicUsize, Ordering};
|
||||
|
||||
|
Reference in New Issue
Block a user