Skip to content

Commit 5c85a5d

Browse files
committed
Release
1 parent b672816 commit 5c85a5d

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stm32-hal2"
3-
version = "1.8.5"
3+
version = "1.9.0"
44
edition = "2021"
55
authors = ["David O'Connor <the_alchemist@fastmail.com>"]
66
description = "Hardware abstraction layer for the STM32 MCUs"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Tested on the following devices:
5252
- Install flash and debug tools: `cargo install flip-link`, `cargo install probe-rs --features cli`.
5353
- Clone the [quickstart repo](https://github.com/David-OConnor/stm32-hal-quickstart1): `git clone https://github.com/David-OConnor/stm32-hal-quickstart1`.
5454
- Change the following lines to match your MCU. Post an issue if you need help with this:
55-
- `Cargo.toml`: `hal = { package = "stm32-hal2", version = "^1.5.0", features = ["l4x3", "l4rt"]}`
55+
- `Cargo.toml`: `hal = { package = "stm32-hal2", version = "^1.9.0", features = ["l4x3", "l4rt"]}`
5656
- `memory.x`: `FLASH` and `RAM` lines
5757
- `.cargo/config.toml`: `runner` and `target` lines.
5858
- Connect your device. Run `cargo run --release` to compile and flash.
@@ -93,7 +93,7 @@ include a run-time feature, following the template `l4rt`. For example:
9393
```toml
9494
cortex-m = { version = "^0.7.7", features = ["critical-section-single-core"] }
9595
cortex-m-rt = "0.7.2"
96-
hal = { package = "stm32-hal2", version = "^1.5.5", features = ["l4x3", "l4rt"]}
96+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["l4x3", "l4rt"]}
9797
```
9898

9999
If you need `embedded-hal` traits, include the `embedded_hal` feature.

examples/blinky/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ panic-probe = { version = "0.3.0", features = ["print-defmt"] }
1212

1313
cortex-m = { version = "^0.7.7", features = ["critical-section-single-core"] }
1414
cortex-m-rt = "0.7.3"
15-
hal = { package = "stm32-hal2", version = "^1.8.0", features = ["f401", "f4rt"]}
15+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["f401", "f4rt"]}
1616

1717
# cargo build/run
1818
[profile.dev]

examples/blinky/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ f4rt = ["stm32f4/rt"]
9292
Amazing! Let's put that to our own `Cargo.toml`:
9393

9494
```
95-
hal = { package = "stm32-hal2", version = "^0.2.11", features = ["f401", "f4rt"]}
95+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["f401", "f4rt"]}
9696
```
9797

9898
Great! Now, we've told cargo that we want to install stm32-hal2 with these particular features. Just so that we're on the same page here, here's a complete `Cargo.toml` to this point:
@@ -108,7 +108,7 @@ edition = "2018"
108108
[dependencies]
109109
cortex-m = "0.7.3"
110110
cortex-m-rt = "0.7.0"
111-
hal = { package = "stm32-hal2", version = "^0.2.11", features = ["f401", "f4rt"]}
111+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["f401", "f4rt"]}
112112
```
113113

114114
Let's do `cargo build` now, just to make sure that everything is set up correctly. (Mind you, there isn't any meaingful code in `src` directory just yet!)

examples/blinky_timer_interrupt/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ panic-probe = { version = "0.3.0", features = ["print-defmt"] }
1212

1313
cortex-m = { version = "^0.7.7", features = ["critical-section-single-core"] }
1414
cortex-m-rt = "0.7.0"
15-
hal = { package = "stm32-hal2", version = "^1.8.0", features = ["h735", "h7rt"]}
15+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["h735", "h7rt"]}
1616
cortex-m-rtic = "^1.1.3"
1717

1818
# cargo build/run

examples/conductivity_module/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ path = "src/main.rs"
1515
[dependencies]
1616
cortex-m = { version = "^0.7.7", features = ["critical-section-single-core"] }
1717
cortex-m-rt = { version = "0.7.0", optional = true }
18-
hal = { package = "stm32-hal2", version = "^1.8.0", features = ["l4x3", "l4rt"] }
18+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["l4x3", "l4rt"] }
1919
defmt = "0.3.0"
2020
defmt-rtt = "0.4.0"
2121
panic-probe = { version = "0.4.0", features = ["print-defmt"] }

examples/syntax_overview/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cortex-m-rt = "0.7.3"
1515
# and if this program is meant to be run and flashed directly (ie it's not a library),
1616
# the runtime feature for that
1717
# family, eg `l4rt`.
18-
hal = { package = "stm32-hal2", version = "^1.8.0", features = ["l4x3", "l4rt"]}
18+
hal = { package = "stm32-hal2", version = "^1.9.0", features = ["l4x3", "l4rt"]}
1919

2020
# cargo build/run
2121
[profile.dev]

0 commit comments

Comments
 (0)