Skip to content
Snippets Groups Projects
Commit 27d46dee authored by Per Lindgren's avatar Per Lindgren
Browse files

Cargo.toml no nightly dep

parent 95d1fb98
No related branches found
No related tags found
No related merge requests found
...@@ -10,10 +10,11 @@ cortex-m = "0.5.8" ...@@ -10,10 +10,11 @@ cortex-m = "0.5.8"
cortex-m-rt = "0.6.5" cortex-m-rt = "0.6.5"
cortex-m-semihosting = "0.3.2" cortex-m-semihosting = "0.3.2"
panic-halt = "0.2.0" panic-halt = "0.2.0"
panic-abort = "0.3.1" # panic-abort = "0.3.1"
# Uncomment for the panic example. # 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. # Uncomment for the allocator example.
# alloc-cortex-m = "0.3.5" # alloc-cortex-m = "0.3.5"
...@@ -29,7 +30,11 @@ name = "app" ...@@ -29,7 +30,11 @@ name = "app"
test = false test = false
bench = false bench = false
[profile.dev]
panic = "abort"
[profile.release] [profile.release]
codegen-units = 1 # better optimizations codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations lto = true # better optimizations
panic = "abort"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment