Commit Graph
8 Commits
Author SHA1 Message Date
Jorge AparicioandGitHub 733a38a272 update defmt deps to v0.3 (#56)
* bump defmt to v0.3

remove Cargo features which are no longer needed

* remove `timestamp!`

it's no longer mandatory and a monotonic counter does not add much value given that `defmt-rtt`
works by disabling interrupts so one won't see logs out of order anyways (which would the case for a
lock-free multi-channel `Logger`)

* use println! in most the examples

so that all examples print something when `DEFMT_LOG` is unset

* make overflow example terminate in less steps

also include an estimate of the stack pointer to show the stack grows downwards towards the RAM
boundary
2021-11-10 04:46:56 +01:00
Urhengulas 34b68a19f1 Get timestamp with interrupt disabled
This makes `app-template` support more platforms (i.e. `thumbv6`).
2021-02-22 23:26:47 +01:00
Urhengulas 5f8bc597c0 Update example code 2021-02-22 22:24:38 +01:00
Jorge Aparicio 0c324d336c use defmt::panic instead of core::panic in example 2020-11-30 17:29:47 +01:00
Jorge Aparicio ae0df60ec2 use defmt::assert; add defmt::panic_handler 2020-11-24 17:38:08 +01:00
Jorge Aparicio 25eb06c089 add stack overflow protection 2020-09-07 19:09:36 +02:00
Jonas Schievink 2e4c43d908 Use panic-probe instead of a custom panic handler 2020-08-31 16:01:57 +02:00
Jorge Aparicio df96204a61 initial commit 2020-08-21 12:02:11 +02:00