diff --git a/Cargo.toml b/Cargo.toml index 52691d9665191d3e905babfb8729db476dd11b72..6da4855573eb7cff30e7f704df2014e5020eaf0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"