Skip to content

Commit 9ad2368

Browse files
authored
Merge pull request #36 from rursprung/update-to-eh-1.0
update to `embedded-hal` v1.0 (no more RC!)
2 parents 87066ce + 7855eae commit 9ad2368

File tree

4 files changed

+30
-13
lines changed

4 files changed

+30
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Changed
1010
* `Motor::new()` and `Driver::new()` methods now set the outputs upon their
1111
initialisation to the documented defaults.
12-
* Update to `embedded-hal=1.0.0-rc.2`
12+
* Breaking: update to `embedded-hal` 1.0
1313

1414
## [0.2.0] - 2023-11-28
1515
### Changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ keywords = ["tb6612fng", "driver", "motor", "controller", "embedded-hal-driver"]
1111
license = "MIT OR Apache-2.0"
1212

1313
[dependencies]
14-
embedded-hal = "=1.0.0-rc.2"
14+
embedded-hal = "1.0"
1515

1616
defmt = { version = "0.3", optional = true }
1717

1818
[dev-dependencies]
19-
embedded-hal-mock = { version = "=0.10.0-rc.3", features = ["eh1"] }
19+
embedded-hal-mock = "0.10"

examples/stm32f4-single-motor-example/Cargo.lock

Lines changed: 26 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/stm32f4-single-motor-example/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cortex-m = { version = "0.7", features = ["critical-section-single-core"]}
99
cortex-m-rtic = "1.1.4"
1010
panic-probe = { version = "0.3", features = ["print-defmt"] }
1111

12-
stm32f4xx-hal = { version = "0.19.0", features = ["stm32f401", "rtic", "rtic-monotonic"] }
12+
stm32f4xx-hal = { version = "0.20.0", features = ["stm32f401", "rtic1"] }
1313

1414
defmt = "0.3.5"
1515
defmt-rtt = "0.4"

0 commit comments

Comments
 (0)