-
- Downloads
Cargo.toml no nightly dep
... | ... | @@ -10,10 +10,11 @@ cortex-m = "0.5.8" |
cortex-m-rt = "0.6.5" | ||
cortex-m-semihosting = "0.3.2" | ||
panic-halt = "0.2.0" | ||
panic-abort = "0.3.1" | ||
# panic-abort = "0.3.1" | ||
# Uncomment for the panic example. | ||
# panic-itm = "0.4.0" | ||
panic-semihosting = "0.5.1" | ||
panic-itm = "0.4.0" | ||
# Uncomment for the allocator example. | ||
# alloc-cortex-m = "0.3.5" | ||
... | ... | @@ -29,7 +30,11 @@ name = "app" |
test = false | ||
bench = false | ||
[profile.dev] | ||
panic = "abort" | ||
[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 | ||
panic = "abort" |
Please register or sign in to comment