Skip to content

Commit

Permalink
Merge pull request #37 from atouchet/bdg
Browse files Browse the repository at this point in the history
Fix crates.io badges
  • Loading branch information
Yatekii committed Mar 27, 2023
2 parents a98a849 + 99e828b commit 4707655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rtt-target

[![crates.io](https://meritbadge.herokuapp.com/rtt-target)](https://crates.io/crates/rtt-target) [![documentation](https://docs.rs/rtt-target/badge.svg)](https://docs.rs/rtt-target)
[![crates.io](https://img.shields.io/crates/v/rtt-target.svg)](https://crates.io/crates/rtt-target) [![documentation](https://docs.rs/rtt-target/badge.svg)](https://docs.rs/rtt-target)

Target side implementation of the RTT (Real-Time Transfer) I/O protocol. RTT implements input and output via a debug probe using in-memory ring buffers and polling. This enables debug logging from the microcontroller with minimal delays and no blocking, making it usable even in real-time applications where e.g. semihosting delays cannot be tolerated.

Expand Down
4 changes: 2 additions & 2 deletions panic-rtt-target/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# panic-rtt-target

[![crates.io](https://meritbadge.herokuapp.com/panic-rtt-target)](https://crates.io/crates/panic-rtt-target) [![documentation](https://docs.rs/panic-rtt-target/badge.svg)](https://docs.rs/panic-rtt-target)
[![crates.io](https://img.shields.io/crates/v/panic-rtt-target.svg)](https://crates.io/crates/panic-rtt-target) [![documentation](https://docs.rs/panic-rtt-target/badge.svg)](https://docs.rs/panic-rtt-target)

Logs panic messages over RTT. A companion crate for rtt-target.

Expand All @@ -10,7 +10,7 @@ RTT must have been initialized by using one of the `rtt_init` macros. Otherwise

Panics are always logged on channel 0. Upon panicking the channel mode is also automatically set to `BlockIfFull`, so that the full message will always be logged. If the code somehow manages to panic at runtime before RTT is initialized (quite unlikely), or if channel 0 doesn't exist, nothing is logged.

The panic handler runs in a non-returning [critical_section](https://docs.rs/critical-section/latest/critical_section/) which implementation should be provided by the user.
The panic handler runs in a non-returning [critical_section](https://docs.rs/critical-section) which implementation should be provided by the user.

# Usage

Expand Down

0 comments on commit 4707655

Please sign in to comment.