docs.rs failed to build imxrt-uart-panic-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
imxrt-uart-panic-0.2.0
imxrt-uart-panic
This crate provides a UART based panic handler for i.MX RT.
Upon panic, it resets the given UART peripheral and writes an error message to it.
Usage Example
- examples are intended for the Teensy 4.0, Teensy 4.1 or Teensy MicroMod board -
use teensy4_bsp as bsp;
use ;
register!;
!
panicked at examples\minimal.rs:11:5:
Foo!
Additionally, one can provide a custom panic action, such as teensy4_panic::sos,
that will be executed after printing to UART:
use teensy4_bsp as bsp;
use ;
register!;
!
This crate is fully compatible with other previous usages of the given UART peripheral, although it might abort transmissions that are already in progress.