Skip to content

Commit fa430d2

Browse files
authored
Merge pull request #984 from 9names/hal_version_bumps
Bump hal crate version numbers in preperation for release
2 parents 9ec4537 + 9bcface commit fa430d2

File tree

7 files changed

+8
-15
lines changed

7 files changed

+8
-15
lines changed

rp2040-hal-examples/Cargo.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,10 @@ nb = "1.0"
3232
panic-halt = "0.2.0"
3333
panic-probe = {version = "0.3.1", features = ["print-defmt"]}
3434
pio = "0.3.0"
35-
# We aren't using this, but embedded-hal-bus 0.2 unconditionally requires atomics.
36-
# Should be fixed in e-h-b 0.3 via https://github.com/rust-embedded/embedded-hal/pull/607
35+
# We aren't using portable-atomic directly in the examples, but some of our dependencies (like static_cell) require atomic CAS so this is needed.
3736
portable-atomic = {version = "1.7.0", features = ["critical-section"]}
3837
rp2040-boot2 = "0.3.0"
39-
rp2040-hal = {path = "../rp2040-hal", version = "0.11.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]}
40-
# The examples use features not yet available in rp-binary-info 0.1.0,
41-
# so the minimum version implied by the rp2040-hal 0.11.0 dependency is not sufficient.
42-
rp-binary-info = {path = "../rp-binary-info", version ="0.1.2"}
38+
rp2040-hal = {path = "../rp2040-hal", version = "0.12.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]}
4339
static_cell = "2.1.0"
4440

4541
[target.'cfg( target_arch = "arm" )'.dependencies]

rp2040-hal-examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ binaries][picotool-releases] are available for Windows, Linux, and macOS.
8888
```console
8989
$ cd rp2040-hal-examples
9090
$ cargo run --bin dormant_sleep
91-
Compiling rp2040-hal v0.11.0 (/home/user/rp-hal/rp2040-hal)
91+
Compiling rp2040-hal v0.12.0 (/home/user/rp-hal/rp2040-hal)
9292
Compiling rp2040-hal-examples v0.1.0 (/home/user/rp-hal/rp2040-hal-examples)
9393
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
9494
Running `picotool load --update --verify --execute -t elf target/thumbv6m-none-eabi/debug/dormant_sleep`

rp2040-hal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
99
name = "rp2040-hal"
1010
repository = "https://github.com/rp-rs/rp-hal"
1111
rust-version = "1.82"
12-
version = "0.11.0"
12+
version = "0.12.0"
1313

1414
[package.metadata.docs.rs]
1515
features = ["rt", "rom-v2-intrinsics", "defmt", "rtic-monotonic"]

rp2040-hal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ https://github.com/rp-rs/rp-hal-boards/ for more details.
6464
To include this crate in your project, amend your `Cargo.toml` file to include
6565

6666
```toml
67-
rp2040-hal = "0.11.0"
67+
rp2040-hal = "0.12.0"
6868
```
6969

7070
To obtain a copy of the source code (e.g. if you want to propose a bug-fix or

rp235x-hal-examples/Cargo.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ heapless = "0.8.0"
3232
nb = "1.0"
3333
panic-halt = "0.2.0"
3434
pio = "0.3.0"
35-
rp235x-hal = {path = "../rp235x-hal", version = "0.3.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]}
36-
# The examples use features not yet available in rp-binary-info 0.1.0,
37-
# so the minimum version implied by the rp235x-hal 0.3.0 dependency is not sufficient.
38-
rp-binary-info = {path = "../rp-binary-info", version ="0.1.2"}
35+
rp235x-hal = {path = "../rp235x-hal", version = "0.4.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"]}
3936
usb-device = "0.3.2"
4037
usbd-serial = "0.2.2"
4138
static_cell = "2.1.0"

rp235x-hal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = "MIT OR Apache-2.0"
99
name = "rp235x-hal"
1010
repository = "https://github.com/rp-rs/rp-hal"
1111
rust-version = "1.82"
12-
version = "0.3.0"
12+
version = "0.4.0"
1313

1414
[package.metadata.docs.rs]
1515
features = ["rt", "defmt", "rtic-monotonic"]

rp235x-hal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ rp235x-hal = "*"
7474
Or to include this version specifically:
7575

7676
```toml
77-
rp235x-hal = "0.3.0"
77+
rp235x-hal = "0.4.0"
7878
```
7979

8080
To obtain a copy of the source code (e.g. if you want to propose a bug-fix or

0 commit comments

Comments
 (0)