# Change Log
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]
## [v0.4.0] - 2019-04-12
### Added
- 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
### Changed
- [breaking-change] Updated cortex-m dependency to v0.6.0.
## [v0.3.0] - 2019-01-14
### Added
- 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.
### Changed
- 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.
### Fixed
- Serial baud rate divisor fractional overflow.
## [v0.2.8] - 2018-12-16
### Fixed
- Documentation generation.
## [v0.2.7] - 2018-12-16
### Changed
- Switched to Rust 2018 edition.
## [v0.2.6] - 2018-12-06
### Added
- Support for GPIOH PH0 and PH1 on stm32f401.
- Support for serial port Idle interrupt.
- Basic `memory.x` linker script and default linking options.
### Changed
- Changed repository URL.
### Fixed
- I2C clock setting.
- GPIO `set_open_drain` is now setting the `otyper` register correctly.
## [v0.2.5] - 2018-11-17
### Added
- Support for stm32f411.
- Spi trait implementation.
### Changed
- Updated stm32f4 dependency to v0.4.0.
- Simplified and improved RCC parameters selection.
## [v0.2.4] - 2018-11-05
### Added
- Support for Serial interrupt enable and disable.
### Changed
- Made the `rt` feature of stm32f4 optionnal.
### Fixed
- Avoid overwritting the cache bits in `flash.acr`.
## [v0.2.3] - 2018-11-04
### Added
- Support for stm32f412.
- Gpio InputPin implementation for output pins to allow reading current
value of open drain output pins.
- Timer trait implementation.
### Changed
- No default features selected for the stm32f4 crate. User must specify its
specific device.
## [v0.2.2] - 2018-10-27
### Added
- Gpio `set_speed`.
## [v0.2.1] - 2018-10-13
### Fixed
- Removed unnecessary feature gates.
## [v0.2.0] - 2018-10-11
### Added
- Support for stm32f401.
- [breaking-change]. Support for setting serial port word length, parity and
stop bits.
### Changed
- Support longuer Delay without asserting.
## v0.1.0 - 2018-10-02
### Added
- Support for stm32f407 and stm32f429.
[Unreleased]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.4.0...HEAD
[v0.4.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.3.0...v0.4.0
[v0.3.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.8...v0.3.0
[v0.2.8]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.7...v0.2.8
[v0.2.7]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.6...v0.2.7
[v0.2.6]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.5...v0.2.6
[v0.2.5]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.4...v0.2.5
[v0.2.4]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.3...v0.2.4
[v0.2.3]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.2...v0.2.3
[v0.2.2]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.1...v0.2.2
[v0.2.1]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.2.0...v0.2.1
[v0.2.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.1.0...v0.2.0