Commit Graph
10 Commits
Author SHA1 Message Date
datdenkikniet 0492e028b8 Use brtt instead of rtt 2023-04-22 22:16:50 +02:00
datdenkikniet 2883ed103a Merge remote-tracking branch 'knurling/main' into v2 2023-04-22 22:16:47 +02:00
Emil Fresk fb03cda302 More clarifications 2022-07-02 20:09:29 +02:00
Jorge AparicioandGitHub 47277bbf9d add unit tests (#60)
also, flatten the workspace into a single crate. I forget what the original reason for the workspace
was -- I think it was added because `cargo t -p testsuite` is nicer than running
`cargo t --test $filename` N times. However, a single crate removes the need to repeat the list of
dependencies in `testsuite/Cargo.toml`

also, document the two sets of tests included with the template and how to run them in the README
file
2022-01-03 11:29:08 +01:00
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 ae0df60ec2 use defmt::assert; add defmt::panic_handler 2020-11-24 17:38:08 +01: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