From cdf2a5026e45ac2b65001ed41cc67d86590a681a Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Thu, 16 Oct 2025 19:33:17 +0100 Subject: Driver example --- Cargo.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..f4a3b83 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,27 @@ +[package] +name = "scale-test" +version = "0.1.0" +edition = "2021" + +[dependencies] +cortex-m = { version = "0.7.7", features = ["critical-section-single-core"] } +cortex-m-rt = "0.7.5" +critical-section = "1.2.0" +defmt = "0.3.10" +defmt-rtt = "0.4.1" +embassy-stm32 = { version = "0.4.0", features = ["defmt", "rt", "stm32f411ce", "unstable-pac", "memory-x", "exti"], default-features = false } +embedded-hal = { version = "1.0.0", features = ["defmt-03"] } +embedded-hal-async = { version = "1.0.0", features = ["defmt-03"] } +panic-probe = { version = "0.3.2", features = ["print-defmt"] } +rtic = { version = "2.1.2", features = ["thumbv7-backend"] } +rtic-monotonics = { version = "2.0.3", features = ["cortex-m-systick"] } + +[patch.crates-io] +embassy-stm32 = { path = "/home/tk/Downloads/src/embassy/embassy-stm32" } + +[profile.release] +lto = true +opt-level = "s" +incremental = false +codegen-units = 1 +debug = true -- cgit v1.2.3-70-g09d2