Crates.io | imxrt-uart-log |
lib.rs | imxrt-uart-log |
version | 0.2.0 |
source | src |
created_at | 2020-06-19 00:44:11.236784 |
updated_at | 2020-08-29 11:38:00.953449 |
description | Logging over an i.MX RT serial interface |
homepage | |
repository | https://github.com/imxrt-rs/imxrt-uart-log |
max_upload_size | |
id | 255545 |
size | 76,843 |
Log data over a serial interface. There are two logging implementations for NXP's i.MX RT processors:
Built on the imxrt-hal
hardware abstraction layer for i.MX RT processors,
version 0.4. Compatible with log
version 0.4.
This crate supports all of the same i.MX RT variants as the imxrt-hal
crate. To see the supported i.MX RT variants, check the HAL's feature
support list.
:information_source: As of this writing, the HAL only supports one i.MX RT variant, the
"imxrt1062"
. For convenience, the"imxrt1062"
feature is this crate's default feature. This default feature may change in future releases.
The crate's examples run on hardware. See the documentation at the top of each example for more information.
For examples that run on a Teensy 4, you'll need the build dependencies
described in the teensy4-rs
project.
Use make
to build an example for the Teensy 4:
make t4_blocking
When building an example for the Teensy 4, the build will print the location of
the *.hex
file. You may download the file to a Teensy using either the
Teensy Loader Application or the
teensy_loader_cli
command-line Teensy loader.
To run this crate's unit tests, and to check documentation examples, use make test
.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.