diff options
| author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-10-16 19:33:17 +0100 | 
|---|---|---|
| committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2025-10-16 19:33:17 +0100 | 
| commit | cdf2a5026e45ac2b65001ed41cc67d86590a681a (patch) | |
| tree | 56fda9ee1cc0159e725952802547e5e6d327428e /Cargo.toml | |
| download | scale-drv-example-master.tar.gz scale-drv-example-master.tar.xz scale-drv-example-master.zip | |
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 27 | 
1 files changed, 27 insertions, 0 deletions
| 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 | 
