Skip to content

rp2040-hal v0.11.0

Latest
Compare
Choose a tag to compare
@jannic jannic released this 22 Dec 11:20
· 4 commits to main since this release

0.11.0 - 2024-12-22

MSRV

The Minimum-Supported Rust Version (MSRV) for the next release is 1.79

  • Bump MSRV to 1.77, because binary info examples need C-Strings.
  • Bump MSRV to 1.79 to enable inline_const, used for static asserts.

Added

  • Support for binary info, which is metadata that picotool can read from your binary. - #824 @thejpster
  • Enable transfer size of PIO DMA to be specified - #788 @jsgf
  • Implement embedded_io traits for Reader/Writer - #781 @jannic
  • Implement send_break support - #700 @ithinuel
  • Support for aborting DMA transfers - #803 @EliseZeroTwo
  • Gpio: add PinGroup::set_u32 to allow setting each pin to a different state - #811 @ithinuel @jannic
  • Derive defmt::Format for RtcError, fix doc typo - #818 @hfly0
  • Implement embedded_io ReadReady and WriteReady traits for uart - #837 @antbern
  • Provide arch module on RP2040 - #845 @jannic
  • Implement Debug support for the GPIO structures - #861 @robamu

Fixed

Changed

  • Simplify ceiling division in delay calculation - #783 @jannic
  • Base CountDown on Timer instead of &Timer - #815 @jannic
  • UART: Avoid discarding already read bytes on error - #798 @jannic
  • Rationalise all the license files and copyright notices. - #829 @thejpster
  • spi: move set_format to all states - #831 @ithinuel
  • Extract picotool binary info to a separate rp-binary-info crate. - #830 @Dirbaio
  • Restructure repository layout in preparation of RP2350 support - #828 #834 @thejpster
  • Update critical-section dependency to version 1.2.0 - #862 @jannic