diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/stm32/src/bin/hash.rs | 8 |
1 files changed, 2 insertions, 6 deletions
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) { |
