Skip to content

Releases: imxrt-rs/imxrt-hal

imxrt-hal 0.5.7

05 Aug 17:40
Compare
Choose a tag to compare

Add PLL7 for 1060 MCUs.

imxrt-hal 0.5.6

05 Jul 12:57
Compare
Choose a tag to compare
  • Add LPSPI low-level clock configuration APIs.
  • Add LPSPI set_peripheral_enable to configure the driver as a SPI peripheral.

When the LPI2C driver concludes a transaction, it ensures that the controller
is idle before returning.

imxrt-hal 0.5.5

27 May 23:29
Compare
Choose a tag to compare

Add embedded-hal 1 implementations for the following drivers:

  • GPIO
  • LPUART
  • LPI2C

Introduce LPSPI improvements:

  • Add additional checks for LPSPI frame sizes.
  • Rework LPSPI clock settings, initialization, and disable.
  • Add flush() method.
  • Add soft_reset() method.
  • Allow users to change the mode while enabled. Deprecate the corresponding
    method on the Disabled helper.
  • Allow users to change the watermark while enabled. Deprecate the corresponding
    method on the Disabled helper.

Change how the LPSPI driver manages the FIFOs. As a result of this change, the
driver never returns the Busy or NoData errors through the embedded-hal
interfaces. Instead of returning Busy, the driver blocks until there's space in
the FIFO. If the caller provides an empty buffer, then the result is OK.

The LPSPI embedded-hal (0.2) implementations will implicitly flush after blocking
I/O. Users can rely on this behavior to synchronize external components.

imxrt-hal v0.5.4

26 Nov 11:32
Compare
Choose a tag to compare

Add FlexIO CCM APIs for 1000 targets.

imxrt-hal v0.5.3

03 Jul 13:35
Compare
Choose a tag to compare

Add FlexIO clock gates.

imxrt-hal 0.5.2

26 Apr 11:37
Compare
Choose a tag to compare

Fix a bug in the LPSPI driver that prevented transfers from reading data back into the caller's buffer. The LPSPI transfer now waits for all data before returning to the caller.

Add LPSPI API to configure the sample point.

imxrt-hal 0.5.1

07 Mar 14:34
Compare
Choose a tag to compare

Add support for i.MX RT 1020 processors. Enable support with the "imxrt1020"
imxrt-hal feature, and separately select your imxrt-ral feature.

Deprecate the clko2::Selection::TracClk item. Prefer the correctly-spelled
variant, clko2::Selection::TraceClk.

Deprecate the following items in the timer module:

  • timer::BlockingPitChan and constructor from_pit_channel.
  • timer::RawCountDownPitChanand constructor from_pit_channel.

The type names differ from *PitChain by one letter. Prefer the spellings
without *Chan and *_channel.


Add support for executing in-repo examples on i.MX RT 1060 EVKs.

Release 0.4.5

03 Dec 00:30
Compare
Choose a tag to compare

Added

You can now configure GPIO inputs to trigger interrupts. See the GPIO
documentation for the new API.

Fixed

The TRNG signals a rand_core custom error code.

Release 0.4.4

23 Apr 22:49
Compare
Choose a tag to compare

Added calls to set pin muxing in the PWM driver. This fixes a regression in
the PWM driver that was introduced in the 0.4 HAL release.

0.4.2

23 Nov 21:44
Compare
Choose a tag to compare

The 0.4.2 imxrt-hal release contains three new peripherals, and a fix for existing peripheral errors.

Added

  • Basic support for the secure real time clock (SRTC) peripheral, which
    continues to track time while the SNVS low-power domain remains powered.
  • Add ADC channels. The channels implement the embedded-hal::adc::Oneshot
    trait.
  • Preliminary support for the TRNG, with an implementation of embedded_hal's
    rng::Read trait. Includes support for rand_core::RngCore behind the
    optional "rand_core" feature.

Fixed

  • Ensure that I2C and SPI errors can only be created by the HAL crate, and not by end users.