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 /tests/stm32 | |
| parent | e8b1ea14c7fb151aa5e296ca8f9724f175bdeaef (diff) | |
| parent | e4fc48764491f8981e4a145a72e9b6e72df8c546 (diff) | |
Merge pull request #4217 from embassy-rs/rand09
Add rand-core v0.9 support.
Diffstat (limited to 'tests/stm32')
| -rw-r--r-- | tests/stm32/Cargo.toml | 4 | ||||
| -rw-r--r-- | tests/stm32/src/bin/eth.rs | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml index 3a347e279..b230e619e 100644 --- a/tests/stm32/Cargo.toml +++ b/tests/stm32/Cargo.toml | |||
| @@ -81,8 +81,8 @@ embedded-hal-async = { version = "1.0" } | |||
| 81 | embedded-can = { version = "0.4" } | 81 | embedded-can = { version = "0.4" } |
| 82 | micromath = "2.0.0" | 82 | micromath = "2.0.0" |
| 83 | panic-probe = { version = "0.3.0", features = ["print-defmt"] } | 83 | panic-probe = { version = "0.3.0", features = ["print-defmt"] } |
| 84 | rand_core = { version = "0.6", default-features = false } | 84 | rand_core = { version = "0.9.1", default-features = false } |
| 85 | rand_chacha = { version = "0.3", default-features = false } | 85 | rand_chacha = { version = "0.9.0", default-features = false } |
| 86 | static_cell = "2" | 86 | static_cell = "2" |
| 87 | portable-atomic = { version = "1.5", features = [] } | 87 | portable-atomic = { version = "1.5", features = [] } |
| 88 | 88 | ||
diff --git a/tests/stm32/src/bin/eth.rs b/tests/stm32/src/bin/eth.rs index a7e76fd8e..bcb362b42 100644 --- a/tests/stm32/src/bin/eth.rs +++ b/tests/stm32/src/bin/eth.rs | |||
| @@ -11,7 +11,6 @@ use embassy_stm32::eth::{Ethernet, GenericPhy, PacketQueue}; | |||
| 11 | use embassy_stm32::peripherals::ETH; | 11 | use embassy_stm32::peripherals::ETH; |
| 12 | use embassy_stm32::rng::Rng; | 12 | use embassy_stm32::rng::Rng; |
| 13 | use embassy_stm32::{bind_interrupts, eth, peripherals, rng}; | 13 | use embassy_stm32::{bind_interrupts, eth, peripherals, rng}; |
| 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 | ||
