diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-05-18 20:51:57 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-18 20:51:57 +0200 |
| commit | 51d0252194cd69f73bade2aaeef3163f3cc7453f (patch) | |
| tree | cac023f3457123f2fbc7686f2f90414987eae264 /examples/stm32h7rs | |
| parent | e8b1ea14c7fb151aa5e296ca8f9724f175bdeaef (diff) | |
| parent | e4fc48764491f8981e4a145a72e9b6e72df8c546 (diff) | |
Merge pull request #4217 from embassy-rs/rand09
Add rand-core v0.9 support.
Diffstat (limited to 'examples/stm32h7rs')
| -rw-r--r-- | examples/stm32h7rs/Cargo.toml | 1 | ||||
| -rw-r--r-- | examples/stm32h7rs/src/bin/eth.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/stm32h7rs/Cargo.toml b/examples/stm32h7rs/Cargo.toml index 22d59be04..aee2703a1 100644 --- a/examples/stm32h7rs/Cargo.toml +++ b/examples/stm32h7rs/Cargo.toml | |||
| @@ -26,7 +26,6 @@ embedded-nal-async = "0.8.0" | |||
| 26 | embedded-io-async = { version = "0.6.1" } | 26 | embedded-io-async = { version = "0.6.1" } |
| 27 | panic-probe = { version = "0.3", features = ["print-defmt"] } | 27 | panic-probe = { version = "0.3", features = ["print-defmt"] } |
| 28 | heapless = { version = "0.8", default-features = false } | 28 | heapless = { version = "0.8", default-features = false } |
| 29 | rand_core = "0.6.3" | ||
| 30 | critical-section = "1.1" | 29 | critical-section = "1.1" |
| 31 | micromath = "2.0.0" | 30 | micromath = "2.0.0" |
| 32 | stm32-fmc = "0.3.0" | 31 | stm32-fmc = "0.3.0" |
diff --git a/examples/stm32h7rs/src/bin/eth.rs b/examples/stm32h7rs/src/bin/eth.rs index f2bd9575e..6d246bb09 100644 --- a/examples/stm32h7rs/src/bin/eth.rs +++ b/examples/stm32h7rs/src/bin/eth.rs | |||
| @@ -11,7 +11,6 @@ use embassy_stm32::rng::Rng; | |||
| 11 | use embassy_stm32::{bind_interrupts, eth, peripherals, rng, Config}; | 11 | use embassy_stm32::{bind_interrupts, eth, peripherals, rng, Config}; |
| 12 | use embassy_time::Timer; | 12 | use embassy_time::Timer; |
| 13 | use heapless::Vec; | 13 | use heapless::Vec; |
| 14 | use rand_core::RngCore; | ||
| 15 | use static_cell::StaticCell; | 14 | use static_cell::StaticCell; |
| 16 | use {defmt_rtt as _, panic_probe as _}; | 15 | use {defmt_rtt as _, panic_probe as _}; |
| 17 | 16 | ||
