From 5f124ec49f82ae2a4163edb6f1a8bad7898ba823 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Mon, 8 Nov 2021 14:20:31 -0500 Subject: Update U5 to init RCC. --- examples/stm32u5/.cargo/config.toml | 3 ++- examples/stm32u5/Cargo.toml | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/stm32u5/.cargo/config.toml b/examples/stm32u5/.cargo/config.toml index ba3ef1dc5..9f5e14801 100644 --- a/examples/stm32u5/.cargo/config.toml +++ b/examples/stm32u5/.cargo/config.toml @@ -1,6 +1,7 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] # replace STM32F429ZITx with your chip as listed in `probe-run --list-chips` -runner = "probe-run --chip STM32U585AIIx" +#runner = "probe-run --chip STM32U585AIIx" +runner = "/Users/bob/outboard-repos/probe-run/target/debug/probe-run-rp --chip STM32U585AIIx" [build] target = "thumbv7em-none-eabi" diff --git a/examples/stm32u5/Cargo.toml b/examples/stm32u5/Cargo.toml index b3c3c9700..e84e1992f 100644 --- a/examples/stm32u5/Cargo.toml +++ b/examples/stm32u5/Cargo.toml @@ -22,8 +22,8 @@ embassy-traits = { version = "0.1.0", path = "../../embassy-traits", features = embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["defmt", "defmt-trace", "unstable-pac", "stm32u585ai", "memory-x" ] } embassy-hal-common = {version = "0.1.0", path = "../../embassy-hal-common" } -defmt = "0.2.3" -defmt-rtt = "0.2.0" +defmt = "0.2" +defmt-rtt = "0.2" cortex-m = "0.7.3" cortex-m-rt = "0.7.0" @@ -35,3 +35,7 @@ heapless = { version = "0.7.5", default-features = false } micromath = "2.0.0" +#[patch.crates-io] +#defmt = { git="https://github.com/knurling-rs/defmt.git" } +#defmt-rtt = { git="https://github.com/knurling-rs/defmt.git" } + -- cgit