Skip to content

Release v0.10.0

Latest
Compare
Choose a tag to compare
@Sh3Rm4n Sh3Rm4n released this 30 Nov 20:18

Breaking changes

  • Update stm32f3 pac to v0.15.1 (#335)
  • Update bxcan pac to v0.7.0 (#335)
  • Remove Toggle enum and use Switch instead for better naming purposes
  • Fix undefined behavior in SPI implementation (#346)
    • Add num_traits::PrimInt bounds to Word
  • Remove Serial::split, which possibly creates two mutable references two
    one Serial instance, which could've caused UB. The use case of this function
    was hard to find out anyway. (#351)
  • Remove defmt-* features (defmt feature is still available), to finalize
    migration from defmt-0.2.x -> defmt-0.3.x. (#349)
  • Removed implicit stm32-usbd feature (use usb instead) (#349)

Added

  • Add missing ADC channels (#337 & #345)
  • Add many #[must_use] instances (#347)

Fixed

  • Fix wrong timer frequency calculation and unexpected panics (#338)
  • Fixed integer saturation in Timer::start, see #342 (#356)

Changed

  • The PWM implementation was deprecated. There is not yet an alternative
    implementation, but it is hard to maintain the current implementation
    and not easy to verify if it is really a safe implementation.
    It is also not consistent with the rest of the crates API. (#352)
  • Use critical-section crate instead of interrupt_free, which is not always
    sound. (#350)
    It is also not consistent with the rest of the crates API.
  • The MSRV was bumped to 1.60 (#349)