|
3 | 3 | All notable changes to this project will be documented in this file.
|
4 | 4 | This project adheres to [Semantic Versioning](http://semver.org/).
|
5 | 5 |
|
6 |
| -## [Unreleased] |
| 6 | +## [v0.7.0] - 2021-04-04 |
7 | 7 |
|
8 |
| -## Changed |
| 8 | +### Added |
9 | 9 |
|
| 10 | + - Add delay implementation based on `cortex_m::asm::delay`. |
| 11 | + - Implement `RngCore` and `CryptoRng` for the hardware RNG. |
| 12 | + - Support analog to digital converters (ADC). |
| 13 | + - Support SPI slave mode. |
| 14 | + - Add DMA and interrupt support for SPI and ADC peripherals. |
| 15 | + - Add support for measuring Vref, Vbat and temperature. |
| 16 | + - Add alternate function 0 to GPIO. |
| 17 | + - Add preliminary bxCAN support. |
| 18 | + - Add more GPIO combinations for I2C and PWM peripherals. |
| 19 | + - Add wakeup clock sources to RTC config. |
| 20 | + - Support RTC domain backup registers. |
| 21 | + - Support I2C on stm32l4x3 devices. |
| 22 | + - Support I2C3 peripheral on stm32l4x6 devices. |
| 23 | + - Experimental support for the Synopsis USB library. |
| 24 | + - Experimental support for USB OTG FS for stm32l4x5 and stm32l4x6 devices. |
| 25 | + - Support stm32l4r9 devices. |
| 26 | + |
| 27 | +### Changed |
| 28 | + |
| 29 | + - Use device-specific features rather than by-peripheral features. |
10 | 30 | - Use `fugit` duration nd rate units instead of custom
|
11 | 31 | - Use const-generics for GPIO (require Rust 1.51)
|
| 32 | + - Import I2C implementation from `stm32h7xx-hal` crate. |
| 33 | + - Use a `Config` struct for initializing I2C peripherals. |
| 34 | + - Check that the clock requested for the low-power timer is enabled. |
| 35 | + - Take `clocks` argument by value when setting up low-power timer. |
| 36 | + - Use sane low-power timer defaults (LSI, no prescaler). |
| 37 | + - Make `LowPowerTimer<_>::set_autoreload()` public. |
| 38 | + - Enable SPI2 for all stm32l4x2 devices as some of them have it. |
| 39 | + - Target hardfp by default since stm32l4 cores are Cortex-M4F. |
| 40 | + - Require typed input when converting from milliseconds to hertz. |
| 41 | + - Rework alternate function typestates. |
| 42 | + - Use MSI as default/fallback clock source for SYSCLK. |
| 43 | + - Use specialized PAC for stm32l412 and stm32l422 devices. |
| 44 | + - Add `toggeable` trait to GPIO pins. |
| 45 | + - Update `stm32l4` dependency. |
| 46 | + |
| 47 | +### Fixed |
| 48 | + |
| 49 | + - Fix TIM1 PWM frequency computation. |
| 50 | + - Fix TIM5 counter width. |
| 51 | + - Fix PSC computation off-by-one error. |
| 52 | + - Change wait states values according to datasheet. |
| 53 | + - Fix incorrect I2C2 on PC0/PC1 on stm32l4x3 devices. |
| 54 | + - Swap QSPI pins and remove conflicting/wrong implementations. |
| 55 | + - Add power on GPIOG pins. |
| 56 | + - Support 0 byte writes on I2C. |
12 | 57 |
|
13 | 58 | ## [v0.6.0] - 2020-12-11
|
14 | 59 |
|
@@ -197,7 +242,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
197 | 242 |
|
198 | 243 | - Initial release
|
199 | 244 |
|
200 |
| -[Unreleased]: https://github.com/stm32-rs/stm32l4xx-hal/compare/v0.6.0...HEAD |
| 245 | +[v0.7.0]: https://github.com/stm32-rs/stm32l4xx-hal/compare/v0.6.0...v0.7.0 |
201 | 246 | [v0.6.0]: https://github.com/stm32-rs/stm32l4xx-hal/compare/v0.5.0...v0.6.0
|
202 | 247 | [v0.5.0]: https://github.com/stm32-rs/stm32l4xx-hal/compare/v0.4.0...v0.5.0
|
203 | 248 | [v0.4.0]: https://github.com/stm32-rs/stm32l4xx-hal/compare/v0.3.6...v0.4.0
|
|
0 commit comments