43 lines
1.0 KiB
TOML
43 lines
1.0 KiB
TOML
[package]
|
|
name = "u5_example"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[[bin]]
|
|
name = "i2c"
|
|
path = "src/bin/i2c.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
# cortex-m = "0.7.0"
|
|
cortex-m = { version = "0.7.7", features = [
|
|
"inline-asm",
|
|
"critical-section-single-core",
|
|
]}
|
|
u5-lib = { path = "../u5_new",features = [
|
|
"stm32u5a5qj",
|
|
# "stm32u575zi"
|
|
]}
|
|
critical-section = "1.1.2"
|
|
defmt = "0.3.6"
|
|
defmt-rtt = { version = "0.4.0" }
|
|
defmt-itm = { version = "0.3.0" }
|
|
futures = { version = "0.3.17", default-features = false, fetures = [
|
|
"async-await",
|
|
]}
|
|
cortex-m-rt = { version = "0.7.3" }
|
|
|
|
[dependencies.embassy-usb]
|
|
git = "https://github.com/embassy-rs/embassy"
|
|
rev = "35f284e"
|
|
|
|
[dependencies.embassy-executor]
|
|
features = ["nightly", "arch-cortex-m", "executor-thread"]
|
|
git = "https://github.com/embassy-rs/embassy"
|
|
rev = "35f284e"
|
|
|
|
# [dependencies.stm32-metapac]
|
|
# path = "../stm32-data/build/stm32-metapac"
|
|
# features = [ "memory-x", "rt"] |