Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with backport release #341

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Fix wrong timer frequency calculation and unexpected panics ([#338])

## [v0.9.2] - 2023-02-20

### Added

- Add missing ADC channels ([#337])

### Fixed

- Fix wrong timer frequency calculation and unexpected panics ([#338])

### Changed

- The MSRV was bumped to 1.59 ([#340])

## [v0.9.1] - 2022-09-07

### Added
Expand Down Expand Up @@ -581,6 +595,7 @@ let clocks = rcc
[defmt]: https://github.com/knurling-rs/defmt
[filter]: https://defmt.ferrous-systems.com/filtering.html

[#340]: https://github.com/stm32-rs/stm32f3xx-hal/pull/340
[#338]: https://github.com/stm32-rs/stm32f3xx-hal/pull/338
[#337]: https://github.com/stm32-rs/stm32f3xx-hal/pull/337
[#335]: https://github.com/stm32-rs/stm32f3xx-hal/pull/335
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.9.1"
version = "0.9.2"
exclude = ["codegen", ".markdownlint.yml"]
resolver = "2"
rust-version = "1.59"
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,16 @@ Almost all of the implementation was shamelessly adapted from the
Cargo.toml:

```toml
[package]
# ...
resolver = "2"

[dependencies]
cortex-m = "0.7.2"
cortex-m-rt = { version = "0.6.13", features = ["device"] }
# Panic behaviour, see https://crates.io/keywords/panic-impl for alternatives
# Only set the critical section feature, if you are using a bare-metal platform
# without any RTOS
# See https://github.com/rust-embedded/critical-section for further details.
cortex-m = { version = "0.7.4", features = ["critical-section-single-core"]}
cortex-m-rt = { version = "0.7.3", features = ["device"] }
# Panic behavior, see https://crates.io/keywords/panic-impl for alternatives
panic-halt = "0.2.0"
# Replace stm32f303xc with your target chip, see next section for more info
stm32f3xx-hal = { version = "0.9.1", features = ["ld", "rt", "stm32f303xc"] }
stm32f3xx-hal = { version = "0.9.2", features = ["ld", "rt", "stm32f303xc"] }
```

We also need to tell Rust about target architecture and how to link our
Expand Down
2 changes: 1 addition & 1 deletion release.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# cargo-release configuration

tag-message = "{{version}}"
dev-version = false
pre-release-commit-message = "Release v{{version}}"
consolidate-commits = false
push-remote = "upstream"

# Change the changelog's `Unreleased` section to refer to this release and
Expand Down