diff options
| -rw-r--r-- | embassy-stm32/Cargo.toml | 4 | ||||
| -rw-r--r-- | tests/stm32/src/bin/hash.rs | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 63bc32197..ef6063656 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -68,7 +68,7 @@ rand_core = "0.6.3" | |||
| 68 | sdio-host = "0.5.0" | 68 | sdio-host = "0.5.0" |
| 69 | critical-section = "1.1" | 69 | critical-section = "1.1" |
| 70 | #stm32-metapac = { version = "15" } | 70 | #stm32-metapac = { version = "15" } |
| 71 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-aa5dbf859fae743306f5d816905f166de824241f" } | 71 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-5674011dd7db845c9d70d6a20a16129221026d25" } |
| 72 | vcell = "0.1.3" | 72 | vcell = "0.1.3" |
| 73 | bxcan = "0.7.0" | 73 | bxcan = "0.7.0" |
| 74 | nb = "1.0.0" | 74 | nb = "1.0.0" |
| @@ -89,7 +89,7 @@ critical-section = { version = "1.1", features = ["std"] } | |||
| 89 | proc-macro2 = "1.0.36" | 89 | proc-macro2 = "1.0.36" |
| 90 | quote = "1.0.15" | 90 | quote = "1.0.15" |
| 91 | #stm32-metapac = { version = "15", default-features = false, features = ["metadata"]} | 91 | #stm32-metapac = { version = "15", default-features = false, features = ["metadata"]} |
| 92 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-aa5dbf859fae743306f5d816905f166de824241f", default-features = false, features = ["metadata"]} | 92 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-5674011dd7db845c9d70d6a20a16129221026d25", default-features = false, features = ["metadata"]} |
| 93 | 93 | ||
| 94 | 94 | ||
| 95 | [features] | 95 | [features] |
diff --git a/tests/stm32/src/bin/hash.rs b/tests/stm32/src/bin/hash.rs index 53dd0551f..2867115dc 100644 --- a/tests/stm32/src/bin/hash.rs +++ b/tests/stm32/src/bin/hash.rs | |||
| @@ -11,11 +11,7 @@ use embassy_stm32::{bind_interrupts, hash, peripherals}; | |||
| 11 | use sha2::{Digest, Sha224, Sha256}; | 11 | use sha2::{Digest, Sha224, Sha256}; |
| 12 | use {defmt_rtt as _, panic_probe as _}; | 12 | use {defmt_rtt as _, panic_probe as _}; |
| 13 | 13 | ||
| 14 | #[cfg(any( | 14 | #[cfg(any(feature = "stm32l4a6zg", feature = "stm32h755zi", feature = "stm32h753zi"))] |
| 15 | feature = "stm32l4a6zg", | ||
| 16 | feature = "stm32h755zi", | ||
| 17 | feature = "stm32h753zi" | ||
| 18 | ))] | ||
| 19 | bind_interrupts!(struct Irqs { | 15 | bind_interrupts!(struct Irqs { |
| 20 | HASH_RNG => hash::InterruptHandler<peripherals::HASH>; | 16 | HASH_RNG => hash::InterruptHandler<peripherals::HASH>; |
| 21 | }); | 17 | }); |
| @@ -29,7 +25,7 @@ bind_interrupts!(struct Irqs { | |||
| 29 | ))] | 25 | ))] |
| 30 | bind_interrupts!(struct Irqs { | 26 | bind_interrupts!(struct Irqs { |
| 31 | HASH => hash::InterruptHandler<peripherals::HASH>; | 27 | HASH => hash::InterruptHandler<peripherals::HASH>; |
| 32 | }); | 28 | }); |
| 33 | 29 | ||
| 34 | #[embassy_executor::main] | 30 | #[embassy_executor::main] |
| 35 | async fn main(_spawner: Spawner) { | 31 | async fn main(_spawner: Spawner) { |
