Skip to content

0.11

Latest
Compare
Choose a tag to compare
@tmehr-enqt tmehr-enqt released this 10 Sep 09:14
73746f3

[v0.11.0] - 2025-09-09

Breaking changes

  • Relax pin type generics for Serial, I2c, Spi, Can, Qei, PwmInput. #462 #516
    Use pin enums and impl RInto<(enum), R> for peripheral constructors.
    Add RInto trait and Rmp peripheral wrapper, add remap for peripherals. #514 #520
    Remove RemapStructs. #462 #506 #509
  • Use independent Spi and SpiSlave structures instead of OP generic #462
  • Include Clocks in Rcc. Take &mut Rcc/RCC where possible, freeze takes Config or RawConfig #498 #536
  • Update to stm32f1 v0.16.0 #503 #534
  • Spi now takes Option<PIN> for SCK, MISO, MOSI #514,
    add SPIx::NoSck, etc. [#537]
  • spi::FrameSize and embedded-hal 1.0 implementations
  • Backport I2c implementation from f4xx-hal
  • move Qei mod inside pwm_input mod #516

Changed

  • Fix CAN2 remap
  • Adc::new instead of Adc::adcX and AdcExt trait
  • Update bxcan, heapless, mfrc522, reenable mpu9250 example [#513]
  • PWM timer auto reload value is now preloaded/buffered #453
  • Move from bors/manual merge to GH merge queue #467
  • Rtc::restore_or_new: adds restoring mechanism of running Rtc #468
  • Rtc::select_frequency: fix for LSI and HSE, where correct frequency was not selected #468
  • Replace UB code by a legitimate pointer access #480
  • Fix flash error flag clearing #489
  • Clarify README for windows users #496
  • Check "device selected" in build.rs #502
  • Use gpio field enums internally #506
  • Unmacro dma.rs #505
  • Updated usb-device and usbd-serial to latest versions #510
  • Rework pin remaps, fix CAN1 remap #511
  • Rework USART remap,
  • Remove unsafe code from usb_serial_rtic example #528

Added

  • reset methods for I2C and BlockingI2C interfaces
  • Serial support for UART4/5
  • Allow to set HSE bypass bit in RCC clock configuration register to use an external clock input on the OSC_IN pin #485
  • initial support of embedded-hal-1.0 #416
  • Added ADC methods for temp/vref sensor control. The time required for reading from the ADC can be reduced using these #422
  • Add tools/check.py python script for local check #467
  • Add changelog check on PRs #467
  • Reexport Direction from qei #479
  • Add DAC #483
  • Add an option to allow overclocking #494
  • new on gpio mode #506
  • Add Serial rx/tx constructors #509
  • Add enable/disable EOC interrupt functions for ADCs #526
  • Move from bors/manual merge to GH merge queue
  • Add tools/check.py python script for local check
  • Add changelog check on PRs