67 lines
1.2 KiB
TOML
67 lines
1.2 KiB
TOML
[package]
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
name = "rp-test"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
cortex-m = "0.6.0"
|
|
cortex-m-rt = "0.6.10"
|
|
cortex-m-semihosting = "0.3.3"
|
|
|
|
defmt = "0.1.3"
|
|
defmt-rtt = "0.1.0"
|
|
panic-probe = "0.1.0"
|
|
|
|
rp2040-pac = { git = "https://github.com/Dirbaio/rp2040-pac", branch="main" }
|
|
[features]
|
|
default = [
|
|
"defmt-default",
|
|
]
|
|
defmt-default = []
|
|
defmt-trace = []
|
|
defmt-debug = []
|
|
defmt-info = []
|
|
defmt-warn = []
|
|
defmt-error = []
|
|
|
|
|
|
# this lets you use `cargo fix`!
|
|
[[bin]]
|
|
name = "rp-test"
|
|
test = false
|
|
bench = false
|
|
|
|
[profile.dev]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = true
|
|
incremental = false
|
|
opt-level = 3
|
|
overflow-checks = true
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = "fat"
|
|
opt-level = 's'
|
|
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
|