All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- [breaking-change] Updated synopsys-usb-otg dependency to v0.2.0.
- Cleanups to the Sdio driver, some hw independent functionality moved to the new sdio-host library.
- [breaking-change] Sdio is disabled by default, enable with the
sdio
feature flag. - Move SDIO card power handling to its own function.
- [breaking-change] Add a 2 ms delay after changing SDIO card power setting.
- Reexport PAC as
pac
for consistency with other crates, considerstm32
virtually deprecated - Added external interrupt (EXTI) support for output pins
- Added
check_interrupt
method for GPIO pins - Basic support for DAC
- Add initial DMA support
- Stability fixes related to SD card write
v0.8.3 - 2020-06-12
- Make sure that I2C writes are concluded with a STOP condition
v0.8.2 - 2020-05-29
- Added sdio driver
- Allow specifying the desired SDIO bus speed during initialization
v0.8.1 - 2020-05-10
- Implement
timer::Cancel
trait forTimer<TIM>
. - Added DWT cycle counter based delay and stopwatch, including an example.
v0.8.0 - 2020-04-30
- [breaking-change] Updated stm32f4 dependency to v0.11.
- Wait 16 cycles after setting prescalers for some clock domains to follow manual.
- Fixed
TIM9
pclk
andppre
.
- Implement
timer::Cancel
trait forTimer<SYST>
. - Added PWM support and example.
v0.7.0 - 2020-03-07
- Added more type states for open drain AF modes so we can prevent (potential fatal) I2C misuse
- [breaking-change] Updated stm32f4 dependency to v0.10.0.
- Added examples in the examples folder.
- Added USB driver.
- PLL48Clk configuration.
- Added bit-banding implementation.
- Added support for RNG peripheral and rand_core, and an example that uses it.
v0.6.0 - 2019-10-19
- [breaking-change] Updated embedded-hal dependency to v0.2.3 and switched to digtial::v2 traits.
- Implemented
Qei
trait - Implemented
clear_interrupt()
method for TIM timers
v0.5.0 - 2019-04-27
- [breaking-change] Updated stm32f4 dependency to v0.7.0.
- Replace macro by generic impl over spi1::RegisterBlock in SPI.
- Properly terminate I2C read with a NACK then a STOP.
v0.4.0 - 2019-04-12
-
API to enable and disable SPI interrupts
-
Hal ADC supporting one-shot and sequence conversion of regular channels.
-
Implement IndependentWatchdog for the IWDG peripheral
-
Implement reading the device electronic signature from flash
- [breaking-change] Updated cortex-m dependency to v0.6.0.
v0.3.0 - 2019-01-14
-
Support ToggleableOutputPin trait in GPIO to allow using toggle().
-
Possibility to configure GPIO pins into analog input mode.
-
Possibility to configure GPIO pins to generate external interrupts.
-
Support NoTx and NoRx in Serial to allow setting up a Rx only or Tx only port.
-
Support for stm32f405, stm32f410, stm32f413, stm32f415, stm32f417, stm32f423, stm32f427, stm32f437, stm32f439, stm32f446, stm32f469 and stm32f479.
-
Support for I2C2 and I2C3 in addition to I2C1.
-
Read and Write implementations for Serial.
-
More versatile RCC clocks configuration.
-
Allow using any pair of Pins for I2C rather than only a few hardcoded ones.
-
Allow using any pair of Pins for Serial rather than only a few hardcoded ones.
-
[breaking-change] Updated stm32f4 dependency to v0.6.0.
- Serial baud rate divisor fractional overflow.
v0.2.8 - 2018-12-16
- Documentation generation.
v0.2.7 - 2018-12-16
- Switched to Rust 2018 edition.
v0.2.6 - 2018-12-06
-
Support for GPIOH PH0 and PH1 on stm32f401.
-
Support for serial port Idle interrupt.
-
Basic
memory.x
linker script and default linking options.
- Changed repository URL.
-
I2C clock setting.
-
GPIO
set_open_drain
is now setting theotyper
register correctly.
v0.2.5 - 2018-11-17
-
Support for stm32f411.
-
Spi trait implementation.
-
Updated stm32f4 dependency to v0.4.0.
-
Simplified and improved RCC parameters selection.
v0.2.4 - 2018-11-05
- Support for Serial interrupt enable and disable.
- Made the
rt
feature of stm32f4 optionnal.
- Avoid overwritting the cache bits in
flash.acr
.
v0.2.3 - 2018-11-04
-
Support for stm32f412.
-
Gpio InputPin implementation for output pins to allow reading current value of open drain output pins.
-
Timer trait implementation.
- No default features selected for the stm32f4 crate. User must specify its specific device.
v0.2.2 - 2018-10-27
- Gpio
set_speed
.
v0.2.1 - 2018-10-13
- Removed unnecessary feature gates.
v0.2.0 - 2018-10-11
-
Support for stm32f401.
-
[breaking-change]. Support for setting serial port word length, parity and stop bits.
- Support longuer Delay without asserting.
- Support for stm32f407 and stm32f429.