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/stm32h5 | |
| parent | e8b1ea14c7fb151aa5e296ca8f9724f175bdeaef (diff) | |
| parent | e4fc48764491f8981e4a145a72e9b6e72df8c546 (diff) | |
Merge pull request #4217 from embassy-rs/rand09
Add rand-core v0.9 support.
Diffstat (limited to 'examples/stm32h5')
| -rw-r--r-- | examples/stm32h5/Cargo.toml | 1 | ||||
| -rw-r--r-- | examples/stm32h5/src/bin/eth.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/stm32h5/Cargo.toml b/examples/stm32h5/Cargo.toml index 5631ff746..6fb14f422 100644 --- a/examples/stm32h5/Cargo.toml +++ b/examples/stm32h5/Cargo.toml | |||
| @@ -26,7 +26,6 @@ embedded-io-async = { version = "0.6.1" } | |||
| 26 | embedded-nal-async = "0.8.0" | 26 | embedded-nal-async = "0.8.0" |
| 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/stm32h5/src/bin/eth.rs b/examples/stm32h5/src/bin/eth.rs index 4034b552c..1d85cc1e7 100644 --- a/examples/stm32h5/src/bin/eth.rs +++ b/examples/stm32h5/src/bin/eth.rs | |||
| @@ -15,7 +15,6 @@ use embassy_stm32::time::Hertz; | |||
| 15 | use embassy_stm32::{bind_interrupts, eth, peripherals, rng, Config}; | 15 | use embassy_stm32::{bind_interrupts, eth, peripherals, rng, Config}; |
| 16 | use embassy_time::Timer; | 16 | use embassy_time::Timer; |
| 17 | use embedded_io_async::Write; | 17 | use embedded_io_async::Write; |
| 18 | use rand_core::RngCore; | ||
| 19 | use static_cell::StaticCell; | 18 | use static_cell::StaticCell; |
| 20 | use {defmt_rtt as _, panic_probe as _}; | 19 | use {defmt_rtt as _, panic_probe as _}; |
| 21 | 20 | ||
