76 lines
1.5 KiB
TOML
76 lines
1.5 KiB
TOML
[package]
|
|
name = "picorom-rs"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "picorom-rs"
|
|
test = false
|
|
bench = false
|
|
|
|
[dependencies]
|
|
cortex-m-rt = "0.7"
|
|
embassy-rp = { version = "0.8", features = [
|
|
"time-driver",
|
|
"defmt",
|
|
"rp2040",
|
|
"unstable-pac",
|
|
"critical-section-impl",
|
|
"intrinsics",
|
|
] }
|
|
embassy-executor = { version = "0.9", features = [
|
|
"defmt",
|
|
"executor-thread",
|
|
"executor-interrupt",
|
|
"arch-cortex-m",
|
|
] }
|
|
embassy-usb = { version = "0.5", default-features = false, features = [
|
|
"defmt",
|
|
] }
|
|
embassy-futures = { version = "0.1", features = ["defmt"] }
|
|
panic-probe = { version = "1.0", features = ["print-defmt", "defmt-error"] }
|
|
embedded-hal = "1.0"
|
|
static_cell = "2.1"
|
|
portable-atomic = { version = "1.11", features = ["critical-section"] }
|
|
critical-section = "1.2"
|
|
|
|
defmt = "1.0"
|
|
defmt-rtt = "1.1"
|
|
|
|
num_enum = { version = "0.7", default-features = false }
|
|
heapless = "0.9"
|
|
|
|
# cargo build/run
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true
|
|
incremental = false
|
|
opt-level = 3
|
|
overflow-checks = true
|
|
|
|
# cargo build/run --release
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 3
|
|
overflow-checks = false
|
|
|
|
# do not optimize proc-macro crates = faster builds from scratch
|
|
[profile.dev.build-override]
|
|
codegen-units = 8
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|
|
|
|
[profile.release.build-override]
|
|
codegen-units = 8
|
|
debug = false
|
|
debug-assertions = false
|
|
opt-level = 0
|
|
overflow-checks = false
|