Skip to content

Commit 4afdbe9

Browse files
author
Henrik Snöman
committed
Reverted pll.rs changes
1 parent 9c0bf58 commit 4afdbe9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ sdmmc2 = [] # Only STM32H563/73 have SDMMC2
4343

4444
rt = ["stm32h5/rt"]
4545
stm32h503 = ["stm32h5/stm32h503", "device-selected", "rm0492"]
46+
stm32h523 = ["stm32h5/stm32h523", "device-selected", "rm0481", "h523_h533"]
4647
stm32h562 = ["stm32h5/stm32h562", "device-selected", "rm0481", "h56x_h573"]
4748
stm32h563 = ["stm32h5/stm32h563", "device-selected", "rm0481", "h56x_h573", "sdmmc2", "ethernet"]
4849
stm32h573 = ["stm32h5/stm32h573", "device-selected", "rm0481", "h56x_h573", "otfdec", "sdmmc2", "ethernet"]
@@ -55,7 +56,8 @@ log-semihost = ["log"]
5556

5657
[dependencies]
5758
cortex-m = { version = "^0.7.7", features = ["critical-section-single-core"] }
58-
stm32h5 = { package = "stm32h5-staging", version = "0.17.0" }
59+
stm32h5 = { git = "https://github.com/stm32-rs/stm32-rs-nightlies" }
60+
#stm32h5 = { package = "stm32h5-staging", version = "0.17.0" }
5961
fugit = "0.3.7"
6062
embedded-hal = "1.0.0"
6163
defmt = { version = "0.3.8", optional = true }

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
compile_error!(
77
"This crate requires one of the following device features enabled:
88
stm32h503
9+
stm32h523
910
stm32h562
1011
stm32h563
1112
stm32h573
@@ -18,6 +19,9 @@ compile_error!("Cannot not select both rm0492 and rm0481");
1819
#[cfg(feature = "stm32h503")]
1920
pub use stm32h5::stm32h503 as stm32;
2021

22+
#[cfg(feature = "stm32h523")]
23+
pub use stm32h5::stm32h523 as stm32;
24+
2125
#[cfg(feature = "stm32h562")]
2226
pub use stm32h5::stm32h562 as stm32;
2327

0 commit comments

Comments
 (0)