28 lines
616 B
TOML
28 lines
616 B
TOML
[package]
|
|
authors = ["Joe Ardent <code@ardent.nebcorp.com>"]
|
|
edition = "2021"
|
|
readme = "README.md"
|
|
name = "tinfoc"
|
|
version = "0.0.1"
|
|
|
|
[dependencies]
|
|
cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
|
|
cortex-m-rt = "0.7"
|
|
defmt = "0.3"
|
|
defmt-rtt = "0.4"
|
|
panic-halt = "0.2"
|
|
|
|
[dependencies.stm32f3xx-hal]
|
|
version = "0.10"
|
|
features = ["stm32f302x8", "ld", "rt", "can", "rtc"]
|
|
|
|
[[bin]]
|
|
name = "tinfoc"
|
|
test = false
|
|
bench = false
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # better optimizations
|
|
debug = true # symbols are nice and they don't increase the size on Flash
|
|
lto = true # better optimizations
|