Skip to content

Commit

Permalink
Merge #408
Browse files Browse the repository at this point in the history
408: 0.16.0 r=jonas-schievink a=jonas-schievink

bors r+

Co-authored-by: Jonas Schievink <[email protected]>
  • Loading branch information
bors[bot] and Jonas Schievink authored Oct 26, 2022
2 parents 31208d0 + 47edaab commit f345ccb
Show file tree
Hide file tree
Showing 22 changed files with 61 additions and 31 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,35 @@

(no changes)

## [0.16.0]

### New Features

- Enable all SPIM and UARTE interfaces on the nRF9160 ([#391]).
- Add a `reset_event` method to `Timer` ([#390]).
- Add a `free` method to `Saadc` ([#389]).
- Add `OpenDrainIO` pin state for bidirectional open drain GPIOs ([#401] [#402]).

### Enhancements

- Make SCK pin optional for `Spi` and `Spim` APIs ([#400] [#406]).
- Update PACs and `nrf-usbd` to the newest version ([#404]).

### Fixes

- Fix pin connection checks in `free` methods ([#397] [#407]).

[#389]: https://github.com/nrf-rs/nrf-hal/pull/389
[#391]: https://github.com/nrf-rs/nrf-hal/pull/391
[#390]: https://github.com/nrf-rs/nrf-hal/pull/390
[#397]: https://github.com/nrf-rs/nrf-hal/pull/397
[#400]: https://github.com/nrf-rs/nrf-hal/pull/400
[#401]: https://github.com/nrf-rs/nrf-hal/pull/401
[#402]: https://github.com/nrf-rs/nrf-hal/pull/402
[#404]: https://github.com/nrf-rs/nrf-hal/pull/404
[#406]: https://github.com/nrf-rs/nrf-hal/pull/406
[#407]: https://github.com/nrf-rs/nrf-hal/pull/407

## [0.15.1]

### New Features
Expand Down Expand Up @@ -339,3 +368,4 @@ None
[0.14.1]: https://github.com/nrf-rs/nrf-hal/releases/tag/v0.14.1
[0.15.0]: https://github.com/nrf-rs/nrf-hal/releases/tag/v0.15.0
[0.15.1]: https://github.com/nrf-rs/nrf-hal/releases/tag/v0.15.1
[0.16.0]: https://github.com/nrf-rs/nrf-hal/releases/tag/v0.16.0
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ When finished releasing, copy or move your `Cargo.my.toml` back.

In order to release a new version of the HALs, the following steps need to be performed:

* **Changelog**: Update [the changelog](./CHANGELOG.md) to list all notable changes under the `Unreleased`
section.
* **Changelog**: Update [the changelog](./CHANGELOG.md) to list all notable changes under the
`Unreleased` section.
* You can use GitHub's "compare" feature to view all commits added since the last release. Go to
<https://github.com/nrf-rs/nrf-hal/releases/>, select the latest release, and click the link
"N commits to master since this release".
Expand Down
2 changes: 1 addition & 1 deletion nrf-hal-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf-hal-common"
version = "0.15.1"
version = "0.16.0"
description = "Implementation details of the nRF HAL crates. Don't use this directly, use one of the specific HAL crates instead (`nrfXYZ-hal`)."
readme = "../README.md"

Expand Down
2 changes: 1 addition & 1 deletion nrf-hal-common/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Implementation details of the nRF HAL crates. Don't use this directly, use one of the specific
//! HAL crates instead (`nrfXYZ-hal`).

#![doc(html_root_url = "https://docs.rs/nrf-hal-common/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf-hal-common/0.16.0")]
#![no_std]

use embedded_hal as hal;
Expand Down
4 changes: 2 additions & 2 deletions nrf51-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf51-hal"
version = "0.15.1"
version = "0.16.0"
edition = "2018"
description = "HAL for nRF51 microcontrollers"
readme = "../README.md"
Expand All @@ -25,7 +25,7 @@ nrf51-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["51"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf51-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf51-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf51-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf52810-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf52810-hal"
version = "0.15.1"
version = "0.16.0"
edition = "2018"
description = "HAL for nRF52810 microcontrollers"
readme = "../README.md"
Expand All @@ -24,7 +24,7 @@ nrf52810-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["52810"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf52810-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf52810-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf52810-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf52811-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf52811-hal"
version = "0.15.1"
version = "0.16.0"
edition = "2018"
description = "HAL for nRF52811 microcontrollers"
readme = "../README.md"
Expand All @@ -24,7 +24,7 @@ nrf52811-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["52811"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf52811-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf52811-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf52811-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf52832-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf52832-hal"
version = "0.15.1"
version = "0.16.0"
description = "HAL for nRF52832 microcontrollers"
readme = "../README.md"

Expand All @@ -22,7 +22,7 @@ nrf52832-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["52832"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf52832-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf52832-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf52832-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf52833-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf52833-hal"
version = "0.15.1"
version = "0.16.0"
description = "HAL for nRF52833 microcontrollers"
readme = "../README.md"

Expand All @@ -25,7 +25,7 @@ nrf52833-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["52833"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf52833-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf52833-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf52833-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf52840-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf52840-hal"
version = "0.15.1"
version = "0.16.0"
description = "HAL for nRF52840 microcontrollers"
readme = "../README.md"

Expand All @@ -24,7 +24,7 @@ nrf52840-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["52840"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf52840-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf52840-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf52840-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf5340-app-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf5340-app-hal"
version = "0.15.1"
version = "0.16.0"
description = "HAL for nRF5340 app SoC"
readme = "../README.md"

Expand All @@ -22,7 +22,7 @@ nrf5340-app-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["5340-app"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf5340-app-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf5340-app-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf5340-app-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf5340-net-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf5340-net-hal"
version = "0.15.1"
version = "0.16.0"
description = "HAL for nRF5340 net SoC"
readme = "../README.md"

Expand All @@ -18,7 +18,7 @@ nrf5340-net-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["5340-net"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf5340-net-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf5340-net-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf5340-net-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down
4 changes: 2 additions & 2 deletions nrf9160-hal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nrf9160-hal"
version = "0.15.1"
version = "0.16.0"
description = "HAL for nRF9160 system-in-package"
readme = "../README.md"

Expand All @@ -21,7 +21,7 @@ nrf9160-pac = "0.12.2"
path = "../nrf-hal-common"
default-features = false
features = ["9160"]
version = "=0.15.1"
version = "=0.16.0"

[dependencies.embedded-hal]
features = ["unproven"]
Expand Down
2 changes: 1 addition & 1 deletion nrf9160-hal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![no_std]
#![doc(html_root_url = "https://docs.rs/nrf9160-hal/0.15.1")]
#![doc(html_root_url = "https://docs.rs/nrf9160-hal/0.16.0")]

use embedded_hal as hal;
pub use nrf_hal_common::*;
Expand Down

0 comments on commit f345ccb

Please sign in to comment.