Fix core::panic! not printing in examples (#153)

* fixes panic not showing in examples
removes panic_immediate_abort feature where present, renames config -> config.toml, enables panic-probe defmt printing feature and updates panic-probe to 0.2

* fix unintended changes in build_core and arch

* revert uninteded change
This commit is contained in:
dskleingeld
2021-05-02 20:58:01 +02:00
committed by GitHub
parent 1f2551d7cd
commit e40346a544
6 changed files with 5 additions and 8 deletions

View File

@ -1,6 +1,5 @@
[unstable]
build-std = ["core"]
build-std-features = ["panic_immediate_abort"]
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-run --chip nRF52840_xxAA"
@ -19,4 +18,3 @@ rustflags = [
[build]
target = "thumbv7em-none-eabi"

View File

@ -27,5 +27,5 @@ defmt-rtt = "0.2.0"
cortex-m = { version = "0.7.1", features = ["inline-asm"] }
cortex-m-rt = "0.6.13"
embedded-hal = { version = "0.2.4" }
panic-probe = "0.1.0"
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
panic-probe = { version = "0.2.0", features = ["print-defmt"] }
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }