Template
Many of these crates would be effectively required once a project starts OR, are very powerful additions. heapless and static_cell are good examples.
48 lines
1.7 KiB
TOML
48 lines
1.7 KiB
TOML
[package]
|
|
name = "embassy_template"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
# This lists off all of the crates that come DEFAULT with the template
|
|
# This is so machete doesn't catch them in projects that do not use the crates provided by the template. Since many are required once you go beyond getting started, a few others are nice to haves like heapless and static_cell.
|
|
[package.metadata.cargo-machete]
|
|
ignored = [
|
|
"cortex-m",
|
|
"cortex-m-rt",
|
|
"critical-section",
|
|
"defmt",
|
|
"defmt-rtt",
|
|
"embassy-embedded-hal",
|
|
"embassy-executor",
|
|
"embassy-futures",
|
|
"embassy-rp",
|
|
"embassy-sync",
|
|
"embassy-sync",
|
|
"embassy-time",
|
|
"embassy-usb",
|
|
"embedded-hal-async",
|
|
"embedded-io-async",
|
|
"heapless",
|
|
"panic-probe",
|
|
"static_cell",
|
|
]
|
|
|
|
[dependencies]
|
|
cortex-m = { version = "0.7.6", features = ["inline-asm"] }
|
|
cortex-m-rt = "0.7.0"
|
|
critical-section = "1.1"
|
|
defmt = "1.1.1"
|
|
defmt-rtt = "1.3.0"
|
|
embassy-embedded-hal = { version = "0.6.0", features = ["defmt"] }
|
|
embassy-executor = { version = "0.10.0", features = ["defmt"] }
|
|
embassy-futures = { version = "0.1.2", features = ["defmt"] }
|
|
embassy-rp = { version = "0.10.0", features = ["defmt", "unstable-pac", "time-driver", "critical-section-impl", "rp235xa", "binary-info", "executor-thread", "executor-interrupt"] }
|
|
embassy-sync = { version = "0.8.0", features = ["defmt"] }
|
|
embassy-time = { version = "0.5.1", features = ["defmt", "defmt-timestamp-uptime"] }
|
|
embassy-usb = { version = "0.6.0", features = ["defmt"] }
|
|
embedded-hal-async = "1.0"
|
|
embedded-io-async = { version = "0.7.0", features = ["defmt"] }
|
|
heapless = "0.9"
|
|
panic-probe = { version = "1.0.0", features = ["print-defmt"] }
|
|
static_cell = "2.1.1"
|