Cargo Features

[dependencies]
imxrt-uart-log = { version = "0.2.0", default-features = false, features = ["imxrt1062", "byob"] }
default = imxrt1062

TODO add features for other variants once available in the HAL.

Since the HAL only supports the imxrt1062 right now, we only support it here. For convenience, we make it the default.

imxrt1062 default

Enables imxrt1062 of imxrt-hal ^0.4.0

byob

Bring Your Own Buffer

Disables the default DMA static buffer, and exposes an interface for users to specify their own buffer. Use this if you want a smaller or larger DMA buffer, or you need to control the buffer's static allocation.