rust-embedded-talk/example-source/msp432-app/Cargo.toml

32 lines
713 B
TOML

[package]
authors = ["Levi Pearson <levipearson@gmail.com>"]
edition = "2018"
readme = "README.md"
name = "msp432-app"
version = "0.1.0"
[dependencies]
cortex-m = "0.5.8"
cortex-m-rt = "0.6.5"
cortex-m-semihosting = "0.3.2"
panic-halt = "0.2.0"
panic-semihosting = "*"
msp432p401r = { path = "../msp432p401r", features = ["rt"] }
# Uncomment for the panic example.
# panic-itm = "0.4.0"
# Uncomment for the allocator example.
# alloc-cortex-m = "0.3.5"
# this lets you use `cargo fix`!
[[bin]]
name = "msp432-app"
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