Skip to content

Commit

Permalink
Release 0.10.0 (#216)
Browse files Browse the repository at this point in the history
* Release v0.10.0

* Add @jamwaffles to crate authors

* Fix clippy lints breaking CI

Unable to reproduce locally on 1.56.0 but if it makes clippy happy why
not...
  • Loading branch information
jamwaffles authored Aug 15, 2022
1 parent 73a7587 commit c672829
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ forget to update the links at the bottom of the changelog as well.-->

### Breaking Changes

### Non-Breaking Changes

### Fixes

### Documentation

## [v0.10.0] - 2022-08-15

### Additions

### Breaking Changes

- Upgrade `stm32l0` to latest version, and other dependency updates ([#215]):

`dependencies`
Expand Down Expand Up @@ -210,6 +222,7 @@ _Not yet tracked in this changelog._
<!-- Links to version diffs. -->

[unreleased]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.9.0...HEAD
[v0.10.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.9.0...v0.10.0
[v0.9.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.8.0...v0.9.0
[v0.8.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.7.0...v0.8.0
[v0.7.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.6.2...v0.7.0
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ authors = [
"Arko <arko2600@gmail.com>",
"Hanno Braun <hanno@braun-odw.eu>",
"Danilo Bargen <mail@dbrgn.ch>",
"James Waples <james@wapl.es>",
]
categories = ["embedded", "hardware-support", "no-std"]
description = "Peripheral access API for STM32L0 series microcontrollers"
Expand All @@ -14,7 +15,7 @@ license = "0BSD"
name = "stm32l0xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32l0xx-hal"
version = "0.9.0"
version = "0.10.0"

[package.metadata.docs.rs]
features = ["mcu-STM32L071KBTx", "rt", "stm32-usbd", "rtc"]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For example, when using the STM32L071KBTx MCU:

```toml
[dependencies]
stm32l0xx-hal = { version = "0.9.0", features = ["mcu-STM32L071KBTx", "rt"] }
stm32l0xx-hal = { version = "0.10.0", features = ["mcu-STM32L071KBTx", "rt"] }
```


Expand All @@ -55,7 +55,7 @@ feature. For example, when using the STM32L071KBTx MCU, you just set the
```toml
# Cargo.toml
[dependencies]
stm32l0xx-hal = { version = "0.9.0", features = ["mcu-STM32L071KBTx", "rt"] }
stm32l0xx-hal = { version = "0.10.0", features = ["mcu-STM32L071KBTx", "rt"] }
```

If you take a look at the [`Cargo.toml`
Expand Down Expand Up @@ -129,7 +129,7 @@ And finally add the `disable-linker-script` feature to your `stm32l0xx-hal` depe
```toml
# Cargo.toml
[dependencies]
stm32l0xx-hal = { version = "0.9.0", features = ["mcu-STM32L071K8Ux", "disable-linker-script"] }
stm32l0xx-hal = { version = "0.10.0", features = ["mcu-STM32L071K8Ux", "disable-linker-script"] }
```

# Other Cargo Features
Expand Down
6 changes: 3 additions & 3 deletions src/adc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl AdcExt for ADC {
}

/// ADC Result Alignment
#[derive(PartialEq)]
#[derive(Eq, PartialEq)]
pub enum Align {
/// Right aligned results (least significant bits)
///
Expand All @@ -44,7 +44,7 @@ pub enum Align {
}

/// ADC Sampling Precision
#[derive(Copy, Clone, PartialEq)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub enum Precision {
/// 12 bit precision
B_12 = 0b00,
Expand All @@ -57,7 +57,7 @@ pub enum Precision {
}

/// ADC Sampling time
#[derive(Copy, Clone, PartialEq)]
#[derive(Copy, Clone, Eq, PartialEq)]
pub enum SampleTime {
/// 1.5 ADC clock cycles
T_1_5 = 0b000,
Expand Down
2 changes: 1 addition & 1 deletion src/rtc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ use crate::{
pub use rtcc::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, Timelike};

/// Errors that can occur when dealing with the RTC.
#[derive(Debug, PartialEq)]
#[derive(Debug, Eq, PartialEq)]
pub enum Error {
/// Invalid input data was used (e.g. a year outside the 2000-2099 range).
InvalidInputData,
Expand Down

0 comments on commit c672829

Please sign in to comment.