Skip to content

Commit

Permalink
Merge pull request #187 from Sh3Rm4n/v0.6.1
Browse files Browse the repository at this point in the history
Release v0.6.1
  • Loading branch information
Sh3Rm4n committed Dec 20, 2020
2 parents 31b1b63 + 6be4d45 commit c68c36c
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 65 deletions.
199 changes: 135 additions & 64 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,32 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [v0.6.1] - 2020-12-10

### Changed

- Removed `doc-comment` dependency ([#184])

## [v0.6.0] - 2020-12-10

### Added

- Support for 16-bit words with SPI ([#107](https://github.com/stm32-rs/stm32f3xx-hal/pull/107))
- SPI support for reclock after initialization ([#98](https://github.com/stm32-rs/stm32f3xx-hal/pull/98))
- Support for `stm32f302x6` and `stm32f302x8` devices ([#132](https://github.com/stm32-rs/stm32f3xx-hal/pull/132))
- Support for the onboard real-time clock (RTC) ([#136](https://github.com/stm32-rs/stm32f3xx-hal/pull/136))
- Enable DMA for USART on `stm32f302` devices ([#139](https://github.com/stm32-rs/stm32f3xx-hal/pull/139))
- Basic CAN bus support ([#100](https://github.com/stm32-rs/stm32f3xx-hal/pull/100))
- Support for 16-bit words with SPI ([#107])
- SPI support for reclock after initialization ([#98])
- Support for `stm32f302x6` and `stm32f302x8` devices ([#132])
- Support for the onboard real-time clock (RTC) ([#136])
- Enable DMA for USART on `stm32f302` devices ([#139])
- Basic CAN bus support ([#100])
- Impls for all SPI pins for all `stm32f302` sub-targets, `stm32f303`
subtargets, `stm32f3x8` targets, `stm32f334`, and `stm32f373`
([#99](https://github.com/stm32-rs/stm32f3xx-hal/pull/99))
([#99])
- SPI4 peripheral for supported
devices. ([#99](https://github.com/stm32-rs/stm32f3xx-hal/pull/99))
- Support for I2C transfer of more than 255 bytes, and 0 byte write ([#154](https://github.com/stm32-rs/stm32f3xx-hal/pull/154))
- Support for HSE bypass and CSS ([#156](https://github.com/stm32-rs/stm32f3xx-hal/pull/156))
- Impls for missing I2C pin definitions ([#164](https://github.com/stm32-rs/stm32f3xx-hal/pull/164))
- Support I2C3 ([#164](https://github.com/stm32-rs/stm32f3xx-hal/pull/164))
- Support for [`defmt`][defmt] ([#172](https://github.com/stm32-rs/stm32f3xx-hal/pull/172))
devices. ([#99])
- Support for I2C transfer of more than 255 bytes, and 0 byte write ([#154])
- Support for HSE bypass and CSS ([#156])
- Impls for missing I2C pin definitions ([#164])
- Support I2C3 ([#164])
- Support for [`defmt`][defmt] ([#172])
- Now [defmt][] features are available.
- Currently these are only used for panicking calls, like
`assert!` `panic!` or `unwrap()`. These are enabled using the [defmt][]
Expand All @@ -42,48 +48,48 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Changed

- Introduced auto-generated GPIO mappings based on the STM32CubeMX database
([#129](https://github.com/stm32-rs/stm32f3xx-hal/pull/129))
([#129])

### Fixed

- Fixed [#151][] not being able to generate 72 MHz HCLK for stm32f303xc devices
([#152](https://github.com/stm32-rs/stm32f3xx-hal/pull/152))
- Wrong I2C clock source ([#164](https://github.com/stm32-rs/stm32f3xx-hal/pull/164))
- Fixed [#151] not being able to generate 72 MHz HCLK for stm32f303xc devices
([#152])
- Wrong I2C clock source ([#164])

[#151]: https://github.com/stm32-rs/stm32f3xx-hal/issues/151

### Breaking Changes

- Removed impl for `SckPin<SPI2>` for `PB13<AF5>` from `stm32f328` and
`stm32f378` targets. ([#99](https://github.com/stm32-rs/stm32f3xx-hal/pull/99))
`stm32f378` targets. ([#99])
- Removed SPI1 support for `stm32f302x6` and `stm32f302x8` sub-targets
and `stm32f318` target. ([#99](https://github.com/stm32-rs/stm32f3xx-hal/pull/99))
and `stm32f318` target. ([#99])
- This release requires 1.48, as intra-doc-links are now used internally.
Until now, no MSRV was tracked. This has changed now. This however does
not mean, that we guarantee any MSRV policy. It is rather for documentation
purposes and if a new useful feature arises, we will increase the MSRV.
([#170](https://github.com/stm32-rs/stm32f3xx-hal/pull/170))
([#170])
- Removed I2C2 support for `stm32f303x6`, `stm32f303x8` and `stm32f328` targets.
([#164](https://github.com/stm32-rs/stm32f3xx-hal/pull/164))
([#164])
- `I2c::i2c1` and `I2c::i2c2` functions are renamed to `I2c::new`.
([#164](https://github.com/stm32-rs/stm32f3xx-hal/pull/164))
([#164])

## [v0.5.0] - 2020-07-21

### Added

- Implement `InputPin` for `Output<OpenDrain>` pins ([#114](https://github.com/stm32-rs/stm32f3xx-hal/pull/114))
- Support for safe one-shot DMA transfers ([#86](https://github.com/stm32-rs/stm32f3xx-hal/pull/86))
- DMA support for serial reception and transmission ([#86](https://github.com/stm32-rs/stm32f3xx-hal/pull/86))
- ADC support for `stm32f303` devices ([#47](https://github.com/stm32-rs/stm32f3xx-hal/pull/47))
- Implement `InputPin` for `Output<OpenDrain>` pins ([#114])
- Support for safe one-shot DMA transfers ([#86])
- DMA support for serial reception and transmission ([#86])
- ADC support for `stm32f303` devices ([#47])

### Fixed

- `PLL` was calculated wrong for devices, which do not divide `HSI` ([#67](https://github.com/stm32-rs/stm32f3xx-hal/pull/67))
- `PLL` was calculated wrong for devices, which do not divide `HSI` ([#67])

### Changed

- The system clock calculation is more fine grained now. ([#67](https://github.com/stm32-rs/stm32f3xx-hal/pull/67))
- The system clock calculation is more fine grained now. ([#67])
Now the system clock can be some value, like 14 MHz, which can not a
be represented as a multiple of the oscillator clock:

Expand All @@ -106,115 +112,115 @@ let clocks = rcc

### Breaking changes

- The feature gate requires you to select a subvariant if possible. ([#75](https://github.com/stm32-rs/stm32f3xx-hal/pull/75))
- The feature gate requires you to select a subvariant if possible. ([#75])
- Split up `stm32f302` into sub-targets `stm32f302xb`,`stm32f302xc`,`stm32f302xd`,`stm32f302xe`
- Bump `stm32f3` dependency to `0.11.0` ([#97](https://github.com/stm32-rs/stm32f3xx-hal/pull/97))
- The `stm32f3` reexport is now renamed from `stm32` to `pac` ([#101](https://github.com/stm32-rs/stm32f3xx-hal/pull/101))
- Bump `stm32f3` dependency to `0.11.0` ([#97])
- The `stm32f3` reexport is now renamed from `stm32` to `pac` ([#101])
- The correct `stm32f3` modules are now used for the `stm32f318` and `stm32f738`
targets. As a result, some previously (wrongly) supported peripherals have
been removed from these targets. ([#116](https://github.com/stm32-rs/stm32f3xx-hal/pull/116))
been removed from these targets. ([#116])

## [v0.4.3] - 2020-04-11

### Added

- Independent Watchdog ([#58](https://github.com/stm32-rs/stm32f3xx-hal/pull/58))
- Independent Watchdog ([#58])

### Fixed

- Wrong default modes for debug GPIO pins ([#82](https://github.com/stm32-rs/stm32f3xx-hal/pull/82))
- Wrong default modes for debug GPIO pins ([#82])
- Wrong calculation of HCLK prescaler, if using a prescaler value equal or
higher than 64 ([#42](https://github.com/stm32-rs/stm32f3xx-hal/pull/42))
- UART reception error flags not cleared ([#91](https://github.com/stm32-rs/stm32f3xx-hal/pull/91))
higher than 64 ([#42])
- UART reception error flags not cleared ([#91])

## [v0.4.2] - 2020-03-21

### Fixed

- Wrong frequency reported by `MonoTimer` ([#56](https://github.com/stm32-rs/stm32f3xx-hal/pull/56))
- Use automatic mode with I2C autoend on `Read` ([#72](https://github.com/stm32-rs/stm32f3xx-hal/pull/72))
- Wrong frequency reported by `MonoTimer` ([#56])
- Use automatic mode with I2C autoend on `Read` ([#72])

### Changed

- Bump `stm32f3` dependency to `0.10.0` ([#70](https://github.com/stm32-rs/stm32f3xx-hal/pull/70))
- Bump `stm32f3` dependency to `0.10.0` ([#70])

## [v0.4.1] - 2020-03-07

### Added

- Use Infallible error type for UART ([#50](https://github.com/stm32-rs/stm32f3xx-hal/pull/50))
- Implement blocking Write for UART ([#50](https://github.com/stm32-rs/stm32f3xx-hal/pull/50))
- Implement blocking Read for I2C ([#52](https://github.com/stm32-rs/stm32f3xx-hal/pull/52))
- Use Infallible error type for UART ([#50])
- Implement blocking Write for UART ([#50])
- Implement blocking Read for I2C ([#52])

### Fixed

- Regression in v0.4.0 that set SPI to LSB-first ordering ([#60](https://github.com/stm32-rs/stm32f3xx-hal/pull/60))
- Regression in v0.4.0 that set SPI to LSB-first ordering ([#60])

## [v0.4.0] - 2019-12-27

### Added

- USB Driver for all devices except `stm32f301` and `stm32f334` as they have no
USB peripheral. ([#24](https://github.com/stm32-rs/stm32f3xx-hal/pull/24))
- `StatefulOutputPin` and `ToggleableOutputPin` ([#25](https://github.com/stm32-rs/stm32f3xx-hal/pull/25))
- Support devices with 2-bit PLLSRC fields ([#31](https://github.com/stm32-rs/stm32f3xx-hal/pull/33))
USB peripheral. ([#24])
- `StatefulOutputPin` and `ToggleableOutputPin` ([#25])
- Support devices with 2-bit PLLSRC fields ([#31])
- This allows using 72 MHz `sysclk` on the `stm32f303`
- Analog gpio trait ([#33](https://github.com/stm32-rs/stm32f3xx-hal/pull/33))
- Add PWM Channels ([#34](https://github.com/stm32-rs/stm32f3xx-hal/pull/34))
- Analog gpio trait ([#33])
- Add PWM Channels ([#34])
- SPI embedded hal modes are now public
([#35](https://github.com/stm32-rs/stm32f3xx-hal/pull/18))
([#35])

### Breaking changes

- Alternate gpio functions are now **only** made available for devices, which
have them. ([#21](https://github.com/stm32-rs/stm32f3xx-hal/pull/21))
have them. ([#21])
- `stm32f303` is now split into `stm32f303xd` and `stm32f303xe` as they provide
different alternate gpio functions. `stm32f303` is still available.
- Bump `stm32f3` dependency to `0.9.0`
([#39](https://github.com/stm32-rs/stm32f3xx-hal/pull/39))
([#39])

### Fixed

- Fixed wrong initialization of the SPI ([#35](https://github.com/stm32-rs/stm32f3xx-hal/pull/35))
- Fixed wrong initialization of the SPI ([#35])

## [v0.3.0] - 2019-08-26

### Added

- HSE and USB clock are now supported ([#18](https://github.com/stm32-rs/stm32f3xx-hal/pull/18))
- HSE and USB clock are now supported ([#18])

### Changed

- Bump `stm32f3` version to `0.8.0` ([#19](https://github.com/stm32-rs/stm32f3xx-hal/pull/19))
- Bump `stm32f3` version to `0.8.0` ([#19])

## [v0.2.3] - 2019-07-07

### Fixed

- Fix timer initialization ([#17](https://github.com/stm32-rs/stm32f3xx-hal/pull/17))
- Fix timer initialization ([#17])

## [v0.2.2] - 2019-07-06

## Fixed

- Missing `stm32f303` timers ([#16](https://github.com/stm32-rs/stm32f3xx-hal/pull/16))
- Missing `stm32f303` timers ([#16])

## [v0.2.1] - 2019-07-06

### Added

- Fully erased pin ([#14](https://github.com/stm32-rs/stm32f3xx-hal/pull/14))
- Fully erased pin ([#14])

## [v0.2.0] - 2019-07-02

### Changed

- Bump `stm32f3` version to `0.7.1` ([#12](https://github.com/stm32-rs/stm32f3xx-hal/pull/12))
- Bump `embedded-hal` version to `0.2.3` ([#11](https://github.com/stm32-rs/stm32f3xx-hal/pull/11))
- Bump `stm32f3` version to `0.7.1` ([#12])
- Bump `embedded-hal` version to `0.2.3` ([#11])

### Fixed

- Various peripheral mappings for some devices ([#12](https://github.com/stm32-rs/stm32f3xx-hal/pull/12))
- Various peripheral mappings for some devices ([#12])

### Breaking changes

Expand All @@ -224,19 +230,19 @@ let clocks = rcc

### Added

- Support for GPIO AF14 ([#6](https://github.com/stm32-rs/stm32f3xx-hal/pull/6))
- Support for GPIO AF14 ([#6])

## [v0.1.4] - 2019-05-04

### Fixed

- Fixed I2C address ([#4](https://github.com/stm32-rs/stm32f3xx-hal/pull/4))
- Fixed I2C address ([#4])

## [v0.1.3] - 2019-04-12

### Added

- Implement GPIO `InputPin` traits ([#2](https://github.com/stm32-rs/stm32f3xx-hal/pull/2))
- Implement GPIO `InputPin` traits ([#2])

## [v0.1.2] - 2019-04-06

Expand All @@ -256,7 +262,72 @@ let clocks = rcc

- Support `stm32f303` device

[Unreleased]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.6.0...HEAD
[#184]: https://github.com/stm32-rs/stm32f3xx-hal/pull/184
[#172]: https://github.com/stm32-rs/stm32f3xx-hal/pull/172
[#170]: https://github.com/stm32-rs/stm32f3xx-hal/pull/170
[#164]: https://github.com/stm32-rs/stm32f3xx-hal/pull/164
[#164]: https://github.com/stm32-rs/stm32f3xx-hal/pull/164
[#164]: https://github.com/stm32-rs/stm32f3xx-hal/pull/164
[#164]: https://github.com/stm32-rs/stm32f3xx-hal/pull/164
[#164]: https://github.com/stm32-rs/stm32f3xx-hal/pull/164
[#156]: https://github.com/stm32-rs/stm32f3xx-hal/pull/156
[#154]: https://github.com/stm32-rs/stm32f3xx-hal/pull/154
[#152]: https://github.com/stm32-rs/stm32f3xx-hal/pull/152
[#151]: https://github.com/stm32-rs/stm32f3xx-hal/issues/151
[#139]: https://github.com/stm32-rs/stm32f3xx-hal/pull/139
[#136]: https://github.com/stm32-rs/stm32f3xx-hal/pull/136
[#132]: https://github.com/stm32-rs/stm32f3xx-hal/pull/132
[#129]: https://github.com/stm32-rs/stm32f3xx-hal/pull/129
[#116]: https://github.com/stm32-rs/stm32f3xx-hal/pull/116
[#114]: https://github.com/stm32-rs/stm32f3xx-hal/pull/114
[#107]: https://github.com/stm32-rs/stm32f3xx-hal/pull/107
[#101]: https://github.com/stm32-rs/stm32f3xx-hal/pull/101
[#100]: https://github.com/stm32-rs/stm32f3xx-hal/pull/100
[#99]: https://github.com/stm32-rs/stm32f3xx-hal/pull/99
[#99]: https://github.com/stm32-rs/stm32f3xx-hal/pull/99
[#99]: https://github.com/stm32-rs/stm32f3xx-hal/pull/99
[#98]: https://github.com/stm32-rs/stm32f3xx-hal/pull/98
[#97]: https://github.com/stm32-rs/stm32f3xx-hal/pull/97
[#91]: https://github.com/stm32-rs/stm32f3xx-hal/pull/91
[#86]: https://github.com/stm32-rs/stm32f3xx-hal/pull/86
[#86]: https://github.com/stm32-rs/stm32f3xx-hal/pull/86
[#82]: https://github.com/stm32-rs/stm32f3xx-hal/pull/82
[#75]: https://github.com/stm32-rs/stm32f3xx-hal/pull/75
[#72]: https://github.com/stm32-rs/stm32f3xx-hal/pull/72
[#70]: https://github.com/stm32-rs/stm32f3xx-hal/pull/70
[#67]: https://github.com/stm32-rs/stm32f3xx-hal/pull/67
[#67]: https://github.com/stm32-rs/stm32f3xx-hal/pull/67
[#60]: https://github.com/stm32-rs/stm32f3xx-hal/pull/60
[#58]: https://github.com/stm32-rs/stm32f3xx-hal/pull/58
[#56]: https://github.com/stm32-rs/stm32f3xx-hal/pull/56
[#52]: https://github.com/stm32-rs/stm32f3xx-hal/pull/52
[#50]: https://github.com/stm32-rs/stm32f3xx-hal/pull/50
[#50]: https://github.com/stm32-rs/stm32f3xx-hal/pull/50
[#47]: https://github.com/stm32-rs/stm32f3xx-hal/pull/47
[#42]: https://github.com/stm32-rs/stm32f3xx-hal/pull/42
[#39]: https://github.com/stm32-rs/stm32f3xx-hal/pull/39
[#35]: https://github.com/stm32-rs/stm32f3xx-hal/pull/18
[#35]: https://github.com/stm32-rs/stm32f3xx-hal/pull/35
[#34]: https://github.com/stm32-rs/stm32f3xx-hal/pull/34
[#33]: https://github.com/stm32-rs/stm32f3xx-hal/pull/33
[#31]: https://github.com/stm32-rs/stm32f3xx-hal/pull/33
[#25]: https://github.com/stm32-rs/stm32f3xx-hal/pull/25
[#24]: https://github.com/stm32-rs/stm32f3xx-hal/pull/24
[#21]: https://github.com/stm32-rs/stm32f3xx-hal/pull/21
[#19]: https://github.com/stm32-rs/stm32f3xx-hal/pull/19
[#18]: https://github.com/stm32-rs/stm32f3xx-hal/pull/18
[#17]: https://github.com/stm32-rs/stm32f3xx-hal/pull/17
[#16]: https://github.com/stm32-rs/stm32f3xx-hal/pull/16
[#14]: https://github.com/stm32-rs/stm32f3xx-hal/pull/14
[#12]: https://github.com/stm32-rs/stm32f3xx-hal/pull/12
[#12]: https://github.com/stm32-rs/stm32f3xx-hal/pull/12
[#11]: https://github.com/stm32-rs/stm32f3xx-hal/pull/11
[#6]: https://github.com/stm32-rs/stm32f3xx-hal/pull/6
[#4]: https://github.com/stm32-rs/stm32f3xx-hal/pull/4
[#2]: https://github.com/stm32-rs/stm32f3xx-hal/pull/2

[Unreleased]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.6.1...HEAD
[v0.6.0]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.6.0...v0.6.1
[v0.6.0]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.5.0...v0.6.0
[v0.5.0]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.4.3...v0.5.0
[v0.4.3]: https://github.com/stm32-rs/stm32f3xx-hal/compare/v0.4.2...v0.4.3
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ name = "stm32f3xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32f3xx-hal"
documentation = "https://docs.rs/stm32f3xx-hal"
version = "0.6.0"
version = "0.6.1"
exclude = [
"codegen",
".markdownlint.yml"
Expand Down

0 comments on commit c68c36c

Please sign in to comment.