Merge #360
360: deps: fix rtt-logger->rtt-target, cleanup, bump cortex-m r=jordens a=jordens Co-authored-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
commit
97afdb5783
|
@ -643,22 +643,11 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rtt-logger"
|
name = "rtt-logger"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://github.com/quartiq/rtt-logger.git?rev=70b0eb5#70b0eb587fa43902aaf58296fe866418a1f4e920"
|
||||||
checksum = "d082d3a20a5d4f69ad509720de1777fe5aa2092ea1af51b254ff79113d46d2ea"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"rtt-target 0.2.2",
|
"rtt-target",
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rtt-target"
|
|
||||||
version = "0.2.2"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "0869b4c5b6a6d8c5583fc473f9eb3423a170f77626b8c8a7fb18eddcda5770e2"
|
|
||||||
dependencies = [
|
|
||||||
"cortex-m 0.6.7",
|
|
||||||
"ufmt-write",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -770,7 +759,7 @@ version = "0.5.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ad9959",
|
"ad9959",
|
||||||
"asm-delay",
|
"asm-delay",
|
||||||
"cortex-m 0.6.7",
|
"cortex-m 0.7.2",
|
||||||
"cortex-m-rt",
|
"cortex-m-rt",
|
||||||
"cortex-m-rtic",
|
"cortex-m-rtic",
|
||||||
"dsp",
|
"dsp",
|
||||||
|
@ -784,7 +773,7 @@ dependencies = [
|
||||||
"num_enum",
|
"num_enum",
|
||||||
"paste",
|
"paste",
|
||||||
"rtt-logger",
|
"rtt-logger",
|
||||||
"rtt-target 0.3.1",
|
"rtt-target",
|
||||||
"serde",
|
"serde",
|
||||||
"serde-json-core",
|
"serde-json-core",
|
||||||
"shared-bus",
|
"shared-bus",
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -28,11 +28,10 @@ default-target = "thumbv7em-none-eabihf"
|
||||||
members = ["ad9959", "dsp"]
|
members = ["ad9959", "dsp"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = { version = "0.6", features = ["const-fn"] }
|
cortex-m = { version = "0.7" }
|
||||||
cortex-m-rt = { version = "0.6", features = ["device"] }
|
cortex-m-rt = { version = "0.6", features = ["device"] }
|
||||||
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
|
log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
|
||||||
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
|
rtt-target = { version = "0.3", features = ["cortex-m"] }
|
||||||
rtt-logger = { version = "0.1" }
|
|
||||||
serde = { version = "1.0", features = ["derive"], default-features = false }
|
serde = { version = "1.0", features = ["derive"], default-features = false }
|
||||||
heapless = { version = "0.6", features = ["serde"] }
|
heapless = { version = "0.6", features = ["serde"] }
|
||||||
cortex-m-rtic = "0.5.6"
|
cortex-m-rtic = "0.5.6"
|
||||||
|
@ -47,6 +46,10 @@ miniconf = "0.1.0"
|
||||||
shared-bus = {version = "0.2.2", features = ["cortex-m"] }
|
shared-bus = {version = "0.2.2", features = ["cortex-m"] }
|
||||||
serde-json-core = "0.3"
|
serde-json-core = "0.3"
|
||||||
|
|
||||||
|
[dependencies.rtt-logger]
|
||||||
|
git = "https://github.com/quartiq/rtt-logger.git"
|
||||||
|
rev = "70b0eb5"
|
||||||
|
|
||||||
[dependencies.mcp23017]
|
[dependencies.mcp23017]
|
||||||
git = "https://github.com/mrd0ll4r/mcp23017.git"
|
git = "https://github.com/mrd0ll4r/mcp23017.git"
|
||||||
rev = "61933f857a"
|
rev = "61933f857a"
|
||||||
|
@ -68,7 +71,6 @@ git = "https://github.com/quartiq/minimq.git"
|
||||||
rev = "d2ec3e8"
|
rev = "d2ec3e8"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
bkpt = [ ]
|
|
||||||
nightly = ["cortex-m/inline-asm", "dsp/nightly"]
|
nightly = ["cortex-m/inline-asm", "dsp/nightly"]
|
||||||
pounder_v1_1 = [ ]
|
pounder_v1_1 = [ ]
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ pub fn setup(
|
||||||
use rtt_logger::RTTLogger;
|
use rtt_logger::RTTLogger;
|
||||||
|
|
||||||
static LOGGER: RTTLogger = RTTLogger::new(log::LevelFilter::Info);
|
static LOGGER: RTTLogger = RTTLogger::new(log::LevelFilter::Info);
|
||||||
rtt_target::rtt_init_print!(NoBlockSkip, 1024);
|
rtt_target::rtt_init_print!();
|
||||||
log::set_logger(&LOGGER)
|
log::set_logger(&LOGGER)
|
||||||
.map(|()| log::set_max_level(log::LevelFilter::Trace))
|
.map(|()| log::set_max_level(log::LevelFilter::Trace))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
Loading…
Reference in New Issue