27 lines
535 B
TOML
27 lines
535 B
TOML
[package]
|
|
authors = ["{{authors}}"]
|
|
name = "{{project-name}}"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
cortex-m = "0.5.6"
|
|
cortex-m-rt = "0.5.3"
|
|
cortex-m-semihosting = "0.3.1"
|
|
panic-semihosting = "0.4.0"
|
|
|
|
# Uncomment for the panic example.
|
|
# panic-itm = "0.3.0"
|
|
|
|
# Uncomment for the allocator example.
|
|
# alloc-cortex-m = "0.3.5"
|
|
|
|
# Uncomment for the device example.
|
|
# [dependencies.stm32f103xx]
|
|
# features = ["rt"]
|
|
# version = "0.10.0"
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # better optimizations
|
|
debug = true
|
|
lto = true # better optimizations
|